Claude Sonnet 4 vs Llama 4 Maverick
Wins 6 of 7 areas
Coding · Agents · Reasoning · Images and charts · Long documents · Following instructions
Wins 0 of 7 areas
—
Claude Sonnet 4 is the stronger all-rounder.Llama 4 Maverick is cheaper.
Scores updated · 27 tests both models report · How we compare
Where each one wins
Tests won in each of the seven areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software50Claude Sonnet 45 of 5 tests
- ReasoningHard problems that need careful thinking40Claude Sonnet 44 of 5 tests · 1 tie
- AgentsCarrying out multi-step tasks on its own20Claude Sonnet 42 of 2 tests
- Images and chartsUnderstanding pictures, charts and video10Claude Sonnet 41 of 2 tests · 1 tie
- Long documentsFinding answers in very long texts10Claude Sonnet 41 of 1 test
- Following instructionsDoing exactly what it is asked10Claude Sonnet 41 of 1 test
- FactsGetting facts right instead of making them up11Even1 each
Long documents and following instructions rest on a single test each.
What it costs
Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.
Llama 4 Maverick costs 94% less for the same work.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where Claude Sonnet 4 pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+59.8points ahead
- Fixes real GitHub issues in Python projectsSWE-bench Verified+51.7points ahead
- Long, multi-file coding tasks in real codebasesSWE-bench Pro+37.5points ahead
Where Llama 4 Maverick pulls ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+2.2points ahead
Every test, side by side
All 27 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Sonnet 4
- SWE-bench VerifiedClaude Sonnet 4 by 51.772.721+51.7
- SWE-bench ProClaude Sonnet 4 by 37.542.75.2+37.5
- Terminal-Bench 2.1Claude Sonnet 4 by 28.436.37.9+28.4
- Terminal-Bench HardClaude Sonnet 4 by 24.331.16.8+24.3
- SciCodeClaude Sonnet 4 by 8.34031.7+8.3
AgentsClaude Sonnet 4
- τ-Bench V3 · BankingClaude Sonnet 4 by 1316.73.7+13
- GDPValClaude Sonnet 4 by 9.79.70+9.7
ReasoningClaude Sonnet 4
- SimpleBenchClaude Sonnet 4 by 17.845.527.7+17.8
- GPQA DiamondClaude Sonnet 4 by 10.677.767.1+10.6
- ARC-AGI-2Claude Sonnet 4 by 5.95.90+5.9
- Humanity's Last ExamClaude Sonnet 4 by 5.810.74.9+5.8
- CritPttie0.30tie
FactsEven
- AA-Omniscience · Non-hallucinationClaude Sonnet 4 by 59.870.911.1+59.8
- AA-Omniscience · AccuracyLlama 4 Maverick by 2.222.724.9+2.2
Images and chartsClaude Sonnet 4
Following instructionsClaude Sonnet 4
- IFBenchClaude Sonnet 4 by 11.754.743+11.7
Other results9 tests, not counted
Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.
- Aider-PolyglotClaude Sonnet 4 by 55.170.715.6+55.1
- AIME 2025Claude Sonnet 4 by 4870.522.5+48
- τ²-Bench Telecom (AA run)Claude Sonnet 4 by 46.864.617.8+46.8
- AA-OmniscienceClaude Sonnet 4 by 420.2-41.9+42
- ARC-AGI-1Claude Sonnet 4 by 35.6404.4+35.6
- LiveCodeBenchClaude Sonnet 4 by 25.168.543.4+25.1
- Artificial Analysis Coding IndexClaude Sonnet 4 by 21.337.616.3+21.3
- AA IntelligenceClaude Sonnet 4 by 8.918.910+8.9
- MMLU-ProClaude Sonnet 4 by 3.283.780.5+3.2
Questions people ask
Which is better, Claude Sonnet 4 or Llama 4 Maverick?
Claude Sonnet 4 wins six of the seven areas where both have results: coding, agents, reasoning, images and charts, long documents and following instructions. Llama 4 Maverick wins none, but costs 94% less. They are level on facts.
Which is better for coding?
Claude Sonnet 4. It wins 5 of the 5 coding tests both models report; Llama 4 Maverick wins none.
Which is cheaper?
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; Llama 4 Maverick costs $0.25 and $0.87. That makes Llama 4 Maverick about 94% cheaper for the same work.
How do you compare the two?
We use the 27 benchmark tests both models have published scores on. The verdict counts the 18 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 9 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.