Claude Sonnet 5 vs Gemini 3 Flash Preview
Claude Sonnet 5 vs Gemini 3 Flash Preview: which AI model is cheaper, has the larger context window and more capabilities? Side-by-side comparison updated daily.
Quick verdict
- Gemini 3 Flash Preview is 3.6× cheaper than Claude Sonnet 5 for the same mix of input and output tokens.
- Gemini 3 Flash Preview has the larger context window (1M), useful for long documents and big codebases.
- Claude Sonnet 5 is the more recent release (Jun 30, 2026).
- Claude Sonnet 5 scores higher on independent tests (overall index 156.3 vs 151.8).
- Choose Gemini 3 Flash Preview if cost matters most; choose Claude Sonnet 5 if you need its specific strengths above. For the best results, test both on your own prompts.
| Claude Sonnet 5 | Gemini 3 Flash Preview | |
|---|---|---|
| Company | Anthropic | Google DeepMind |
| Released | Jun 30, 2026 ● | Dec 17, 2025 |
| Overall index | 156.3 ● | 151.8 |
| SWE-bench Verified | — | 75.4% |
| GPQA Diamond | 90.5% ● | 89.4% |
| AIME math | 94.7% | 95.6% ● |
| FrontierMath | 65.6% ● | 51.2% |
| SimpleQA Verified | 33.7% | 66.8% ● |
| Input (per 1M tokens) | $2 | $0.50 ● |
| Output (per 1M tokens) | $10 | $3 ● |
| Cost for 1M input + 1M output tokens | $12.00 | $3.50 ● |
| Providers | 10 ● | 6 |
| Context | 1M | 1M ● |
| Max output | 128K ● | 64K |
| Inputs | Text, Image, Files | Text, Image, Files, Audio, Video ● |
| Outputs | Text | Text |
| Reasoning | ✓ | ✓ |
| Tool use | ✓ | ✓ |
| Structured output | ✓ | ✓ |
| Open weights | — | — |