Gemini 3.1 Pro (preview) API pricing

Google's most capable Gemini line — still in preview; no GA 3.x Pro exists yet.

VisionTool callingReasoningPrompt cachingWeb searchPDF input

Input

$2.00

per 1M tokens

Cached input

$0.20

per 1M tokens

Output

$12.00

per 1M tokens

Context window

1M

max output 64K

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.

Pricing notes

  • Long-context surcharge: above 200K prompt tokens the whole request bills $4.00 input / $18.00 output per 1M.
  • Cache storage is $4.50 per 1M tokens per hour — the Pro-class carrying cost. No free tier on this model.

What would Gemini 3.1 Pro (preview) cost you?

Enter your workload — add other models to compare the same traffic across providers.

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

Gemini 3.1 Pro (preview)
ModelInputCached inputOutputPer requestMonthly
Gemini 3.1 Pro (preview)$1,200$80.00$3,000$0.00856$4,280
Rates used: Gemini 3.1 Pro (preview) $2.00 in / $12.00 out

Compare Gemini 3.1 Pro (preview)

More from Google (Gemini API)

Tracking Gemini 3.1 Pro (preview) in production?

Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.