Model comparison

Claude Sonnet 5 vs GPT-4.1

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 35.7 on the Noometry Index.

Last verified . 31 shared benchmarks.

Claude Sonnet 5 Anthropic

54.5

Rank #26 Confirmed

GPT-4.1 OpenAI

35.7

Rank #215 Confirmed

Summary

  • They share 31 benchmarks with published results for both. Claude Sonnet 5 scores higher in 10 categories and GPT-4.1 in 0 categories; 10 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 5 leads 66.1 to 21.4.
  • The biggest single-benchmark swing is FrontierMath (Tiers 1-3): 65.6% for Claude Sonnet 5 and 6% for GPT-4.1.
  • GPT-4.1 is cheaper at $2 / $8 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • GPT-4.1 accepts more context: 1.05M tokens versus 1M.

Side by side

Claude Sonnet 5 and GPT-4.1 specifications
Claude Sonnet 5GPT-4.1
ProviderAnthropicOpenAI
Noometry Index54.535.7
Released2026-06-292025-04-14
WeightsProprietaryProprietary
Context window1M1.05M
Max output128K33K
Input $ / M tokens$2$2
Output $ / M tokens$10$8
Results tracked5152

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Claude Sonnet 5 leads

Claude Sonnet 5: 55.5 (#20), GPT-4.1: 34.2 (#228)

Coding benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
WeirdML68.8%39%
LMArena Coding14831391
ALE-Bench1,463558.1
SWE-bench Verified—48.5%
DeepSWE53.8%—
FrontierCode42.7%—
SWE-bench Verified (bash only)—39.6%
Aider Polyglot—52.4%
CursorBench34.1%—
LMArena WebDev1540—
SciCode53.6%—
GSO37.3%—
CadEval—42%

Agentic & Tool Use Claude Sonnet 5 leads

Claude Sonnet 5: 42.7 (#16), GPT-4.1: 34.4 (#40)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
APEX-Agents54.5%—
Berkeley Function Calling Leaderboard—54%
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 48.2 (#37), GPT-4.1: 11.7 (#334)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
SimpleBench60.6%27%
Chess Puzzles35%6%
LMArena Hard Prompts14611384
DTBench92.5%68.3%
LMCA50%25.6%
Epoch Capabilities Index156.34136.79
ForecastBench61.161.5
ARC-AGI-2—0.4%
Kagi LLM Benchmark—52.3%
NYT Connections (extended)75.1%—
ARC-AGI-1—5.5%
CritPt16.9%—
EnigmaEval—2.2%
Mystery Game Puzzles35%—
Surface Evolver Bench60%—
Bench to the Future 30.14—

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.1 (#21), GPT-4.1: 21.4 (#269)

Math benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
FrontierMath (Tiers 1-3)65.6%6%
OTIS Mock AIME 2024-202594.7%38.3%
LMArena Math14671369
FrontierMath Tier 429.3%—
ProofBench77%—
Omni-MATH—47.1%
MATH Level 5—83%
FrontierMath (Feb 2025 set)—5.5%
FrontierMath Tier 4 (v1)—0%

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.7 (#42), GPT-4.1: 37.0 (#152)

Knowledge benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
GPQA Diamond90.5%66.9%
SimpleQA Verified33.7%31.1%
LMArena Expert14911364
Humanity's Last Exam—5.4%
MMLU-Pro—81.1%
Vectara Hallucination Rate—5.6%
GPQA (HELM)—65.9%

Multimodal Claude Sonnet 5 leads

Claude Sonnet 5: 42.4 (#26), GPT-4.1: 37.5 (#66)

Multimodal benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
LMArena Vision12751210
GeoBench—72%
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 54.0 (#55), GPT-4.1: 49.6 (#128)

Multilingual benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
LMArena Non-English14311370
LMArena Chinese14751382
LMArena French14571383
LMArena German14481380
LMArena Japanese14221320
LMArena Korean14111339
LMArena Russian14521377
LMArena Spanish14361375

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.6 (#39), GPT-4.1: 71.5 (#148)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
LMArena Instruction Following14531367
IFEval—83.8%

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#53), GPT-4.1: 40.0 (#158)

Long Context benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
LMArena Longer Query14641385
Fiction.LiveBench—63.9%

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.4 (#24), GPT-4.1: 57.8 (#120)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GPT-4.1
LMArena Text14431383
LMArena Creative Writing14161363
EQ-Bench Creative Writing17941420
LMArena Multi-Turn14541398
WildBench—85.4%
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than GPT-4.1?

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 35.7 on the Noometry Index.

Which is cheaper, Claude Sonnet 5 or GPT-4.1?

GPT-4.1 is cheaper. It lists at $2 per million input tokens and $8 per million output tokens; Claude Sonnet 5 lists at $2 and $10.

Is Claude Sonnet 5 or GPT-4.1 better for coding?

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 34.2 in the Noometry coding category.

Which has the bigger context window?

GPT-4.1 does, with 1.05M tokens against 1M.

How many benchmarks do Claude Sonnet 5 and GPT-4.1 share?

31 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and GPT-4.1 has 52.

Related comparisons

Go deeper