Google: Gemini 3.1 Pro Preview API Pricing & Monthly Cost Calculator
Google: Gemini 3.1 Pro Preview by Google is priced at $2.00 per 1M input tokens and $12.00 per 1M output tokens with a 1.05M context window. Prompt caching reduces repeated prefix reads to $0.2/1M (90% savings). Batch API lowers rates to $1.00 in / $6.00 out.
Direct Official vs. OpenRouter Gateway
Comparing direct vendor pricing against multi-provider OpenRouter routing for google/gemini-3.1-pro-preview.
| Channel | Input / 1M | Output / 1M | Cache Read |
|---|---|---|---|
| Direct Official | $2.00 | $12.00 | $0.2 |
| OpenRouter Gateway | $2.00 | $12.00 | $0.2 |
1M to 1B Token Cost Tiers
Reference monthly spend assuming a standard 75% input / 25% output workload mix.
| Monthly Volume | Standard | 75% Cached | Batch API |
|---|---|---|---|
| 1M tokens | $4.50 | $3.49 | $2.25 |
| 10M tokens | $45.00 | $34.88 | $22.50 |
| 100M tokens | $450.00 | $348.75 | $225.00 |
| 1B tokens | $4,500 | $3,488 | $2,250 |
Cache-write break-even: 1 repeated prefix hits cover any cache creation surcharge.
Interactive Google: Gemini 3.1 Pro Preview Bill Estimator
Adjust request volume, tokens, and prompt cache hit ratio.
Closest Price-Tier Alternatives
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| OpenAI: GPT-5.6 Terra | $2.00 | $12.00 | 1.05M |
| Google: Gemini 3.1 Pro Preview Custom Tools | $2.00 | $12.00 | 1.05M |
| OpenAI: GPT-5.6 Terra Pro | $2.00 | $12.00 | 1.05M |
| OpenAI: GPT-4o | $2.50 | $10.00 | 128K |
| OpenAI: GPT-4o (2024-11-20) | $2.50 | $10.00 | 128K |
| OpenAI: GPT-4o (2024-08-06) | $2.50 | $10.00 | 128K |
Optimize Inference & Self-Hosting
Compare Google: Gemini 3.1 Pro Preview against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.
Model Specifications & FAQs
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...
How much does Google: Gemini 3.1 Pro Preview API cost per 1M tokens?
Google: Gemini 3.1 Pro Preview costs $2.00 per 1M input tokens and $12.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.
Does Google: Gemini 3.1 Pro Preview support prompt caching or batch discounts?
Yes, cached input reads cost $0.2 per 1M tokens (90% off standard input). Batch API reduces rates to $1.00 input and $6.00 output per 1M tokens.
What is the context window and max output for Google: Gemini 3.1 Pro Preview?
Google: Gemini 3.1 Pro Preview supports a 1,048,576-token context window and up to 65,536 output tokens per completion.