Model comparison

Claude Opus 4 vs GPT-5.1-Codex

Claude Opus 4 is the stronger model overall, scoring 43.1 to 38.6 on the Noometry Index. GPT-5.1-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

43.1

Rank #100 Confirmed

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Summary

  • They share 2 benchmarks with published results for both. Claude Opus 4 scores higher in 2 categories and GPT-5.1-Codex in 1 category; 3 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Opus 4 leads 42.0 to 30.3.
  • GPT-5.1-Codex is cheaper at $1.25 / $10 per million input/output tokens, against $15 / $75 for Claude Opus 4.
  • GPT-5.1-Codex accepts more context: 400K tokens versus 200K.

Side by side

Claude Opus 4 and GPT-5.1-Codex specifications
Claude Opus 4GPT-5.1-Codex
ProviderAnthropicOpenAI
Noometry Index43.138.6
Released2025-05-222025-11-12
WeightsProprietaryProprietary
Context window200K400K
Max output32K128K
Input $ / M tokens$15$1.25
Output $ / M tokens$75$10
Results tracked566

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

Category by category

Coding Claude Opus 4 leads

Claude Opus 4: 47.2 (#62), GPT-5.1-Codex: 41.9 (#116)

Coding benchmarks
BenchmarkClaude Opus 4GPT-5.1-Codex
SWE-bench Verified (bash only)67.6%66%
SWE-bench Verified70.7%—
Aider Polyglot72%—
LMArena WebDev—1337
GSO6.9%—
WeirdML43.7%—
LMArena Coding1442—
ALE-Bench—1,245
AlgoTune1.33—

Agentic & Tool Use GPT-5.1-Codex leads

Claude Opus 4: 34.8 (#42), GPT-5.1-Codex: 38.0 (#33)

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

Reasoning Not comparable

Claude Opus 4: 27.3 (#121), GPT-5.1-Codex: —

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

Math Claude Opus 4 leads

Claude Opus 4: 42.0 (#86), GPT-5.1-Codex: 30.3 (#235)

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

Knowledge Not comparable

Claude Opus 4: 44.0 (#88), GPT-5.1-Codex: —

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

Multimodal Not comparable

Claude Opus 4: 31.5 (#106), GPT-5.1-Codex: —

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

Multilingual Not comparable

Claude Opus 4: 48.8 (#138), GPT-5.1-Codex: —

Multilingual benchmarks
BenchmarkClaude Opus 4GPT-5.1-Codex
LMArena Non-English1362—
LMArena Chinese1386—
LMArena French1372—
LMArena German1391—
LMArena Japanese1331—
LMArena Korean1321—
LMArena Russian1392—
LMArena Spanish1389—

Instruction Following Not comparable

Claude Opus 4: 77.1 (#28), GPT-5.1-Codex: —

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

Long Context Not comparable

Claude Opus 4: 39.6 (#172), GPT-5.1-Codex: —

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

Writing & Preference Not comparable

Claude Opus 4: 61.2 (#89), GPT-5.1-Codex: —

Writing & Preference benchmarks
BenchmarkClaude Opus 4GPT-5.1-Codex
LMArena Text1377—
LMArena Creative Writing1387—
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.1-Codex?

Claude Opus 4 is the stronger model overall, scoring 43.1 to 38.6 on the Noometry Index. GPT-5.1-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.1-Codex?

GPT-5.1-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.1-Codex better for coding?

Claude Opus 4 scores higher on coding benchmarks: 47.2 versus 41.9 in the Noometry coding category.

Which has the bigger context window?

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

How many benchmarks do Claude Opus 4 and GPT-5.1-Codex share?

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

Related comparisons

Go deeper