ModelsCompareBest forBenchmarksStatusPricingAPI
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
Context
200K
Max out
128K
Input /1M
$3
Output /1M
$15
Cached /1M
$0.3
Scores
5 · 5 core
Gemini 2.5 Flash
Google · released 2025-06-17
textvisionaudio
Context
1.0M
Max out
66K
Input /1M
$0.3
Output /1M
$2.5
Cached /1M
$0.03
Scores
9 · 5 core
Quality

Benchmark matrix

BenchmarkClaude 3.7 SonnetGemini 2.5 FlashΔEdge
Reported by both · 3
SWE-bench Verified70.3% 48.9% +21.4 ptClaude 3.7 Sonnet
GPQA Diamond79.7% epoch82.8% -3.1 ptGemini 2.5 Flash
AIME 202549.2% matharena72% -22.8 ptGemini 2.5 Flash
Only Claude 3.7 Sonnet reports · 2
OTIS Mock AIME 2024-2025 (Epoch AI run)57.8% epochnot reported
SWE-bench Verified (Epoch AI run)61% epochnot reported
Only Gemini 2.5 Flash reports · 5
Humanity's Last Exam (no tools)not reported11%
LMArena Elonot reported1417.3
Aider Polyglotnot reported56.7%
LiveCodeBenchnot reported59.3%
MMMUnot reported79.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

SpecClaude 3.7 SonnetGemini 2.5 FlashEdge
Context window200K tokens1.0M tokensGemini 2.5 Flash
Max output128K tokens66K tokensClaude 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.8Gemini 2.5 Flash
Modalitiestext · visiontext · vision · audioGemini 2.5 Flash
Released2025-02-242025-06-17
Cited benchmark scores59
Reliability

Provider status

All providers
More matchups

Claude 3.7 Sonnet vs …

Built 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.