Model comparison
Claude Sonnet 5 vs Gemini 3.1 Pro
A spec-by-spec comparison of Claude Sonnet 5 and Gemini 3.1 Pro: pricing, context window, capabilities, and independently sourced benchmarks.
Head-to-head
- Claude Sonnet 5 and Gemini 3.1 Pro are priced identically at $2.00/MTok for input.
- Claude Sonnet 5 and Gemini 3.1 Pro share the same 1,000,000 tokens context window.
| Spec | Claude Sonnet 5 | Gemini 3.1 Pro |
|---|---|---|
| Provider | anthropic | |
| Family | Claude Sonnet | Gemini 3 |
| Status | frontier | frontier |
| Release date | 2026-06-30 | — |
| Knowledge cutoff | 2026-01 | 2025-01 |
| Context window | 1,000,000 tokens | 1,000,000 tokens |
| Max output tokens | 128,000 tokens | 64,000 tokens |
| Input price | $2.00/MTok | $2.00/MTok |
| Output price | $10.00/MTok | $12.00/MTok |
| Cached input price | $0.20/MTok | $0.20/MTok |
| Vision | Yes | — |
| Tool use | Yes | — |
| Extended thinking | Yes | Yes |
| Streaming | — | — |
Benchmarks
Independently sourced scores
A dash means that model has no publicly sourced score for that benchmark, not a zero.
| Benchmark | Claude Sonnet 5 | Gemini 3.1 Pro |
|---|---|---|
| GPQA Diamond | — | 94.1% |
Claude Sonnet 5
Strengths- Carries the full 1M-token context window at standard pricing.
- Cheapest 1M-context model from any US lab in this file.
- The scheduled 2026-09-01 increase to $3/$15 was cancelled; $2/$10 is Anthropic’s stated standard price, not a temporary one.
- Uses the newer Claude tokenizer, ~30% more tokens for the same text than Sonnet 4.6 and earlier.
- Anthropic lists classic extended thinking as not supported; only adaptive thinking is available.
Gemini 3.1 Pro
Strengths- Ties GPT-5.6 Sol at the top of the Artificial Analysis GPQA Diamond board at 94.1%.
- Cheapest model in this file to reach 94% on independently run GPQA Diamond.
- Still labelled Preview on Google’s model index; preview models are deprecated with at least two weeks’ notice.
- Input doubles to $4.00/MTok and output rises to $18.00/MTok above 200k tokens, a threshold one fifth of the way into its own 1M window.
- No free tier on the Gemini API; free access is limited to Google AI Studio.
- Knowledge cutoff of January 2025.
Not sure which one to use?
Flaibo is a daily AI orientation hub: a 12-week path and a prompt vault, with Free and Professional plans. Build the habit, not just the comparison.
Start your AI path