Model comparison

Claude Sonnet 5 vs GPT-4

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 29.1 on the Noometry Index.

Last verified . 27 shared benchmarks.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Summary

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

Side by side

Claude Sonnet 5 and GPT-4 specifications
Claude Sonnet 5GPT-4
ProviderAnthropicOpenAI
Noometry Index54.629.1
Released2026-06-292023-03-14
WeightsProprietaryProprietary
Context window1M8K
Max output128K8K
Input $ / M tokens$2$30
Output $ / M tokens$10$60
Results tracked5138

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 (#26), GPT-4: 31.6 (#283)

Coding benchmarks
BenchmarkClaude Sonnet 5GPT-4
WeirdML68.8%12.4%
LMArena Coding14831254
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1541—
SciCode54.3%—
GSO37.3%—
BigCodeBench Instruct—46%
BigCodeBench Complete—57.2%
ALE-Bench1,463—
HumanEval+—79.3%

Agentic & Tool Use Not comparable

Claude Sonnet 5: 42.8 (#18), GPT-4: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5GPT-4
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—
METR Time Horizons—36.1%
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 49.1 (#39), GPT-4: 17.8 (#289)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GPT-4
Chess Puzzles35%4%
LMArena Hard Prompts14611241
Mystery Game Puzzles35%12%
DTBench92.5%62.7%
LMCA50%17.1%
Epoch Capabilities Index156.21125.89
ForecastBench61.157.8
SimpleBench60.6%—
NYT Connections (extended)75.1%—
CritPt16.9%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
BIG-Bench Hard—75.1%
HellaSwag—95.3%
WinoGrande—87.5%

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.2 (#27), GPT-4: 10.8 (#309)

Math benchmarks
BenchmarkClaude Sonnet 5GPT-4
OTIS Mock AIME 2024-202594.7%1.1%
LMArena Math14671269
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
ProofBench77%—
MATH Level 5—23%
GSM8K—92%

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.6 (#47), GPT-4: 18.4 (#282)

Knowledge benchmarks
BenchmarkClaude Sonnet 5GPT-4
GPQA Diamond90.5%35.7%
LMArena Expert14901211
SimpleQA Verified33.7%—
MMLU—86.4%
TriviaQA—84.8%

Multimodal Not comparable

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

Multimodal benchmarks
BenchmarkClaude Sonnet 5GPT-4
LMArena Vision1274—
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 53.8 (#55), GPT-4: 40.6 (#215)

Multilingual benchmarks
BenchmarkClaude Sonnet 5GPT-4
LMArena Non-English14311246
LMArena Chinese14771242
LMArena French14601283
LMArena German14401251
LMArena Japanese14221209
LMArena Korean14111184
LMArena Russian14511251
LMArena Spanish14371261

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.3 (#41), GPT-4: 65.3 (#222)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GPT-4
LMArena Instruction Following14521241

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#55), GPT-4: 37.7 (#212)

Long Context benchmarks
BenchmarkClaude Sonnet 5GPT-4
LMArena Longer Query14631244

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.2 (#25), GPT-4: 34.9 (#268)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GPT-4
LMArena Text14421263
LMArena Creative Writing14161244
EQ-Bench Creative Writing1794752
LMArena Multi-Turn14541257
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than GPT-4?

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 29.1 on the Noometry Index.

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

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

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

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

Which has the bigger context window?

Claude Sonnet 5 does, with 1M tokens against 8K.

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

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

Related comparisons

Go deeper