Model comparison

Claude Opus 4.1 vs GPT-5-Codex

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

Last verified . 2 shared benchmarks.

Claude Opus 4.1 Anthropic

41.0

Rank #142 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • They share 2 benchmarks with published results for both. Claude Opus 4.1 scores higher in 3 categories and GPT-5-Codex in 0 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in agentic & tool use, where Claude Opus 4.1 leads 35.0 to 31.0.
  • The biggest single-benchmark swing is WeirdML: 45.9% for Claude Opus 4.1 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.1.
  • GPT-5-Codex accepts more context: 400K tokens versus 200K.

Side by side

Claude Opus 4.1 and GPT-5-Codex specifications
Claude Opus 4.1GPT-5-Codex
ProviderAnthropicOpenAI
Noometry Index41.037.9
Released2025-08-052025-09-15
WeightsProprietaryProprietary
Context window200K400K
Max output32K128K
Input $ / M tokens$15$1.25
Output $ / M tokens$75$10
Results tracked483

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

Category by category

Coding Claude Opus 4.1 leads

Claude Opus 4.1: 44.4 (#73), GPT-5-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
WeirdML45.9%54.5%
SWE-bench Verified73.3%—
LMArena WebDev1390—
LMArena Coding1479—
ALE-Bench674.77—
AlgoTune1.34—

Agentic & Tool Use Claude Opus 4.1 leads

Claude Opus 4.1: 35.0 (#41), GPT-5-Codex: 31.0 (#72)

Agentic & Tool Use benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
Terminal-Bench38%44.3%
GDPval43.6%—
Cybench42%—
DeepResearch Bench48.3%—
LMArena Search1148—
METR Time Horizons66.8%—

Reasoning Claude Opus 4.1 leads

Claude Opus 4.1: 32.2 (#76), GPT-5-Codex: 30.9 (#83)

Reasoning benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
SimpleBench60%—
Kagi LLM Benchmark—70.3%
Chess Puzzles7%—
EnigmaEval7.2%—
EBR-Bench7.9%—
LMArena Hard Prompts1443—
Mystery Game Puzzles21%—
DTBench80%—
LMCA37.1%—
Epoch Capabilities Index144.12—
ForecastBench62—

Math Not comparable

Claude Opus 4.1: 22.3 (#277), GPT-5-Codex: —

Math benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
FrontierMath (Tiers 1-3)12.6%—
FrontierMath Tier 42.4%—
OTIS Mock AIME 2024-202568.9%—
LMArena Math1431—
FrontierMath (Feb 2025 set)7.2%—
FrontierMath Tier 4 (v1)4.2%—

Knowledge Not comparable

Claude Opus 4.1: 42.0 (#101), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
GPQA Diamond77.3%—
Humanity's Last Exam11.5%—
Confabulations17.1%—
Vectara Hallucination Rate11.8%—
LMArena Expert1439—

Multimodal Not comparable

Claude Opus 4.1: 26.8 (#119), GPT-5-Codex: —

Multimodal benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
VPCT35%—

Multilingual Not comparable

Claude Opus 4.1: 52.0 (#95), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
LMArena Non-English1405—
LMArena Chinese1427—
LMArena French1431—
LMArena German1413—
LMArena Japanese1378—
LMArena Korean1380—
LMArena Russian1422—
LMArena Spanish1448—

Instruction Following Not comparable

Claude Opus 4.1: 75.6 (#58), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
LMArena Instruction Following1435—

Long Context Not comparable

Claude Opus 4.1: 44.5 (#63), GPT-5-Codex: —

Long Context benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
LMArena Longer Query1455—

Writing & Preference Not comparable

Claude Opus 4.1: 62.4 (#74), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkClaude Opus 4.1GPT-5-Codex
LMArena Text1419—
LMArena Creative Writing1412—
Short-Story Creative Writing84.7%—
LMArena Multi-Turn1444—

Frequently asked questions

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

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

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

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

Claude Opus 4.1 scores higher on coding benchmarks: 44.4 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 Opus 4.1 and GPT-5-Codex share?

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

Related comparisons

Go deeper