LLM Reference
OpenRouter

Gemini 3.1 Pro Preview on OpenRouter

Gemini 3.1 · Google DeepMind

Serverless

Last refreshed 2026-06-19. Next refresh: weekly.

Why use Gemini 3.1 Pro Preview on OpenRouter?

OpenRouter offers Gemini 3.1 Pro Preview with pay-as-you-go pricing at $2.00/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Compare Gemini 3.1 Pro Preview across 5 providers to find the best fit for your use case
Input / 1M
$2.00
Output / 1M
$12.00
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: google/gemini-3.1-pro-preview
Model ID
google/gemini-3.1-pro-preview

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID google/gemini-3.1-pro-preview.

Gotchas

  • Use provider model ID "google/gemini-3.1-pro-preview", not the LLMReference slug "gemini-3.1-pro-preview".

Compare Gemini 3.1 Pro Preview Across Providers

ProviderInput (per 1M)Output (per 1M)
Google AI Studio$2.00$12.00
GCP Vertex AI$2.00$12.00
OpenRouter$2.00$12.00
Replicate API$2.00$12.00
Vercel AI Gateway$2.00$12.00

Pricing

TypePrice (per 1M)
Input tokens$2.00
Output tokens$12.00

Capabilities

VisionMultimodalJSON / Tool useStructured OutputsCode Execution

About Gemini 3.1 Pro Preview

Google: Gemini 3.1 Pro Preview available via OpenRouter. Pricing: $2/1M input, $12/1M output.

Get Started