Model comparison

Claude Sonnet 4 vs GPT-4.1 mini

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

Last verified . 40 shared benchmarks.

Claude Sonnet 4 Anthropic

40.6

Rank #139 Confirmed

GPT-4.1 mini OpenAI

33.5

Rank #232 Confirmed

Summary

  • They share 40 benchmarks with published results for both. Claude Sonnet 4 scores higher in 8 categories and GPT-4.1 mini in 2 categories; 10 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 4 leads 41.5 to 23.1.
  • The biggest single-benchmark swing is SWE-bench Verified (bash only): 64.9% for Claude Sonnet 4 and 23.9% for GPT-4.1 mini.
  • GPT-4.1 mini is cheaper at $0.40 / $1.60 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
  • GPT-4.1 mini accepts more context: 1.05M tokens versus 200K.

Side by side

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

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

Category by category

Coding Claude Sonnet 4 leads

Claude Sonnet 4: 44.0 (#70), GPT-4.1 mini: 30.4 (#286)

Coding benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
SWE-bench Verified (bash only)64.9%23.9%
Aider Polyglot61.3%32.4%
SciCode40%40.4%
WeirdML46.1%37.6%
LMArena Coding14141367
GSO4.9%—
BigCodeBench Instruct—48.9%
CadEval—16%
ALE-Bench655.35—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.3 (#29), GPT-4.1 mini: 33.0 (#52)

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

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 23.0 (#169), GPT-4.1 mini: 10.9 (#335)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
ARC-AGI-25.9%0%
Kagi LLM Benchmark73%48.6%
ARC-AGI-140%3.5%
CritPt0.3%0%
LMArena Hard Prompts13721349
DTBench77.1%68.8%
LMCA29%21.1%
Epoch Capabilities Index141.69135.01
SimpleBench45.5%—
Chess Puzzles—7%
EnigmaEval3.1%—
Mystery Game Puzzles—7%
ForecastBench60.2—

Math Claude Sonnet 4 leads

Claude Sonnet 4: 41.5 (#71), GPT-4.1 mini: 23.1 (#264)

Math benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
OTIS Mock AIME 2024-202571.1%44.7%
Omni-MATH60.2%49.1%
LMArena Math13751343
MATH Level 584.4%87.3%
FrontierMath (Feb 2025 set)4.1%4.5%
FrontierMath (Tiers 1-3)—6.7%
FrontierMath Tier 4 (v1)0%—

Knowledge Claude Sonnet 4 leads

Claude Sonnet 4: 41.6 (#99), GPT-4.1 mini: 34.7 (#183)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
GPQA Diamond79.2%65.8%
MMLU-Pro84.3%78.3%
GPQA (HELM)70.6%61.4%
LMArena Expert13711338
Humanity's Last Exam7.8%—
SimpleQA Verified—12.7%
Confabulations13.2%—
Vectara Hallucination Rate10.3%—

Multimodal GPT-4.1 mini leads

Claude Sonnet 4: 25.6 (#116), GPT-4.1 mini: 35.2 (#77)

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

Multilingual Claude Sonnet 4 leads

Claude Sonnet 4: 46.9 (#151), GPT-4.1 mini: 45.9 (#161)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
LMArena Non-English13331318
LMArena Chinese13511329
LMArena French13641357
LMArena German13311349
LMArena Japanese13011291
LMArena Korean12931298
LMArena Russian13551324
LMArena Spanish13561319

Instruction Following GPT-4.1 mini leads

Claude Sonnet 4: 71.8 (#141), GPT-4.1 mini: 73.9 (#113)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
IFEval84%90.4%
LMArena Instruction Following13751332

Long Context Claude Sonnet 4 leads

Claude Sonnet 4: 33.6 (#254), GPT-4.1 mini: 31.8 (#270)

Long Context benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
Fiction.LiveBench46.9%44.4%
LMArena Longer Query13981344

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.3 (#127), GPT-4.1 mini: 48.8 (#193)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GPT-4.1 mini
LMArena Text13511341
LMArena Creative Writing13451300
EQ-Bench Creative Writing14831147
WildBench83.8%83.8%
LMArena Multi-Turn13761354
Short-Story Creative Writing81.4%—

Frequently asked questions

Is Claude Sonnet 4 better than GPT-4.1 mini?

Claude Sonnet 4 is the stronger model overall, scoring 40.6 to 33.5 on the Noometry Index. GPT-4.1 mini costs 8.6× 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 mini?

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

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

Claude Sonnet 4 scores higher on coding benchmarks: 44.0 versus 30.4 in the Noometry coding category.

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper