Model comparison

Claude Sonnet 5 vs GPT-5-Codex

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

Last verified . 1 shared benchmarks.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • They share 1 benchmark with published results for both. Claude Sonnet 5 scores higher in 3 categories and GPT-5-Codex in 0 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Claude Sonnet 5 leads 49.1 to 30.9.
  • The biggest single-benchmark swing is WeirdML: 68.8% for Claude Sonnet 5 and 54.5% for GPT-5-Codex.
  • GPT-5-Codex is cheaper at $1.25 / $10 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-Codex specifications
Claude Sonnet 5GPT-5-Codex
ProviderAnthropicOpenAI
Noometry Index54.637.9
Released2026-06-292025-09-15
WeightsProprietaryProprietary
Context window1M400K
Max output128K128K
Input $ / M tokens$2$1.25
Output $ / M tokens$10$10
Results tracked513

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-5-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
WeirdML68.8%54.5%
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1541—
SciCode54.3%—
GSO37.3%—
LMArena Coding1483—
ALE-Bench1,463—

Agentic & Tool Use Claude Sonnet 5 leads

Claude Sonnet 5: 42.8 (#18), GPT-5-Codex: 31.0 (#72)

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

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 49.1 (#39), GPT-5-Codex: 30.9 (#83)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
SimpleBench60.6%—
Kagi LLM Benchmark—70.3%
NYT Connections (extended)75.1%—
CritPt16.9%—
Chess Puzzles35%—
LMArena Hard Prompts1461—
Mystery Game Puzzles35%—
DTBench92.5%—
LMCA50%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
Epoch Capabilities Index156.21—
ForecastBench61.1—

Math Not comparable

Claude Sonnet 5: 66.2 (#27), GPT-5-Codex: —

Math benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
OTIS Mock AIME 2024-202594.7%—
ProofBench77%—
LMArena Math1467—

Knowledge Not comparable

Claude Sonnet 5: 55.6 (#47), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
GPQA Diamond90.5%—
SimpleQA Verified33.7%—
LMArena Expert1490—

Multimodal Not comparable

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

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

Multilingual Not comparable

Claude Sonnet 5: 53.8 (#55), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
LMArena Non-English1431—
LMArena Chinese1477—
LMArena French1460—
LMArena German1440—
LMArena Japanese1422—
LMArena Korean1411—
LMArena Russian1451—
LMArena Spanish1437—

Instruction Following Not comparable

Claude Sonnet 5: 76.3 (#41), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
LMArena Instruction Following1452—

Long Context Not comparable

Claude Sonnet 5: 44.8 (#55), GPT-5-Codex: —

Long Context benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
LMArena Longer Query1463—

Writing & Preference Not comparable

Claude Sonnet 5: 69.2 (#25), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GPT-5-Codex
LMArena Text1442—
LMArena Creative Writing1416—
EQ-Bench Creative Writing1794—
EQ-Bench 41236—
LMArena Multi-Turn1454—

Frequently asked questions

Is Claude Sonnet 5 better than GPT-5-Codex?

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

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

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

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

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 42.4 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-Codex share?

1 benchmark has published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and GPT-5-Codex has 3.

Related comparisons

Go deeper