Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window. Reasoning Details must be preserved when using multi-turn tool calling, see our docs here: https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoningOpens in new tab. The 3.1 update introduces measurable gains in SWE benchmarks and real-world coding environments, along with stronger autonomous task execution in structured domains such as finance and spreadsheet-based workflows.
Designed for advanced development and agentic systems, Gemini 3.1 Pro Preview improves long-horizon stability and tool orchestration while increasing token efficiency. It introduces a new medium thinking level to better balance cost, speed, and performance. The model excels in agentic coding, structured planning, multimodal analysis, and workflow automation, making it well-suited for autonomous agents, financial modeling, spreadsheet automation, and high-context enterprise tasks.
Providers
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).
| $2.00 | $12.00 | $0.20 | $0.20 | 2.68s | 86 tok/s | ||
| $2.00 | $12.00 | $0.20 | $0.20 | 3.48s | 86 tok/s | ||
Not used in Standard routing:Why these endpoints are not used | |||||||
Flex | $1.00 | $6.00 | $0.10 | $0.10 | 87.49s | 15 tok/s | |
Flex | $1.00 | $6.00 | $0.10 | $0.10 | 3.41s | 63 tok/s | |
Priority | $3.60 | $21.60 | $0.36 | $0.36 | -- | -- | |
Priority | $3.60 | $21.60 | $0.36 | $0.36 | -- | -- | |
- Input $2.00 / Output $12.0086 tok/s100.00% uptime
- Input $2.00 / Output $12.0086 tok/s99.94% uptime
- Not used in Standard routing:Why these endpoints are not used
- Input $1.00 / Output $6.0015 tok/s1.36% uptimeFlex
- Input $1.00 / Output $6.0063 tok/s99.78% uptimeFlex
- Input $3.60 / Output $21.60-- tok/s100.00% uptimePriority
- Input $3.60 / Output $21.60-- tok/s100.00% uptimePriority
Pricing
The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.
Weighted average
Gemini 3.1 Pro Preview — Price history
| $1.572 | $12.00 | 24.5% | 12.8% | ||
| $1.621 | $12.00 | 22.6% | 85.8% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
Flex | $0.849 | $6.00 | 17.4% | 1.3% | |
Flex | $0.929 | $6.00 | 10.0% | 0.0% | |
Priority | $1.775 | $21.60 | 56.3% | 0.1% | |
Priority | $3.598 | $21.60 | 0.0% | 0.0% | |
- Effective in $1.572 / Effective out $12.00Token share12.8%
- Effective in $1.621 / Effective out $12.00Token share85.8%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.849 / Effective out $6.00FlexToken share1.3%
- Effective in $0.929 / Effective out $6.00FlexToken share0.0%
- Effective in $1.775 / Effective out $21.60PriorityToken share0.1%
- Effective in $3.598 / Effective out $21.60PriorityToken share0.0%
Performance
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).
P50, best across providers
P50, best provider
Uptime
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Availability over the last 3 days
Last 72 hoursAvailability over the last 24 hours
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.
Benchmarks
Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | Gemini 3 Pro Preview (Low) GPQA Diamond | 88.7% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) HLE | 29.5% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) IFBench | 49.7% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) τ²-Bench Telecom | 68.1% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) AA-LCR | 74.0% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) CritPt | 0.0% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) LiveCodeBench | 85.7% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) Terminal-Bench Hard | 34.1% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) MMLU-Pro | 89.5% |
| Artificial Analysis | Gemini 3 Pro Preview (Low) AIME 2025 | 86.7% |
| Artificial Analysis | Gemini 3 Pro Preview (High) GPQA Diamond | 90.8% |
| Artificial Analysis | Gemini 3 Pro Preview (High) HLE | 39.7% |
| Artificial Analysis | Gemini 3 Pro Preview (High) IFBench | 70.4% |
| Artificial Analysis | Gemini 3 Pro Preview (High) τ²-Bench Telecom | 87.1% |
| Artificial Analysis | Gemini 3 Pro Preview (High) AA-LCR | 76.0% |
| Artificial Analysis | Gemini 3 Pro Preview (High) CritPt | 9.1% |
| Artificial Analysis | Gemini 3 Pro Preview (High) LiveCodeBench | 91.7% |
| Artificial Analysis | Gemini 3 Pro Preview (High) Terminal-Bench Hard | 41.7% |
| Artificial Analysis | Gemini 3 Pro Preview (High) MMLU-Pro | 89.8% |
| Artificial Analysis | Gemini 3 Pro Preview (High) AIME 2025 | 95.7% |
| Artificial Analysis | Gemini 3.1 Pro Preview Coding Index | 68.8 |
| Artificial Analysis | Gemini 3.1 Pro Preview Agentic Index | 8.2 |
| Artificial Analysis | Gemini 3.1 Pro Preview GPQA Diamond | 94.1% |
| Artificial Analysis | Gemini 3.1 Pro Preview HLE | 47.0% |
| Artificial Analysis | Gemini 3.1 Pro Preview IFBench | 77.1% |
| Artificial Analysis | Gemini 3.1 Pro Preview τ²-Bench Telecom | 95.6% |
| Artificial Analysis | Gemini 3.1 Pro Preview AA-LCR | 82.0% |
| Artificial Analysis | Gemini 3.1 Pro Preview τ-Bench Banking | 21.4% |
| Artificial Analysis | Gemini 3.1 Pro Preview GDPval-AA | 14.9% |
| Artificial Analysis | Gemini 3.1 Pro Preview CritPt | 17.7% |
| Artificial Analysis | Gemini 3.1 Pro Preview SciCode | 58.7% |
| Artificial Analysis | Gemini 3.1 Pro Preview Terminal-Bench Hard | 53.8% |
| Artificial Analysis | Gemini 3.1 Pro Preview Terminal-Bench 4.0 | 4.0% |
| Artificial Analysis | Gemini 3.1 Pro Preview Terminal-Bench 2.1 | 73.8% |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Agenticgamedev Elo | 1057 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Agentichtmlslides Elo | 1226 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Agenticslides Elo | 1112 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Agenticslides(Html) Elo | 1219 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Agenticslides(Python-Pptx) Elo | 1107 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Androidnative Elo | 1035 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Blender3d Elo | 1037 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Codetovideo Elo | 1113 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Full Stack Elo | 1040 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Godotgamedev Elo | 1142 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Htmlslides Elo | 1048 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Mobile Apps Elo | 1086 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Pdf Elo | 1103 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Pptxslides Elo | 1110 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Python-Pptxslides Elo | 1109 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Python-Pptxslides Elo | 1035 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Spreadsheet Elo | 944 |
| Design Arena | Gemini 3.1 Pro Preview Agents Arena Webapps Elo | 1103 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena 3D Elo | 1214 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena Asciiart Elo | 1265 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena Code Categories Elo | 1220 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena Data Visualization Elo | 1206 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena Game Development Elo | 1191 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena SVG Elo | 1275 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena UI Component Elo | 1215 |
| Design Arena | Gemini 3.1 Pro Preview Models Arena Website Elo | 1226 |
| Vals AI | Gemini 3.1 Pro Preview (02/26) AIME | 98.1% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) BioMysteryBench | 60.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) CaseLaw v2 | 64.8% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Code Migration | 17.3% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) CorpFin v2 | 64.5% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) EMB | 52.6% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Finance Agent (v2) | 43.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Financial Coaching Bench | 66.7% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) GPQA Diamond | 95.5% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Harvey's Legal Agent Benchmark v1 | 0.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) IOI | 51.8% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) LiveCodeBench | 88.5% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) LegalBench | 87.4% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Legal Research Bench | 20.7% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MedCode | 59.1% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MedQA | 96.4% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MedScribe | 76.1% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MMLU Pro | 91.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MMMU Pro | 88.2% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MortgageTax | 69.4% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) MysteryMechanism | 20.7% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) ProgramBench | 0.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) ProofBench v1.1 | 26.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Public Benefits Bench v1.1 | 53.8% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) SAGE | 83.2% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Vals Science Index | 27.4% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) SRE Bench | 0.0% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) SWE-bench | 78.8% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Tax Agent Bench | 9.3% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) TaxEval v2 | 72.9% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Terminal-Bench 4.0 | 2.5% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Terminal-Bench-Science | 1.4% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Vals Index | 33.4% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Vals Multimodal Index | 56.1% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Vibe Code Bench 1-100 | 6.7% |
| Vals AI | Gemini 3.1 Pro Preview (02/26) Vibe Code Bench v1.1 | 32.0% |
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Activity
Token volume and request traffic to this model over time.
API
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
Not currently available through EU in-region routing. In-region routing docs
Frequently asked questions
Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation of the Gemini 3 series, it combines high-precision reasoning across text, image, video, audio, and code with a 1M-token context window.
Gemini 3.1 Pro Preview costs $2.00/M input tokens and $12.00/M output tokens, with separate rates for Cache Read at $0.20/M tokens, Cache Write at $0.375/M tokens, Image Input at $2.00/M tokens, Input Audio at $2.00/M tokens, Input Audio Cache at $0.20/M tokens, and Web Search at $14.00/1K calls.
Gemini 3.1 Pro Preview has a 1,048,576 token context window. It supports up to 65,536 completion tokens.
Yes. Gemini 3.1 Pro Preview accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
Gemini 3.1 Pro Preview accepts audio, files such as PDFs, images, text, and video as input and returns text.
Gemini 3.1 Pro Preview is served by 2 providers on OpenRouter: Google Vertex and Google AI Studio. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.
Gemini 3.1 Pro Preview was released on February 19, 2026.