Compare / head-to-head
Claude 3.7 SonnetvsGemini 2.5 Flash
Gemini 2.5 Flash leads 2 of 3 shared benchmarks. Gemini 2.5 Flash is 6.4x cheaper per token. Gemini 2.5 Flash has the larger context window (1.0M tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
1 – 2
Gemini 2.5 Flash leads
Cheaper per token
Gemini 2.5 Flash
6.4x cheaper, input + output
Larger context
Gemini 2.5 Flash
1.0M tokens
Provider uptime (30d)
100% · 100%
Anthropic · Google
Claude 3.7 Sonnet
Anthropic · released 2025-02-24
textvision
Gemini 2.5 Flash
Google · released 2025-06-17
textvisionaudio
Quality
Benchmark matrix
3 shared · 2 only Claude 3.7 Sonnet · 5 only Gemini 2.5 Flash| Benchmark | Claude 3.7 Sonnet | Gemini 2.5 Flash | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 3 | ||||
| SWE-bench Verified | 70.3% ↗ | 48.9% ↗ | +21.4 pt | Claude 3.7 Sonnet |
| GPQA Diamond | 79.7% ↗epoch | 82.8% ↗ | -3.1 pt | Gemini 2.5 Flash |
| AIME 2025 | 49.2% ↗matharena ⚠ | 72% ↗ | -22.8 pt | Gemini 2.5 Flash |
| Only Claude 3.7 Sonnet reports · 2 | ||||
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 57.8% ↗epoch | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 61% ↗epoch | not reported | — | — |
| Only Gemini 2.5 Flash reports · 5 | ||||
| Humanity's Last Exam (no tools) | not reported | 11% ↗ | — | — |
| LMArena Elo | not reported | 1417.3 ↗ | — | — |
| Aider Polyglot | not reported | 56.7% ↗ | — | — |
| LiveCodeBench | not reported | 59.3% ↗ | — | — |
| MMMU | not reported | 79.7% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude 3.7 Sonnet minus Gemini 2.5 Flash in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | Claude 3.7 Sonnet | Gemini 2.5 Flash | Edge |
|---|---|---|---|
| Context window | 200K tokens | 1.0M tokens | Gemini 2.5 Flash |
| Max output | 128K tokens | 66K tokens | Claude 3.7 Sonnet |
| Input price / 1M | $3 ↗ | $0.3 ↗ | Gemini 2.5 Flash |
| Output price / 1M | $15 ↗ | $2.5 ↗ | Gemini 2.5 Flash |
| Cached input / 1M | $0.3 ↗ | $0.03 ↗ | Gemini 2.5 Flash |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $18 | $2.8 | Gemini 2.5 Flash |
| Modalities | text · vision | text · vision · audio | Gemini 2.5 Flash |
| Released | 2025-02-24 | 2025-06-17 | — |
| Cited benchmark scores | 5 | 9 | — |
Reliability
Provider status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
Claude 3.7 Sonnet vs …
Models sharing the most benchmarksMore matchups
Gemini 2.5 Flash vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Claude 3.7 Sonnet and Gemini 2.5 Flash on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.