GPT-5.6 vs Gemini 3.1 Pro (preview): API pricing

OpenAI's GPT-5.6 against Google (Gemini API)'s Gemini 3.1 Pro (preview) on price alone — per-token rates, caching, and context window. Run your own workload through both with the calculator below; capability differences are yours to judge on your evals.

GPT-5.6Gemini 3.1 Pro (preview)
Input / 1M tokens$5.00$2.00
Cached input / 1M$0.50$0.20
Output / 1M tokens$30.00$12.00
Context window1M1M
Max output125K64K
VendorOpenAIGoogle (Gemini API)

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Spot an error? Tell us.

Price takeaways

  • Input: Gemini 3.1 Pro (preview) is 2.5x cheaper.
  • Output: Gemini 3.1 Pro (preview) is 2.5x cheaper.
  • Cached input: Gemini 3.1 Pro (preview) is 2.5x cheaper.
  • Ratios shift with workload shape — output-heavy traffic weights the output rate, cache-friendly traffic weights the cached rate. The calculator below does the arithmetic on your numbers.

Your workload on both

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.

GPT-5.6Gemini 3.1 Pro (preview)
ModelInputCached inputOutputPer requestMonthly
Gemini 3.1 Pro (preview)cheapest$1,200$80.00$3,000$0.00856$4,280
GPT-5.6$3,000$200$7,500$0.021$10,700
Rates used: GPT-5.6 $5.00 in / $30.00 out · Gemini 3.1 Pro (preview) $2.00 in / $12.00 out

Related comparisons

Switching models? Watch the bill move in real time.

Marginal prices every call against that day's rates, so an A/B between these two shows up as dollars per customer and feature — not a surprise at month end.