Model comparison

GPT-5.1-Codex vs o4-mini

o4-mini is the stronger model overall, scoring 41.6 to 38.6 on the Noometry Index.

Last verified . 3 shared benchmarks.

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

o4-mini OpenAI

41.6

Rank #132 Confirmed

Summary

  • They share 3 benchmarks with published results for both. GPT-5.1-Codex scores higher in 2 categories and o4-mini in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in math, where o4-mini leads 40.8 to 30.3.
  • The biggest single-benchmark swing is SWE-bench Verified (bash only): 66% for GPT-5.1-Codex and 45% for o4-mini.
  • o4-mini is cheaper at $1.10 / $4.40 per million input/output tokens, against $1.25 / $10 for GPT-5.1-Codex.
  • GPT-5.1-Codex accepts more context: 400K tokens versus 200K.

Side by side

GPT-5.1-Codex and o4-mini specifications
GPT-5.1-Codexo4-mini
ProviderOpenAIOpenAI
Noometry Index38.641.6
Released2025-11-122025-04-16
WeightsProprietaryProprietary
Context window400K200K
Max output128K100K
Input $ / M tokens$1.25$1.10
Output $ / M tokens$10$4.40
Results tracked660

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

Category by category

Coding Too close to call

GPT-5.1-Codex: 41.9 (#116), o4-mini: 40.9 (#127)

Coding benchmarks
BenchmarkGPT-5.1-Codexo4-mini
SWE-bench Verified (bash only)66%45%
ALE-Bench1,245826.17
Aider Polyglot—72%
LMArena WebDev1337—
GSO—3.6%
WeirdML—52.6%
LMArena Coding—1368
CadEval—62%
AlgoTune—1.72

Agentic & Tool Use GPT-5.1-Codex leads

GPT-5.1-Codex: 38.0 (#33), o4-mini: 32.6 (#61)

Agentic & Tool Use benchmarks
BenchmarkGPT-5.1-Codexo4-mini
METR Time Horizons70.8%63.9%
Terminal-Bench60.4%—
Berkeley Function Calling Leaderboard—53.2%
GDPval—25.3%

Reasoning Not comparable

GPT-5.1-Codex: —, o4-mini: 24.6 (#162)

Reasoning benchmarks
BenchmarkGPT-5.1-Codexo4-mini
ARC-AGI-2—6.1%
SimpleBench—38.7%
Kagi LLM Benchmark—67.6%
ARC-AGI-1—58.7%
CritPt—0.6%
Chess Puzzles—26%
EnigmaEval—9.2%
LMArena Hard Prompts—1351
Mystery Game Puzzles—5%
DTBench—77.6%
LMCA—26.5%
Epoch Capabilities Index—145.64
ForecastBench—61.8

Math o4-mini leads

GPT-5.1-Codex: 30.3 (#235), o4-mini: 40.8 (#89)

Math benchmarks
BenchmarkGPT-5.1-Codexo4-mini
FrontierMath (Tiers 1-3)—36.1%
FrontierMath Tier 4—4.9%
OTIS Mock AIME 2024-2025—81.7%
ProofBench9%—
Omni-MATH—72%
LMArena Math—1389
MATH Level 5—97.8%
FrontierMath (Feb 2025 set)—24.8%
FrontierMath Tier 4 (v1)—6.3%

Knowledge Not comparable

GPT-5.1-Codex: —, o4-mini: 43.6 (#91)

Knowledge benchmarks
BenchmarkGPT-5.1-Codexo4-mini
GPQA Diamond—79.6%
Humanity's Last Exam—18.1%
SimpleQA Verified—19.6%
MMLU-Pro—82%
Confabulations—15.8%
Vectara Hallucination Rate—18.6%
GPQA (HELM)—73.5%
LMArena Expert—1343

Multimodal Not comparable

GPT-5.1-Codex: —, o4-mini: 40.2 (#49)

Multimodal benchmarks
BenchmarkGPT-5.1-Codexo4-mini
LMArena Vision—1194
GeoBench—64%
VPCT—57.5%

Multilingual Not comparable

GPT-5.1-Codex: —, o4-mini: 47.0 (#154)

Multilingual benchmarks
BenchmarkGPT-5.1-Codexo4-mini
LMArena Non-English—1337
LMArena Chinese—1354
LMArena French—1364
LMArena German—1336
LMArena Japanese—1308
LMArena Korean—1312
LMArena Russian—1334
LMArena Spanish—1347

Instruction Following Not comparable

GPT-5.1-Codex: —, o4-mini: 75.2 (#68)

Instruction Following benchmarks
BenchmarkGPT-5.1-Codexo4-mini
IFEval—92.8%
LMArena Instruction Following—1321

Long Context Not comparable

GPT-5.1-Codex: —, o4-mini: 45.5 (#33)

Long Context benchmarks
BenchmarkGPT-5.1-Codexo4-mini
Fiction.LiveBench—77.8%
LMArena Longer Query—1315

Writing & Preference Not comparable

GPT-5.1-Codex: —, o4-mini: 54.0 (#152)

Writing & Preference benchmarks
BenchmarkGPT-5.1-Codexo4-mini
LMArena Text—1353
LMArena Creative Writing—1294
Short-Story Creative Writing—75%
WildBench—85.4%
LMArena Multi-Turn—1350

Frequently asked questions

Is GPT-5.1-Codex better than o4-mini?

o4-mini is the stronger model overall, scoring 41.6 to 38.6 on the Noometry Index.

Which is cheaper, GPT-5.1-Codex or o4-mini?

o4-mini is cheaper. It lists at $1.10 per million input tokens and $4.40 per million output tokens; GPT-5.1-Codex lists at $1.25 and $10.

Is GPT-5.1-Codex or o4-mini better for coding?

They score almost the same on coding (41.9 vs 40.9); test both on your own repository before choosing.

Which has the bigger context window?

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

How many benchmarks do GPT-5.1-Codex and o4-mini share?

3 benchmarks have published results for both models. GPT-5.1-Codex has 6 scored results on Noometry and o4-mini has 60.

Related comparisons

Go deeper