Compare · ModelsLive · 2 picked · head to head

Claude Sonnet 4 vs Gemini 2.5 Flash

Side by side · benchmarks, pricing, and signals you can act on.

Winner summary

Claude Sonnet 4 wins 10 of 18 shared benchmarks. Leads in coding · agentic · reasoning.

Category leads
coding·Claude Sonnet 4agentic·Claude Sonnet 4reasoning·Claude Sonnet 4knowledge·Gemini 2.5 Flashgeneral·Claude Sonnet 4math·Gemini 2.5 Flash
Hype vs Reality
Claude Sonnet 4
#157 by perf·#10 by attention
DESERVED
Gemini 2.5 Flash
#191 by perf·no signal
QUIET
Best value
5.6x better value than Claude Sonnet 4
Claude Sonnet 4
5.1 pts/$
$9.00/M
Gemini 2.5 Flash
28.1 pts/$
$1.40/M
Vendor risk
Anthropic logo
Anthropic
$965.0B·Tier 1
Medium risk
Google DeepMind logo
Google DeepMind
$4.20T·Tier 1
Low risk
Head to head
Claude Sonnet 4Gemini 2.5 Flash
Aider polyglot
Claude Sonnet 4 leads by +14.2
Aider Polyglot · measures how well AI models can edit code across multiple programming languages using the Aider coding assistant framework.
Claude Sonnet 4
61.3
Gemini 2.5 Flash
47.1
APEX-Agents
Claude Sonnet 4 leads by +7.5
APEX-Agents · evaluates AI agents on complex, multi-step tasks requiring planning, tool use, and autonomous decision-making in realistic environments.
Claude Sonnet 4
9.3
Gemini 2.5 Flash
1.8
ARC-AGI
Claude Sonnet 4 leads by +7.7
ARC-AGI · the original Abstraction and Reasoning Corpus, testing whether AI can solve novel visual pattern recognition tasks without memorization.
Claude Sonnet 4
40.0
Gemini 2.5 Flash
32.3
ARC-AGI-2
Claude Sonnet 4 leads by +3.4
ARC-AGI-2 · the second iteration of the Abstraction and Reasoning Corpus, testing novel pattern recognition and abstract reasoning without prior training data.
Claude Sonnet 4
5.9
Gemini 2.5 Flash
2.5
DeepResearch Bench
Claude Sonnet 4 leads by +18.6
DeepResearch Bench · evaluates AI on complex multi-step research tasks requiring information gathering, synthesis, and producing comprehensive analyses.
Claude Sonnet 4
47.8
Gemini 2.5 Flash
29.2
Dtbench
Claude Sonnet 4 leads by +0.9
Claude Sonnet 4
61.8
Gemini 2.5 Flash
60.9
Fiction.LiveBench
Gemini 2.5 Flash leads by +0.3
Fiction.LiveBench · a continuously updated benchmark using recently published fiction to test reading comprehension and reasoning, preventing data contamination.
Claude Sonnet 4
46.9
Gemini 2.5 Flash
47.2
FrontierMath-2025-02-28-Private
Gemini 2.5 Flash leads by +1.2
FrontierMath (Feb 2025) · original research-level math problems created by mathematicians, testing capabilities at the boundary of current AI mathematical reasoning.
Claude Sonnet 4
7.3
Gemini 2.5 Flash
8.5
FrontierMath-Tier-4-2025-07-01-Private
Gemini 2.5 Flash leads by +6.9
FrontierMath Tier 4 (Jul 2025) · the most challenging tier of frontier mathematics, containing problems that push the absolute limits of AI mathematical reasoning.
Claude Sonnet 4
0.0
Gemini 2.5 Flash
6.9
GeoBench
Gemini 2.5 Flash leads by +36.0
GeoBench · tests geographic knowledge and spatial reasoning across countries, landmarks, coordinates, and geopolitical understanding.
Claude Sonnet 4
37.0
Gemini 2.5 Flash
73.0
HLE
Gemini 2.5 Flash leads by +4.5
HLE (Humanity's Last Exam) · a reasoning benchmark designed to be the hardest public evaluation of AI. Questions span mathematics, physics, philosophy, and logic · curated to be at or beyond the frontier of human expert capability. Tested with and without tool augmentation. Claude Opus 4.7 scores 46.9% without tools and 54.7% with tools · making it one of the few benchmarks where the top score is below 60%.
Claude Sonnet 4
3.1
Gemini 2.5 Flash
7.7
Lech Mazur Writing
Claude Sonnet 4 leads by +4.9
Lech Mazur Writing · evaluates creative writing ability, assessing prose quality, narrative coherence, and stylistic sophistication.
Claude Sonnet 4
81.4
Gemini 2.5 Flash
76.5
Lmca
Claude Sonnet 4 leads by +1.8
Claude Sonnet 4
34.1
Gemini 2.5 Flash
32.3
OTIS Mock AIME 2024-2025
Gemini 2.5 Flash leads by +2.0
OTIS Mock AIME 2024-2025 · simulated American Invitational Mathematics Examination problems testing advanced problem-solving skills.
Claude Sonnet 4
71.1
Gemini 2.5 Flash
73.0
SimpleBench
Claude Sonnet 4 leads by +5.2
SimpleBench · tests fundamental reasoning capabilities with straightforward problems designed to expose gaps in basic logical and spatial thinking.
Claude Sonnet 4
34.6
Gemini 2.5 Flash
29.4
The Agent Company
Gemini 2.5 Flash leads by +8.0
The Agent Company · tests AI agents on realistic corporate tasks like email management, code review, data analysis, and cross-tool workflows.
Claude Sonnet 4
33.1
Gemini 2.5 Flash
41.1
VPCT
Gemini 2.5 Flash leads by +6.0
VPCT (Visual Pattern Completion Test) · tests visual reasoning and pattern recognition by having models complete visual sequences and transformations.
Claude Sonnet 4
1.0
Gemini 2.5 Flash
7.0
WeirdML
Claude Sonnet 4 leads by +5.2
WeirdML · tests models on unusual and adversarial machine learning tasks that require creative problem-solving beyond standard patterns.
Claude Sonnet 4
46.1
Gemini 2.5 Flash
41.0
Full benchmark table
BenchmarkClaude Sonnet 4Gemini 2.5 Flash
Aider polyglot
Aider Polyglot · measures how well AI models can edit code across multiple programming languages using the Aider coding assistant framework.
61.347.1
APEX-Agents
APEX-Agents · evaluates AI agents on complex, multi-step tasks requiring planning, tool use, and autonomous decision-making in realistic environments.
9.31.8
ARC-AGI
ARC-AGI · the original Abstraction and Reasoning Corpus, testing whether AI can solve novel visual pattern recognition tasks without memorization.
40.032.3
ARC-AGI-2
ARC-AGI-2 · the second iteration of the Abstraction and Reasoning Corpus, testing novel pattern recognition and abstract reasoning without prior training data.
5.92.5
DeepResearch Bench
DeepResearch Bench · evaluates AI on complex multi-step research tasks requiring information gathering, synthesis, and producing comprehensive analyses.
47.829.2
Dtbench
61.860.9
Fiction.LiveBench
Fiction.LiveBench · a continuously updated benchmark using recently published fiction to test reading comprehension and reasoning, preventing data contamination.
46.947.2
FrontierMath-2025-02-28-Private
FrontierMath (Feb 2025) · original research-level math problems created by mathematicians, testing capabilities at the boundary of current AI mathematical reasoning.
7.38.5
FrontierMath-Tier-4-2025-07-01-Private
FrontierMath Tier 4 (Jul 2025) · the most challenging tier of frontier mathematics, containing problems that push the absolute limits of AI mathematical reasoning.
0.06.9
GeoBench
GeoBench · tests geographic knowledge and spatial reasoning across countries, landmarks, coordinates, and geopolitical understanding.
37.073.0
HLE
HLE (Humanity's Last Exam) · a reasoning benchmark designed to be the hardest public evaluation of AI. Questions span mathematics, physics, philosophy, and logic · curated to be at or beyond the frontier of human expert capability. Tested with and without tool augmentation. Claude Opus 4.7 scores 46.9% without tools and 54.7% with tools · making it one of the few benchmarks where the top score is below 60%.
3.17.7
Lech Mazur Writing
Lech Mazur Writing · evaluates creative writing ability, assessing prose quality, narrative coherence, and stylistic sophistication.
81.476.5
Lmca
34.132.3
OTIS Mock AIME 2024-2025
OTIS Mock AIME 2024-2025 · simulated American Invitational Mathematics Examination problems testing advanced problem-solving skills.
71.173.0
SimpleBench
SimpleBench · tests fundamental reasoning capabilities with straightforward problems designed to expose gaps in basic logical and spatial thinking.
34.629.4
The Agent Company
The Agent Company · tests AI agents on realistic corporate tasks like email management, code review, data analysis, and cross-tool workflows.
33.141.1
VPCT
VPCT (Visual Pattern Completion Test) · tests visual reasoning and pattern recognition by having models complete visual sequences and transformations.
1.07.0
WeirdML
WeirdML · tests models on unusual and adversarial machine learning tasks that require creative problem-solving beyond standard patterns.
46.141.0
Pricing · per 1M tokens · projected $/mo at 10M tokens
ModelInputOutputContextProjected $/mo
Anthropic logoClaude Sonnet 4$3.00$15.00200K tokens (~100 books)$60.00
Google DeepMind logoGemini 2.5 Flash$0.30$2.501.0M tokens (~524 books)$8.50