gemini-3.1-pro · Google
Google's flagship with tiered long-context pricing: $2/$12 up to 200K prompt tokens, doubling above.
Last checked Aug 16, 2026. Calculations use the listed base rates; provider-specific tiers, cache writes, batch pricing, and long-context rules may differ. Note: Prompts >200K bill $4/$18 (all tokens). Cache storage $4.50/hr. Context per model docs; pricing page lists rates only. Confirm the current rate at the official provider source.
Input
$2.00
per 1M tokens
Output
$12.00
per 1M tokens
Cached input
$0.20
per 1M tokens
Context window
1M
max output 65.5K
Gemini 3.1 Pro cost calculator
What Gemini 3.1 Pro costs per task
| Use case | Input tokens | Output tokens | Cost / request | Monthly @ 1K req/day |
|---|---|---|---|---|
| Customer support chatbot | 3,500 | 350 | $0.00679 | $203.70 |
| RAG / search-augmented answers | 8,000 | 500 | $0.0148 | $444.00 |
| AI coding assistant | 12,000 | 2,000 | $0.035 | $1,051.20 |
| Document summarization | 25,000 | 600 | $0.0527 | $1,581.00 |
| Agentic workflow | 40,000 | 1,500 | $0.0512 | $1,536.00 |
| Content generation | 800 | 1,200 | $0.0156 | $467.04 |
| Data extraction & tagging | 2,000 | 250 | $0.00628 | $188.40 |
| Translation | 5,000 | 5,500 | $0.0747 | $2,239.50 |
Assumes each use case's typical cacheable share of input. See full cost scenarios.
Compare with alternatives
| Model | Input /M | Output /M | Context | Chat request* |
|---|---|---|---|---|
| Gemini 3.1 Pro | $2.00 | $12.00 | 1M | $0.014 |
| GPT-5.6 Solcompare | $5.00 | $30.00 | 1.1M | $0.035 |
| Claude Fable 5 | $10.00 | $50.00 | 1M | $0.062 |
| Claude Sonnet 5compare | $2.00 | $10.00 | 1M | $0.0124 |
*4,000 in + 800 out tokens, 50% cached input where available.
Related calculations
FAQ
Gemini 3.1 Pro costs $2.00 per 1M input tokens and $12.00 per 1M output tokens, with cached input at $0.20 per 1M tokens. Verified Aug 16, 2026 against https://ai.google.dev/gemini-api/docs/pricing.
Gemini 3.1 Pro supports a 1,048,576-token context window with up to 65,536 output tokens per request, tokenized with Gemini SentencePiece (~262K vocab).
At $2.00/M input and $12.00/M output, Gemini 3.1 Pro sits below GPT-5.6 Sol ($5.00/M in, $30.00/M out) — see the comparison table for full-workload differences.