Model comparison

Claude Sonnet 4 vs GPT-4

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 29.1 on the Noometry Index.

Last verified . 27 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Summary

  • They share 27 benchmarks with published results for both. Claude Sonnet 4 scores higher in 7 categories and GPT-4 in 1 category; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 4 leads 43.3 to 10.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 71.1% for Claude Sonnet 4 and 1.1% for GPT-4.
  • Claude Sonnet 4 is cheaper at $3 / $15 per million input/output tokens, against $30 / $60 for GPT-4.
  • Claude Sonnet 4 accepts more context: 200K tokens versus 8K.

Side by side

Claude Sonnet 4 and GPT-4 specifications
Claude Sonnet 4GPT-4
ProviderAnthropicOpenAI
Noometry Index40.829.1
Released2025-05-222023-03-14
WeightsProprietaryProprietary
Context window200K8K
Max output64K8K
Input $ / M tokens$3$30
Output $ / M tokens$15$60
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: 31.6 (#283)

Coding benchmarks
BenchmarkClaude Sonnet 4GPT-4
WeirdML46.1%12.4%
LMArena Coding14141254
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
SciCode40%—
GSO4.9%—
BigCodeBench Instruct—46%
BigCodeBench Complete—57.2%
ALE-Bench655.35—
HumanEval+—79.3%

Agentic & Tool Use Not comparable

Claude Sonnet 4: 38.5 (#31), GPT-4: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4GPT-4
METR Time Horizons62%36.1%
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), GPT-4: 17.8 (#289)

Reasoning benchmarks
BenchmarkClaude Sonnet 4GPT-4
LMArena Hard Prompts13721241
DTBench77.1%62.7%
LMCA29%17.1%
Epoch Capabilities Index141.69125.89
ForecastBench60.257.8
ARC-AGI-25.9%—
SimpleBench45.5%—
Kagi LLM Benchmark73%—
ARC-AGI-140%—
CritPt0.3%—
Chess Puzzles—4%
EnigmaEval3.1%—
Mystery Game Puzzles—12%
BIG-Bench Hard—75.1%
HellaSwag—95.3%
WinoGrande—87.5%

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), GPT-4: 10.8 (#309)

Math benchmarks
BenchmarkClaude Sonnet 4GPT-4
OTIS Mock AIME 2024-202571.1%1.1%
LMArena Math13751269
MATH Level 584.4%23%
Omni-MATH60.2%—
FrontierMath (Feb 2025 set)4.1%—
FrontierMath Tier 4 (v1)0%—
GSM8K—92%

Knowledge Claude Sonnet 4 leads

Claude Sonnet 4: 41.8 (#108), GPT-4: 18.4 (#282)

Knowledge benchmarks
BenchmarkClaude Sonnet 4GPT-4
GPQA Diamond79.2%35.7%
LMArena Expert13721211
Humanity's Last Exam7.8%—
MMLU-Pro84.3%—
Confabulations13.2%—
Vectara Hallucination Rate10.3%—
GPQA (HELM)70.6%—
MMLU—86.4%
TriviaQA—84.8%

Multimodal Not comparable

Claude Sonnet 4: 26.2 (#121), GPT-4: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4GPT-4
LMArena Vision1191—
GeoBench37%—
VPCT34%—
MindCube44.8%—

Multilingual Claude Sonnet 4 leads

Claude Sonnet 4: 46.7 (#156), GPT-4: 40.6 (#215)

Multilingual benchmarks
BenchmarkClaude Sonnet 4GPT-4
LMArena Non-English13331246
LMArena Chinese13501242
LMArena French13631283
LMArena German13311251
LMArena Japanese13021209
LMArena Korean12911184
LMArena Russian13551251
LMArena Spanish13571261

Instruction Following Claude Sonnet 4 leads

Claude Sonnet 4: 71.7 (#145), GPT-4: 65.3 (#222)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4GPT-4
LMArena Instruction Following13761241
IFEval84%—

Long Context GPT-4 leads

Claude Sonnet 4: 33.7 (#259), GPT-4: 37.7 (#212)

Long Context benchmarks
BenchmarkClaude Sonnet 4GPT-4
LMArena Longer Query13981244
Fiction.LiveBench46.9%—

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.1 (#132), GPT-4: 34.9 (#268)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4GPT-4
LMArena Text13511263
LMArena Creative Writing13451244
EQ-Bench Creative Writing1483752
LMArena Multi-Turn13761257
Short-Story Creative Writing81.4%—
WildBench83.8%—

Frequently asked questions

Is Claude Sonnet 4 better than GPT-4?

Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 29.1 on the Noometry Index.

Which is cheaper, Claude Sonnet 4 or GPT-4?

Claude Sonnet 4 is cheaper. It lists at $3 per million input tokens and $15 per million output tokens; GPT-4 lists at $30 and $60.

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

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

Which has the bigger context window?

Claude Sonnet 4 does, with 200K tokens against 8K.

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

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

Related comparisons

Go deeper