gemini-3.1-pro-preview API pricing variable pricing
gemini-3.1-pro-preview by Google costs $2.00 per 1M input tokens and $12.00 per 1M output tokens (1M in + 1M out = $14.00).
- API model id
gemini-3.1-pro-preview- Input / 1M
- $2.00
- Output / 1M
- $12.00
- Cached input / 1M
- $0.20
- Context window
- —
- Notes
- Prompts <=200K tokens; $4/$18 above.
- Source
- https://ai.google.dev/gemini-api/docs/pricing
- Provider type
- First-party (HQ: US)
- Regions
- unknown
- EU data residency
- unknown — Gemini Developer API pricing page does not state processing regions. See Google Vertex AI for regional endpoints.
- Last verified
- 2026-10-15
Variable pricing
The effective price of this model depends on the request. Figures above are the base (short-context / peak) tier.
- Depends on context length: Prompts >200K tokens: $4 input / $0.40 cached / $18 output per 1M.
Cost estimate
| Provider | Model | Cost |
|---|---|---|
| gemini-3.1-pro-preview | $5.00 |
Uses standard list prices (no caching, batch or off-peak discounts). € and CHF rows are priced in that currency by the provider and not converted, so compare them with care.
Other Google models
- gemini-4-argon: $4.00 / $20.00
- gemini-3.8-flash: $1.50 / $7.50
- gemini-3.6-flash: $1.50 / $7.50
- gemini-3.5-flash-lite: $0.30 / $2.50
- gemini-3.1-flash-lite: $0.25 / $1.50
- gemini-2.5-pro: $1.25 / $10.00
- gemini-2.5-flash: $0.30 / $2.50
- gemini-2.5-flash-lite: $0.10 / $0.40