Model comparison

Claude Sonnet 4 vs GPT-4.1 nano

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

Last verified . 36 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GPT-4.1 nano OpenAI

27.9

Rank #327 Confirmed

Summary

  • They share 36 benchmarks with published results for both. Claude Sonnet 4 scores higher in 9 categories and GPT-4.1 nano in 1 category; 10 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Claude Sonnet 4 leads 41.8 to 21.8.
  • The biggest single-benchmark swing is Aider Polyglot: 61.3% for Claude Sonnet 4 and 8.9% for GPT-4.1 nano.
  • GPT-4.1 nano is cheaper at $0.10 / $0.40 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GPT-4.1 nano accepts more context: 1.05M tokens versus 200K.

Side by side

Claude Sonnet 4 and GPT-4.1 nano specifications
Claude Sonnet 4GPT-4.1 nano
ProviderAnthropicOpenAI
Noometry Index40.827.9
Released2025-05-222025-04-14
WeightsProprietaryProprietary
Context window200K1.05M
Max output64K33K
Input $ / M tokens$3$0.10
Output $ / M tokens$15$0.40
Results tracked5838

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 nano: 24.1 (#330)

Coding benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
Aider Polyglot61.3%8.9%
SciCode40%25.9%
WeirdML46.1%19%
LMArena Coding14141306
SWE-bench Verified (bash only)64.9%—
GSO4.9%—
ALE-Bench655.35—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), GPT-4.1 nano: 26.5 (#104)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
Berkeley Function Calling Leaderboard—33%
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 nano: 8.5 (#349)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
ARC-AGI-25.9%0%
Kagi LLM Benchmark73%33.3%
ARC-AGI-140%0%
CritPt0.3%0%
LMArena Hard Prompts13721286
DTBench77.1%52.5%
LMCA29%5.5%
Epoch Capabilities Index141.69129.62
SimpleBench45.5%—
EnigmaEval3.1%—
ForecastBench60.2—

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), GPT-4.1 nano: 26.9 (#252)

Math benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
OTIS Mock AIME 2024-202571.1%28.9%
Omni-MATH60.2%36.7%
LMArena Math13751274
MATH Level 584.4%70%
FrontierMath (Feb 2025 set)4.1%1%
FrontierMath Tier 4 (v1)0%—

Knowledge Claude Sonnet 4 leads

Claude Sonnet 4: 41.8 (#108), GPT-4.1 nano: 21.8 (#273)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
GPQA Diamond79.2%48.9%
MMLU-Pro84.3%55%
GPQA (HELM)70.6%50.7%
LMArena Expert13721272
Humanity's Last Exam7.8%—
SimpleQA Verified—6%
Confabulations13.2%—
Vectara Hallucination Rate10.3%—

Multimodal GPT-4.1 nano leads

Claude Sonnet 4: 26.2 (#121), GPT-4.1 nano: 29.2 (#113)

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

Multilingual Claude Sonnet 4 leads

Claude Sonnet 4: 46.7 (#156), GPT-4.1 nano: 41.6 (#205)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
LMArena Non-English13331260
LMArena Chinese13501270
LMArena German13311288
LMArena Japanese13021198
LMArena Russian13551261
LMArena French1363—
LMArena Korean1291—
LMArena Spanish1357—

Instruction Following Claude Sonnet 4 leads

Claude Sonnet 4: 71.7 (#145), GPT-4.1 nano: 67.8 (#193)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
IFEval84%84.3%
LMArena Instruction Following13761267

Long Context Claude Sonnet 4 leads

Claude Sonnet 4: 33.7 (#259), GPT-4.1 nano: 23.7 (#296)

Long Context benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
Fiction.LiveBench46.9%25%
LMArena Longer Query13981283

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.1 (#132), GPT-4.1 nano: 40.5 (#243)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 nano
LMArena Text13511285
LMArena Creative Writing13451260
EQ-Bench Creative Writing1483946
WildBench83.8%81.2%
LMArena Multi-Turn13761277
Short-Story Creative Writing81.4%—

Frequently asked questions

Is Claude Sonnet 4 better than GPT-4.1 nano?

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 27.9 on the Noometry Index. GPT-4.1 nano costs 34× 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 nano?

GPT-4.1 nano is cheaper. It lists at $0.10 per million input tokens and $0.40 per million output tokens; Claude Sonnet 4 lists at $3 and $15.

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper