Model comparison

Claude Sonnet 5 vs GPT-5.4 nano

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 41.9 on the Noometry Index. GPT-5.4 nano costs 8.6× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Last verified . 34 shared benchmarks.

Claude Sonnet 5 Anthropic

54.5

Rank #26 Confirmed

GPT-5.4 nano OpenAI

41.9

Rank #111 Confirmed

Summary

  • They share 34 benchmarks with published results for both. Claude Sonnet 5 scores higher in 9 categories and GPT-5.4 nano in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 5 leads 66.1 to 40.7.
  • The biggest single-benchmark swing is ProofBench: 77% for Claude Sonnet 5 and 5% for GPT-5.4 nano.
  • GPT-5.4 nano is cheaper at $0.20 / $1.25 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • Claude Sonnet 5 accepts more context: 1M tokens versus 400K.

Side by side

Claude Sonnet 5 and GPT-5.4 nano specifications
Claude Sonnet 5GPT-5.4 nano
ProviderAnthropicOpenAI
Noometry Index54.541.9
Released2026-06-292026-03-17
WeightsProprietaryProprietary
Context window1M400K
Max output128K128K
Input $ / M tokens$2$0.20
Output $ / M tokens$10$1.25
Results tracked5140

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 (#20), GPT-5.4 nano: 43.1 (#82)

Coding benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
SciCode53.6%46.9%
WeirdML68.8%49.2%
LMArena Coding14831404
ALE-Bench1,4631,005
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1540—
GSO37.3%—

Agentic & Tool Use Not comparable

Claude Sonnet 5: 42.7 (#16), GPT-5.4 nano: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 48.2 (#37), GPT-5.4 nano: 23.8 (#159)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
CritPt16.9%9.3%
Chess Puzzles35%30%
LMArena Hard Prompts14611380
Mystery Game Puzzles35%9%
DTBench92.5%80.3%
LMCA50%36.9%
Epoch Capabilities Index156.34145.78
ForecastBench61.157.3
ARC-AGI-2—5.7%
SimpleBench60.6%—
Kagi LLM Benchmark—39.7%
NYT Connections (extended)75.1%—
ARC-AGI-1—51.5%
Surface Evolver Bench60%—
Bench to the Future 30.14—

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.1 (#21), GPT-5.4 nano: 40.7 (#76)

Math benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
FrontierMath (Tiers 1-3)65.6%44.9%
FrontierMath Tier 429.3%12.2%
OTIS Mock AIME 2024-202594.7%87.8%
ProofBench77%5%
LMArena Math14671406
FrontierMath (Feb 2025 set)—25.9%
FrontierMath Tier 4 (v1)—6.3%

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.7 (#42), GPT-5.4 nano: 41.8 (#94)

Knowledge benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
GPQA Diamond90.5%78.5%
SimpleQA Verified33.7%11.7%
LMArena Expert14911397
Vectara Hallucination Rate—3.1%

Multimodal Claude Sonnet 5 leads

Claude Sonnet 5: 42.4 (#26), GPT-5.4 nano: 36.0 (#73)

Multimodal benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
LMArena Vision12751196
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 54.0 (#55), GPT-5.4 nano: 48.8 (#136)

Multilingual benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
LMArena Non-English14311359
LMArena Chinese14751391
LMArena French14571396
LMArena German14481368
LMArena Japanese14221342
LMArena Korean14111321
LMArena Russian14521363
LMArena Spanish14361368

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.6 (#39), GPT-5.4 nano: 72.1 (#139)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
LMArena Instruction Following14531362

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#53), GPT-5.4 nano: 41.6 (#131)

Long Context benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
LMArena Longer Query14641365

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.4 (#24), GPT-5.4 nano: 55.9 (#137)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GPT-5.4 nano
LMArena Text14431372
LMArena Creative Writing14161313
LMArena Multi-Turn14541382
EQ-Bench Creative Writing1794—
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than GPT-5.4 nano?

Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 41.9 on the Noometry Index. GPT-5.4 nano costs 8.6× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 5 or GPT-5.4 nano?

GPT-5.4 nano is cheaper. It lists at $0.20 per million input tokens and $1.25 per million output tokens; Claude Sonnet 5 lists at $2 and $10.

Is Claude Sonnet 5 or GPT-5.4 nano better for coding?

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

Which has the bigger context window?

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

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

34 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and GPT-5.4 nano has 40.

Related comparisons

Go deeper