Model comparison

GPT-4o vs GPT-5.1-Codex

GPT-5.1-Codex is the stronger model overall, scoring 38.6 to 28.6 on the Noometry Index.

Last verified . 2 shared benchmarks.

GPT-4o OpenAI

28.6

Rank #324 Confirmed

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Summary

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

Side by side

GPT-4o and GPT-5.1-Codex specifications
GPT-4oGPT-5.1-Codex
ProviderOpenAIOpenAI
Noometry Index28.638.6
Released2024-05-132025-11-12
WeightsProprietaryProprietary
Context window128K400K
Max output16K128K
Input $ / M tokens$2.50$1.25
Output $ / M tokens$10$10
Results tracked726

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

Category by category

Coding GPT-5.1-Codex leads

GPT-4o: 24.8 (#328), GPT-5.1-Codex: 41.9 (#116)

Coding benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
SWE-bench Verified (bash only)21.6%66%
SWE-bench Verified31%—
Aider Polyglot45.3%—
LMArena WebDev—1337
GSO0%—
WeirdML25.1%—
BigCodeBench Instruct51.1%—
LiveBench Coding51.4%—
LMArena Coding1297—
BigCodeBench Complete61.1%—
CadEval26%—
ALE-Bench—1,245
HumanEval+87.2%—
MBPP+72.2%—

Agentic & Tool Use GPT-5.1-Codex leads

GPT-4o: 21.0 (#141), GPT-5.1-Codex: 38.0 (#33)

Agentic & Tool Use benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
METR Time Horizons40.8%70.8%
Terminal-Bench—60.4%
GDPval9.9%—
TheAgentCompany8.6%—
Cybench12.5%—
BALROG32.3%—
LMArena Search1006—

Reasoning Not comparable

GPT-4o: 9.4 (#343), GPT-5.1-Codex: —

Reasoning benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
ARC-AGI-20%—
SimpleBench17.8%—
ARC-AGI-14.5%—
CritPt0%—
Chess Puzzles13%—
EnigmaEval0.8%—
LiveBench Reasoning55.8%—
LMArena Hard Prompts1281—
DTBench64.5%—
LiveBench Data Analysis60.9%—
LMCA16.6%—
Epoch Capabilities Index128.97—
ForecastBench57.7—
LiveBench55.3%—

Math GPT-5.1-Codex leads

GPT-4o: 10.6 (#312), GPT-5.1-Codex: 30.3 (#235)

Math benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
FrontierMath (Tiers 1-3)0.4%—
OTIS Mock AIME 2024-20256.4%—
ProofBench—9%
Omni-MATH29.3%—
LiveBench Math49.5%—
LMArena Math1285—
MATH Level 553.3%—
FrontierMath (Feb 2025 set)0.3%—

Knowledge Not comparable

GPT-4o: 28.8 (#242), GPT-5.1-Codex: —

Knowledge benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
GPQA Diamond49.2%—
Humanity's Last Exam2.7%—
SimpleQA Verified26%—
MMLU-Pro71.3%—
Confabulations15.3%—
Vectara Hallucination Rate9.6%—
GPQA (HELM)52%—
LMArena Expert1250—
MMLU88.1%—

Multimodal Not comparable

GPT-4o: 34.5 (#91), GPT-5.1-Codex: —

Multimodal benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
LMArena Vision1137—
Video-MME71.9%—
GeoBench71%—
VPCT40%—
ScienceQA88.5%—

Multilingual Not comparable

GPT-4o: 43.2 (#186), GPT-5.1-Codex: —

Multilingual benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
LMArena Non-English1283—
LMArena Chinese1277—
LMArena French1304—
LMArena German1282—
LMArena Japanese1257—
LMArena Korean1234—
LMArena Russian1286—
LMArena Spanish1292—

Instruction Following Not comparable

GPT-4o: 66.6 (#207), GPT-5.1-Codex: —

Instruction Following benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
LiveBench Instruction Following68.6%—
IFEval81.7%—
LMArena Instruction Following1278—

Long Context Not comparable

GPT-4o: 39.4 (#179), GPT-5.1-Codex: —

Long Context benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
Fiction.LiveBench66.7%—
LMArena Longer Query1289—

Writing & Preference Not comparable

GPT-4o: 52.6 (#166), GPT-5.1-Codex: —

Writing & Preference benchmarks
BenchmarkGPT-4oGPT-5.1-Codex
LMArena Text1300—
LMArena Creative Writing1292—
Short-Story Creative Writing81.8%—
WildBench82.8%—
LMArena Multi-Turn1302—
LiveBench Language47.6%—

Frequently asked questions

Is GPT-4o better than GPT-5.1-Codex?

GPT-5.1-Codex is the stronger model overall, scoring 38.6 to 28.6 on the Noometry Index.

Which is cheaper, GPT-4o 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; GPT-4o lists at $2.50 and $10.

Is GPT-4o or GPT-5.1-Codex better for coding?

GPT-5.1-Codex scores higher on coding benchmarks: 41.9 versus 24.8 in the Noometry coding category.

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper