Gemini 3.1 Pro API Pricing & Cost Calculator

Gemini 3.1 Pro is Google's flagship reasoning engine, offering an unmatched 2-million token context window.

Input tokens
100,000
50% cached
Output tokens
5,000
per request
Volume
100 / monthly
Standard API

Calculator

Cost Comparison

Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.

Gemini 3.5 Flash
$5.25
Claude Haiku 4.5
$8.00
Gemini 3.1 Pro (<=200k)
$17.00
GPT-5.4
$21.25
Claude Sonnet 4.6
$24.00
Claude Opus 4.7
$40.00
GPT-5.5
$42.50

How this is calculated

Gemini 3.1 Pro (<=200k) is priced at $2.00 per million input tokens and $12.00 per million output tokens, supporting a 90% caching discount ($0.20 per million) and a 50% batch discount ($1.00 per million inputs, $6.00 per million outputs).

Verdict

Gemini 3.1 Pro provides top-tier intelligence at highly competitive prices. Its 2-million token context window is incredibly powerful when paired with 90% prompt caching.

More API Standalones scenarios

Frequently asked questions

Does Gemini 3.1 Pro support prompt caching?
Yes, Google offers a 90% discount on cached input tokens, reducing the input price to $0.20 per million for matches.