Gemini 3.1 Pro (Preview) pricing
Google · API id gemini-3.1-pro-preview · verified 2026-11-17
| Input | $2.00 |
| Cached input (cache hit) | $0.20 |
| Cache write | — |
| Output | $12.00 |
| Batch discount | 50% |
| Context window | 1,048,576 tokens |
| Max output | 65,536 tokens |
| Above 200K prompt tokens | $4.00 in / $18.00 out |
USD per 1M tokens unless noted. Official source
Estimate your workload on Gemini 3.1 Pro (Preview) →
What Gemini 3.1 Pro (Preview) costs for real workloads
| Workload | Gemini 3.1 Pro (Preview) | Mistral Large 3 | Mistral Large 4 | DeepSeek V4 Pro | Grok 4.7 |
|---|---|---|---|---|---|
| 10,000 chatbot replies 2,000 input + 400 output tokens each, 50% of the prompt cached | $70.00 | $11.50 | $16.10 | $29.48 | $49.00 |
| One 30-step coding agent run 12K system + tools prompt, 1K output and 3K tool result per step, caching on | $1.03 | $0.21 | $0.30 | $0.38 | $1.45 |
| 1M documents classified (batch) 600 input + 20 output tokens each, batch API where available | $720 | $165 | $231 | $871 | $1,056 |
Compared with the cheapest other flagship models. Change the numbers in the calculator.
Billing notes
Preview. Tiered above 200K-token prompts. Cache storage $4.50/1M tok/hr. released = model page "Latest update" month. Output price includes thinking tokens. Explicit context caching also bills storage per 1M tokens/hour; Google has no separate cache-write price.
Where Gemini 3.1 Pro (Preview) ranks by use case
Position by cost among all models that fit each workload (1 = cheapest).
- Cheapest LLM for coding agents: #28 of 45 (Per run (cached): $1.03)
- Cheapest LLM for RAG chatbots: #33 of 45 (Per 1,000 answers: $14.10)
- Cheapest LLM for batch classification and extraction: #29 of 45 (Classify 1M docs: $720)
- Long-context document analysis (400K tokens): #23 of 37 (10 questions, cached: $3.41)
- Cheapest LLM for high-volume customer support: #33 of 45 (Per 1,000 replies: $5.90)
Counting tokens for a prompt? The Gemini token counter estimates Gemini 3.1 Pro (Preview) tokens (Gemini tokenizer, estimated) and shows the input and output cost.
Head-to-head comparisons
Other Google models
- Gemini 4 Carbon: $2.00 / $10.00
- Gemini 4 Argon: $2.00 / $10.00
- Gemini 4 Hydrogen: $1.50 / $7.50
- Gemini 3.8 Flash: $0.75 / $3.75
- Gemini 3.6 Flash: $0.75 / $3.75
- Gemini 3.5 Flash-Lite: $0.30 / $2.50
- Gemini 2.5 Flash: $0.30 / $2.50
- Gemini 3.1 Flash-Lite: $0.25 / $1.50
All 45 models side by side: LLM API pricing comparison.
FAQ
How much does Gemini 3.1 Pro (Preview) cost per 1M tokens?
Gemini 3.1 Pro (Preview) costs $2.00 per 1M input tokens and $12.00 per 1M output tokens at standard rates (verified 2026-11-17).
Does Gemini 3.1 Pro (Preview) support prompt caching?
Yes. Cached input is billed at $0.20 per 1M tokens.
Is there a batch discount for Gemini 3.1 Pro (Preview)?
Yes. The batch API is 50% cheaper than standard requests.
What is the context window of Gemini 3.1 Pro (Preview)?
1,048,576 tokens, with up to 65,536 output tokens. Prompts over 200,000 tokens are billed at $4.00 input and $18.00 output for the whole request.