Free cloud & LLM pricing tools — AWS EC2 + LLM API Pricing Explorer

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

Price matrix for Gemini 3.1 Pro, USD per 1M tokens
RateInput /1MOutput /1MNotes
Standard$2.00$12.00
Cached input (read)$0.20Prompt-cache hit
Batch API$1.00$6.00Derived: 50% off (async)
Long context (> 200,000 tokens)$4.00$18.00Input ×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

Compare Gemini 3.1 Pro head-to-head

Similar flagship models

More from Google

All Google models → · Back to the LLM pricing hub →