Model comparison

Claude Sonnet 4 vs GPT-4.1

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 35.9 on the Noometry Index. GPT-4.1 costs 1.7× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.

Last verified . 46 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GPT-4.1 OpenAI

35.9

Rank #219 Confirmed

Summary

  • They share 46 benchmarks with published results for both. Claude Sonnet 4 scores higher in 6 categories and GPT-4.1 in 4 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 4 leads 43.3 to 22.3.
  • The biggest single-benchmark swing is GeoBench: 37% for Claude Sonnet 4 and 72% for GPT-4.1.
  • GPT-4.1 is cheaper at $2 / $8 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GPT-4.1 accepts more context: 1.05M tokens versus 200K.

Side by side

Claude Sonnet 4 and GPT-4.1 specifications
Claude Sonnet 4GPT-4.1
ProviderAnthropicOpenAI
Noometry Index40.835.9
Released2025-05-222025-04-14
WeightsProprietaryProprietary
Context window200K1.05M
Max output64K33K
Input $ / M tokens$3$2
Output $ / M tokens$15$8
Results tracked5852

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

Category by category

Coding Claude Sonnet 4 leads

Claude Sonnet 4: 43.5 (#88), GPT-4.1: 34.4 (#238)

Coding benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
SWE-bench Verified (bash only)64.9%39.6%
Aider Polyglot61.3%52.4%
WeirdML46.1%39%
LMArena Coding14141391
ALE-Bench655.35558.1
SWE-bench Verified—48.5%
SciCode40%—
GSO4.9%—
CadEval—42%

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), GPT-4.1: 34.7 (#43)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
Berkeley Function Calling Leaderboard—54%
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
METR Time Horizons62%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), GPT-4.1: 11.7 (#339)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
ARC-AGI-25.9%0.4%
SimpleBench45.5%27%
Kagi LLM Benchmark73%52.3%
ARC-AGI-140%5.5%
EnigmaEval3.1%2.2%
LMArena Hard Prompts13721384
DTBench77.1%68.3%
LMCA29%25.6%
Epoch Capabilities Index141.69136.78
ForecastBench60.261.5
CritPt0.3%—
Chess Puzzles—6%

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), GPT-4.1: 22.3 (#280)

Math benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
OTIS Mock AIME 2024-202571.1%38.3%
Omni-MATH60.2%47.1%
LMArena Math13751370
MATH Level 584.4%83%
FrontierMath (Feb 2025 set)4.1%5.5%
FrontierMath Tier 4 (v1)0%0%
FrontierMath (Tiers 1-3)—6%

Knowledge Claude Sonnet 4 leads

Claude Sonnet 4: 41.8 (#108), GPT-4.1: 37.1 (#160)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
GPQA Diamond79.2%66.9%
Humanity's Last Exam7.8%5.4%
MMLU-Pro84.3%81.1%
Vectara Hallucination Rate10.3%5.6%
GPQA (HELM)70.6%65.9%
LMArena Expert13721364
SimpleQA Verified—31.1%
Confabulations13.2%—

Multimodal GPT-4.1 leads

Claude Sonnet 4: 26.2 (#121), GPT-4.1: 38.2 (#67)

Multimodal benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
LMArena Vision11911211
GeoBench37%72%
VPCT34%—
MindCube44.8%—

Multilingual GPT-4.1 leads

Claude Sonnet 4: 46.7 (#156), GPT-4.1: 49.4 (#133)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
LMArena Non-English13331370
LMArena Chinese13501382
LMArena French13631382
LMArena German13311381
LMArena Japanese13021319
LMArena Korean12911339
LMArena Russian13551377
LMArena Spanish13571376

Instruction Following Too close to call

Claude Sonnet 4: 71.7 (#145), GPT-4.1: 71.3 (#153)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
IFEval84%83.8%
LMArena Instruction Following13761367

Long Context GPT-4.1 leads

Claude Sonnet 4: 33.7 (#259), GPT-4.1: 40.0 (#163)

Long Context benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
Fiction.LiveBench46.9%63.9%
LMArena Longer Query13981385

Writing & Preference Too close to call

Claude Sonnet 4: 57.1 (#132), GPT-4.1: 57.6 (#125)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GPT-4.1
LMArena Text13511383
LMArena Creative Writing13451363
EQ-Bench Creative Writing14831420
WildBench83.8%85.4%
LMArena Multi-Turn13761398
Short-Story Creative Writing81.4%—

Frequently asked questions

Is Claude Sonnet 4 better than GPT-4.1?

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 35.9 on the Noometry Index. GPT-4.1 costs 1.7× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 4 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 4 lists at $3 and $15.

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

Claude Sonnet 4 scores higher on coding benchmarks: 43.5 versus 34.4 in the Noometry coding category.

Which has the bigger context window?

GPT-4.1 does, with 1.05M tokens against 200K.

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

46 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and GPT-4.1 has 52.

Related comparisons

Go deeper