Gemini 3.8 Flash vs Gemini 3.1 Pro

Gemini 3.8 Flash is cheaper: 3x less on input and 3x less on output.

Side by Side

Gemini 3.8 FlashGemini 3.1 Pro
Input /1M$0.75$2.0
Output /1M$3.75$12.0
Cache /1M$0.075$0.2
Batch in/out$0.375/$1.875—
Context1M—
Tiers>200k tier: $4 in / $18 out

Workload Cost Calculator

Gemini 3.8 Flash:
Gemini 3.1 Pro:
Difference:

Frequently Asked Questions

Gemini 3.8 Flash or 3.1 Pro for coding?

3.8 Flash costs ~62% less input ($0.75 vs $2.00) and 69% less output ($3.75 vs $12.00); 3.1 Pro adds tiered >200k long-context rates. For most coding, 3.8 Flash wins on price-performance.

Does Gemini 3.1 Pro have a long-context tier?

Yes — prompts over 200k tokens bill at $4 in / $18 out, double the base tier.

Full Pricing Pages