Model comparison

GPT-4 vs GPT-5.1-Codex

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

Last verified . 1 shared benchmarks.

GPT-4 OpenAI

28.9

Rank #308 Confirmed

GPT-5.1-Codex OpenAI

38.2

Rank #178 Reported

Summary

  • They share 1 benchmark with published results for both. GPT-4 scores higher in 0 categories and GPT-5.1-Codex in 2 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in math, where GPT-5.1-Codex leads 29.3 to 10.1.
  • GPT-5.1-Codex is cheaper at $1.25 / $10 per million input/output tokens, against $30 / $60 for GPT-4.
  • GPT-5.1-Codex accepts more context: 400K tokens versus 8K.

Side by side

GPT-4 and GPT-5.1-Codex specifications
GPT-4GPT-5.1-Codex
ProviderOpenAIOpenAI
Noometry Index28.938.2
Released2023-03-142025-11-12
WeightsProprietaryProprietary
Context window8K400K
Max output8K128K
Input $ / M tokens$30$1.25
Output $ / M tokens$60$10
Results tracked386

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

Category by category

Coding GPT-5.1-Codex leads

GPT-4: 31.2 (#277), GPT-5.1-Codex: 41.7 (#107)

Coding benchmarks
BenchmarkGPT-4GPT-5.1-Codex
SWE-bench Verified (bash only)—66%
LMArena WebDev—1337
WeirdML12.4%—
BigCodeBench Instruct46%—
LMArena Coding1254—
BigCodeBench Complete57.2%—
ALE-Bench—1,245
HumanEval+79.3%—

Agentic & Tool Use Not comparable

GPT-4: —, GPT-5.1-Codex: 37.8 (#32)

Agentic & Tool Use benchmarks
BenchmarkGPT-4GPT-5.1-Codex
METR Time Horizons36.1%70.8%
Terminal-Bench—60.4%

Reasoning Not comparable

GPT-4: 17.3 (#285), GPT-5.1-Codex: —

Reasoning benchmarks
BenchmarkGPT-4GPT-5.1-Codex
Chess Puzzles4%—
LMArena Hard Prompts1241—
Mystery Game Puzzles12%—
DTBench62.7%—
LMCA17.1%—
BIG-Bench Hard75.1%—
Epoch Capabilities Index125.88—
ForecastBench57.8—
HellaSwag95.3%—
WinoGrande87.5%—

Math GPT-5.1-Codex leads

GPT-4: 10.1 (#304), GPT-5.1-Codex: 29.3 (#218)

Math benchmarks
BenchmarkGPT-4GPT-5.1-Codex
OTIS Mock AIME 2024-20251.1%—
ProofBench—9%
LMArena Math1269—
MATH Level 523%—
GSM8K92%—

Knowledge Not comparable

GPT-4: 18.4 (#277), GPT-5.1-Codex: —

Knowledge benchmarks
BenchmarkGPT-4GPT-5.1-Codex
GPQA Diamond35.7%—
LMArena Expert1211—
MMLU86.4%—
TriviaQA84.8%—

Multilingual Not comparable

GPT-4: 40.8 (#210), GPT-5.1-Codex: —

Multilingual benchmarks
BenchmarkGPT-4GPT-5.1-Codex
LMArena Non-English1246—
LMArena Chinese1242—
LMArena French1282—
LMArena German1251—
LMArena Japanese1209—
LMArena Korean1184—
LMArena Russian1251—
LMArena Spanish1261—

Instruction Following Not comparable

GPT-4: 65.5 (#217), GPT-5.1-Codex: —

Instruction Following benchmarks
BenchmarkGPT-4GPT-5.1-Codex
LMArena Instruction Following1241—

Long Context Not comparable

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

Long Context benchmarks
BenchmarkGPT-4GPT-5.1-Codex
LMArena Longer Query1244—

Writing & Preference Not comparable

GPT-4: 35.0 (#263), GPT-5.1-Codex: —

Writing & Preference benchmarks
BenchmarkGPT-4GPT-5.1-Codex
LMArena Text1263—
LMArena Creative Writing1244—
EQ-Bench Creative Writing752—
LMArena Multi-Turn1257—

Frequently asked questions

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

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

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

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

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

Which has the bigger context window?

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

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

1 benchmark has published results for both models. GPT-4 has 38 scored results on Noometry and GPT-5.1-Codex has 6.

Related comparisons

Go deeper