Claude Sonnet 4 vs GPT-4.1 nano
Wins 7 of 7 areas
Coding · Agents · Reasoning · Facts · Images and charts · Long documents · Following instructions
Wins 0 of 7 areas
—
Claude Sonnet 4 is the stronger all-rounder.GPT-4.1 nano is cheaper.
Scores updated · 32 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.
- ReasoningHard problems that need careful thinking30Claude Sonnet 43 of 4 tests · 1 tie
- CodingWriting and fixing software30Claude Sonnet 43 of 3 tests
- AgentsCarrying out multi-step tasks on its own20Claude Sonnet 42 of 2 tests
- FactsGetting facts right instead of making them up20Claude Sonnet 42 of 2 tests
- Images and chartsUnderstanding pictures, charts and video20Claude Sonnet 42 of 2 tests
- Following instructionsDoing exactly what it is asked20Claude Sonnet 42 of 2 tests
- Long documentsFinding answers in very long texts10Claude Sonnet 41 of 1 test
Long documents rests on a single test.
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.
GPT-4.1 nano costs 97% 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+53.5points ahead
- Reasons across sets of long documentsAA-LCR+50points ahead
- Keeps track of context across a multi-turn chatMulti-Challenge+42.1points ahead
Where GPT-4.1 nano pulls ahead
No clear win on a test scored out of 100.
Every test, side by side
All 32 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Sonnet 4
- Terminal-Bench 2.1Claude Sonnet 4 by 32.636.33.7+32.6
- Terminal-Bench HardClaude Sonnet 4 by 27.331.13.8+27.3
- SciCodeClaude Sonnet 4 by 14.14025.9+14.1
AgentsClaude Sonnet 4
- τ-Bench V3 · BankingClaude Sonnet 4 by 13.216.73.5+13.2
- GDPValClaude Sonnet 4 by 9.79.70+9.7
ReasoningClaude Sonnet 4
- GPQA DiamondClaude Sonnet 4 by 26.577.751.2+26.5
- Humanity's Last ExamClaude Sonnet 4 by 6.910.73.8+6.9
- ARC-AGI-2Claude Sonnet 4 by 5.95.90+5.9
- CritPttie0.30tie
FactsClaude Sonnet 4
- AA-Omniscience · Non-hallucinationClaude Sonnet 4 by 53.570.917.4+53.5
- AA-Omniscience · AccuracyClaude Sonnet 4 by 922.713.7+9
Images and chartsClaude Sonnet 4
Following instructionsClaude Sonnet 4
- Multi-ChallengeClaude Sonnet 4 by 42.157.115+42.1
- IFBenchClaude Sonnet 4 by 22.754.732+22.7
Other results16 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 60.970.79.8+60.9
- TAU-bench (retail)Claude Sonnet 4 by 57.980.522.6+57.9
- AA-OmniscienceClaude Sonnet 4 by 57.80.2-57.6+57.8
- τ²-Bench Telecom (AA run)Claude Sonnet 4 by 47.364.617.3+47.3
- TAU-bench (airline)Claude Sonnet 4 by 466014+46
- ARC-AGI-1Claude Sonnet 4 by 40400+40
- AIR-Bench 2024Claude Sonnet 4 by 26.888.361.5+26.8
- Artificial Analysis Coding IndexClaude Sonnet 4 by 26.537.611.1+26.5
- MMMLUClaude Sonnet 4 by 19.686.566.9+19.6
- IFEvalClaude Sonnet 4 by 13.187.674.5+13.1
- HarmBenchClaude Sonnet 4 by 11.29886.8+11.2
- AA IntelligenceClaude Sonnet 4 by 11.118.97.8+11.1
- bbqClaude Sonnet 4 by 9.196.687.5+9.1
- simple_safety_testsClaude Sonnet 4 by 110099+1
- XSTesttie96.696tie
- anthropic_red_teamtie99.299.6tie
Questions people ask
Which is better, Claude Sonnet 4 or GPT-4.1 nano?
Claude Sonnet 4 wins all seven areas where both have results: coding, agents, reasoning, facts, images and charts, long documents and following instructions. GPT-4.1 nano wins none, but costs 97% less.
Which is better for coding?
Claude Sonnet 4. It wins 3 of the 3 coding tests both models report; GPT-4.1 nano wins none.
Which is cheaper?
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-4.1 nano costs $0.10 and $0.40. That makes GPT-4.1 nano about 97% cheaper for the same work.
How do you compare the two?
We use the 32 benchmark tests both models have published scores on. The verdict counts the 16 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 16 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.