Gemini 3.1 Pro pricing
Flagship LLM from Google —$2.00 input and$12.00 output per 1M tokens.
PreviewFlagshipPreview — pricing may changeLong-context tier
- Input /1M
- $2.00
- Output /1M
- $12.00
- Cached /1M
- $0.20
- Blended
- $7.00
- Context
- 1M
API model id: gemini-3.1-pro-preview
Full price matrix
| Rate | Input /1M | Output /1M | Notes |
|---|---|---|---|
| Standard | $2.00 | $12.00 | |
| Cached input (read) | $0.20 | — | Prompt-cache hit |
| Batch API | $1.00 | $6.00 | Derived: 50% off (async) |
| Long context (> 200,000 tokens) | $4.00 | $18.00 | Input ×2, output ×1.5 |
List prices, USD, directional. Rates are provider list prices per 1M tokens and are meant for comparison, not billing. Batch rates shown as 50% off are derived where a provider offers batch but does not publish a separate figure. Preview, promo, intro, peak/off-peak, long-context, and third-party-host prices are labeled where they apply. Token counts vary by tokenizer, so per-token price is not always a like-for-like cost. Always confirm with the provider before relying on a number. Prices as of 2026-08-03.
Source: https://ai.google.dev/gemini-api/docs/pricing
Pricing notes
- Long-context pricing: above 200,000 tokens, input is billed at ×2 ($4.00) and output at ×1.5 ($18.00). See long-context pricing.
- Cache storage billed separately at +$4.50/hr.