Model comparison

Claude Opus 4 vs GPT-5-Codex

Claude Opus 4 is the stronger model overall, scoring 42.9 to 37.3 on the Noometry Index. GPT-5-Codex costs 8.7× less per token, which makes it the better buy when Claude Opus 4's lead doesn't matter for your workload.

Last verified . 2 shared benchmarks.

Claude Opus 4 Anthropic

42.9

Rank #93 Confirmed

GPT-5-Codex OpenAI

37.3

Rank #190 Reported

Summary

  • They share 2 benchmarks with published results for both. Claude Opus 4 scores higher in 2 categories and GPT-5-Codex in 1 category; 3 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Claude Opus 4 leads 47.8 to 41.9.
  • The biggest single-benchmark swing is WeirdML: 43.7% for Claude Opus 4 and 54.5% for GPT-5-Codex.
  • GPT-5-Codex is cheaper at $1.25 / $10 per million input/output tokens, against $15 / $75 for Claude Opus 4.
  • GPT-5-Codex accepts more context: 400K tokens versus 200K.

Side by side

Claude Opus 4 and GPT-5-Codex specifications
Claude Opus 4GPT-5-Codex
ProviderAnthropicOpenAI
Noometry Index42.937.3
Released2025-05-222025-09-15
WeightsProprietaryProprietary
Context window200K400K
Max output32K128K
Input $ / M tokens$15$1.25
Output $ / M tokens$75$10
Results tracked563

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

Category by category

Coding Claude Opus 4 leads

Claude Opus 4: 47.8 (#55), GPT-5-Codex: 41.9 (#100)

Coding benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
WeirdML43.7%54.5%
SWE-bench Verified70.7%—
SWE-bench Verified (bash only)67.6%—
Aider Polyglot72%—
GSO6.9%—
LMArena Coding1442—
AlgoTune1.33—

Agentic & Tool Use Claude Opus 4 leads

Claude Opus 4: 34.5 (#39), GPT-5-Codex: 30.8 (#66)

Agentic & Tool Use benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
Terminal-Bench—44.3%
Cybench38%—
DeepResearch Bench46.8%—
LMArena Search1127—
METR Time Horizons63.9%—

Reasoning GPT-5-Codex leads

Claude Opus 4: 27.4 (#104), GPT-5-Codex: 30.0 (#80)

Reasoning benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
Kagi LLM Benchmark74.3%70.3%
ARC-AGI-28.6%—
SimpleBench58.8%—
ARC-AGI-135.7%—
CritPt0.3%—
EnigmaEval5.6%—
LMArena Hard Prompts1399—
DTBench81.6%—
LMCA37.4%—
Epoch Capabilities Index142.67—
ForecastBench61.1—

Math Not comparable

Claude Opus 4: 40.2 (#80), GPT-5-Codex: —

Math benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
OTIS Mock AIME 2024-202564.4%—
Omni-MATH61.6%—
LMArena Math1391—
MATH Level 585%—
FrontierMath (Feb 2025 set)4.5%—
FrontierMath Tier 4 (v1)4.2%—

Knowledge Not comparable

Claude Opus 4: 43.9 (#82), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
GPQA Diamond76.3%—
Humanity's Last Exam10.7%—
MMLU-Pro87.5%—
Confabulations15.9%—
Vectara Hallucination Rate12%—
GPQA (HELM)70.8%—
LMArena Expert1384—

Multimodal Not comparable

Claude Opus 4: 30.9 (#101), GPT-5-Codex: —

Multimodal benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
LMArena Vision1192—
GeoBench49%—
VPCT38%—

Multilingual Not comparable

Claude Opus 4: 49.0 (#133), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
LMArena Non-English1362—
LMArena Chinese1386—
LMArena French1370—
LMArena German1391—
LMArena Japanese1332—
LMArena Korean1318—
LMArena Russian1392—
LMArena Spanish1388—

Instruction Following Not comparable

Claude Opus 4: 77.3 (#26), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
IFEval91.8%—
LMArena Instruction Following1406—

Long Context Not comparable

Claude Opus 4: 39.5 (#167), GPT-5-Codex: —

Long Context benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
Fiction.LiveBench61.1%—
LMArena Longer Query1422—

Writing & Preference Not comparable

Claude Opus 4: 61.4 (#85), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkClaude Opus 4GPT-5-Codex
LMArena Text1377—
LMArena Creative Writing1386—
Short-Story Creative Writing83.6%—
EQ-Bench Creative Writing1580—
WildBench85.2%—
LMArena Multi-Turn1396—

Frequently asked questions

Is Claude Opus 4 better than GPT-5-Codex?

Claude Opus 4 is the stronger model overall, scoring 42.9 to 37.3 on the Noometry Index. GPT-5-Codex costs 8.7× less per token, which makes it the better buy when Claude Opus 4's lead doesn't matter for your workload.

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

Is Claude Opus 4 or GPT-5-Codex better for coding?

Claude Opus 4 scores higher on coding benchmarks: 47.8 versus 41.9 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 Opus 4 and GPT-5-Codex share?

2 benchmarks have published results for both models. Claude Opus 4 has 56 scored results on Noometry and GPT-5-Codex has 3.

Related comparisons

Go deeper