Claude Sonnet 5 vs Gemini 3.5 Flash
Claude Sonnet 5 and Gemini 3.5 Flash are evenly matched on the 6 benchmarks both report. Gemini 3.5 Flash is about 1.2× cheaper on a blended (3:1 input:output) token price. Gemini 3.5 Flash has the larger context window (1M vs 1M).
| Spec | Claude Sonnet 5 | Gemini 3.5 Flash |
|---|---|---|
| Provider | Anthropic | Google DeepMind |
| Released | Jun 29, 2026 (better) | May 19, 2026 |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M | 1M (better) |
| Max output | 125K (better) | 64K |
| Input price / 1M | $2 | $1.50 (better) |
| Output price / 1M | $10 | $9 (better) |
| Input modalities | text, image, pdf, file | text, image, audio, video, pdf, file (better) |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 56 (better) | 35 |
| Epoch Capabilities Index | 156.9 (better) | 155.3 |
| GPQA Diamond | 90.5% | 92.8% (better) |
| SWE-bench Verified | — | 79.3% |
| WebDev Arena | 1537 (better) | 1506 |
| OTIS Mock AIME | 94.7% | 95.6% (better) |
| FrontierMath | 65.6% (better) | 62.8% |
| ARC-AGI-2 | — | 72.1% |
| SimpleQA Verified | 33.7% | 66.2% (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Sonnet 5 costs $40.00 and Gemini 3.5 Flash costs $33.00 at list price (Anthropic / google pricing).
About Claude Sonnet 5
Claude Sonnet 5 is a proprietary reasoning llm from Anthropic, released Jun 29, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 56 API providers. It scores 156.9 on the Epoch Capabilities Index. Full Claude Sonnet 5 specs →
About Gemini 3.5 Flash
Gemini 3.5 Flash is a proprietary reasoning llm from Google DeepMind, released May 19, 2026. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $1.50 per million input tokens and $9 per million output tokens. It is available from 35 API providers. It scores 155.3 on the Epoch Capabilities Index. Full Gemini 3.5 Flash specs →
Compare other models
FAQ
Which is better, Claude Sonnet 5 or Gemini 3.5 Flash?
Claude Sonnet 5 and Gemini 3.5 Flash are evenly matched on the 6 benchmarks both report. Gemini 3.5 Flash is about 1.2× cheaper on a blended (3:1 input:output) token price. Gemini 3.5 Flash has the larger context window (1M vs 1M).
Is Claude Sonnet 5 cheaper than Gemini 3.5 Flash?
Claude Sonnet 5 costs $2 input / $10 output per 1M tokens; Gemini 3.5 Flash costs $1.50 / $9. Gemini 3.5 Flash is cheaper overall.
Which has a bigger context window?
Claude Sonnet 5: 1,000,000 tokens. Gemini 3.5 Flash: 1,048,576 tokens.
Are Claude Sonnet 5 and Gemini 3.5 Flash open source?
Claude Sonnet 5 is proprietary; Gemini 3.5 Flash is proprietary.