Model comparison

Claude Sonnet 4.5 vs GPT-5-Codex

Claude Sonnet 4.5 is the stronger model overall, scoring 44.1 to 37.9 on the Noometry Index. GPT-5-Codex costs 1.7× less per token, which makes it the better buy when Claude Sonnet 4.5's lead doesn't matter for your workload.

Last verified . 3 shared benchmarks.

Claude Sonnet 4.5 Anthropic

44.1

Rank #81 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • They share 3 benchmarks with published results for both. Claude Sonnet 4.5 scores higher in 2 categories and GPT-5-Codex in 1 category; 3 gaps are clear of the uncertainty.
  • The widest gap is in agentic & tool use, where Claude Sonnet 4.5 leads 38.3 to 31.0.
  • The biggest single-benchmark swing is Kagi LLM Benchmark: 57.9% for Claude Sonnet 4.5 and 70.3% for GPT-5-Codex.
  • GPT-5-Codex is cheaper at $1.25 / $10 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.5.
  • GPT-5-Codex accepts more context: 400K tokens versus 200K.

Side by side

Claude Sonnet 4.5 and GPT-5-Codex specifications
Claude Sonnet 4.5GPT-5-Codex
ProviderAnthropicOpenAI
Noometry Index44.137.9
Released2025-09-292025-09-15
WeightsProprietaryProprietary
Context window200K400K
Max output64K128K
Input $ / M tokens$3$1.25
Output $ / M tokens$15$10
Results tracked733

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

Category by category

Coding Claude Sonnet 4.5 leads

Claude Sonnet 4.5: 47.3 (#61), GPT-5-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
WeirdML47.7%54.5%
SWE-bench Verified71.3%—
SWE-bench Verified (bash only)71.4%—
LMArena WebDev1393—
SWE-bench Multilingual67%—
SciCode44.7%—
GSO14.7%—
LMArena Coding1489—
ALE-Bench796.15—
AlgoTune1.52—

Agentic & Tool Use Claude Sonnet 4.5 leads

Claude Sonnet 4.5: 38.3 (#32), GPT-5-Codex: 31.0 (#72)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
Terminal-Bench46.5%44.3%
Berkeley Function Calling Leaderboard73.2%—
GDPval42.5%—
Remote Labor Index2.1%—
τ²-bench Airline72%—
τ²-bench Banking25.3%—
τ²-bench Retail72.4%—
τ²-bench Telecom84.9%—
Cybench60%—
DeepResearch Bench52.6%—
OSWorld62.9%—
LMArena Search1159—
METR Time Horizons67.4%—
Vending-Bench 23,839—

Reasoning GPT-5-Codex leads

Claude Sonnet 4.5: 26.9 (#125), GPT-5-Codex: 30.9 (#83)

Reasoning benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
Kagi LLM Benchmark57.9%70.3%
ARC-AGI-213.6%—
SimpleBench54.3%—
NYT Connections (extended)37.3%—
ARC-AGI-163.7%—
CritPt1.1%—
Chess Puzzles12%—
EnigmaEval6%—
EBR-Bench2.4%—
LMArena Hard Prompts1462—
Mystery Game Puzzles17%—
DTBench83.2%—
LMCA38.8%—
Epoch Capabilities Index146.84—
ForecastBench61.9—

Math Not comparable

Claude Sonnet 4.5: 32.3 (#216), GPT-5-Codex: —

Math benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
FrontierMath (Tiers 1-3)23.9%—
FrontierMath Tier 42.4%—
OTIS Mock AIME 2024-202577.8%—
ProofBench19%—
Omni-MATH55.3%—
LMArena Math1449—
MATH Level 597.7%—
FrontierMath (Feb 2025 set)15.2%—
FrontierMath Tier 4 (v1)4.2%—

Knowledge Not comparable

Claude Sonnet 4.5: 48.4 (#76), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
GPQA Diamond82.3%—
Humanity's Last Exam13.7%—
SimpleQA Verified30.7%—
MMLU-Pro86.9%—
Vectara Hallucination Rate12%—
GPQA (HELM)68.6%—
LMArena Expert1482—

Multimodal Not comparable

Claude Sonnet 4.5: 34.8 (#89), GPT-5-Codex: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
VPCT39.8%—
LMArena Document1450—

Multilingual Not comparable

Claude Sonnet 4.5: 53.4 (#69), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
LMArena Non-English1425—
LMArena Chinese1459—
LMArena French1458—
LMArena German1427—
LMArena Japanese1390—
LMArena Korean1403—
LMArena Russian1437—
LMArena Spanish1457—

Instruction Following Not comparable

Claude Sonnet 4.5: 75.0 (#78), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
IFEval85%—
LMArena Instruction Following1459—

Long Context Not comparable

Claude Sonnet 4.5: 45.2 (#46), GPT-5-Codex: —

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

Writing & Preference Not comparable

Claude Sonnet 4.5: 66.5 (#34), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4.5GPT-5-Codex
LMArena Text1439—
LMArena Creative Writing1442—
EQ-Bench Creative Writing1678—
WildBench85.4%—
LMArena Multi-Turn1465—

Frequently asked questions

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

Claude Sonnet 4.5 is the stronger model overall, scoring 44.1 to 37.9 on the Noometry Index. GPT-5-Codex costs 1.7× less per token, which makes it the better buy when Claude Sonnet 4.5's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 4.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 4.5 lists at $3 and $15.

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

Claude Sonnet 4.5 scores higher on coding benchmarks: 47.3 versus 42.4 in the Noometry coding category.

Which has the bigger context window?

GPT-5-Codex does, with 400K tokens against 200K.

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

3 benchmarks have published results for both models. Claude Sonnet 4.5 has 73 scored results on Noometry and GPT-5-Codex has 3.

Related comparisons

Go deeper