Model comparison

GPT-4 vs GPT-5-Codex

GPT-5-Codex is the stronger model overall, scoring 37.9 to 29.1 on the Noometry Index.

Last verified . 1 shared benchmarks.

GPT-4 OpenAI

29.1

Rank #316 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • They share 1 benchmark with published results for both. GPT-4 scores higher in 0 categories and GPT-5-Codex in 2 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where GPT-5-Codex leads 30.9 to 17.8.
  • The biggest single-benchmark swing is WeirdML: 12.4% for GPT-4 and 54.5% for GPT-5-Codex.
  • GPT-5-Codex is cheaper at $1.25 / $10 per million input/output tokens, against $30 / $60 for GPT-4.
  • GPT-5-Codex accepts more context: 400K tokens versus 8K.

Side by side

GPT-4 and GPT-5-Codex specifications
GPT-4GPT-5-Codex
ProviderOpenAIOpenAI
Noometry Index29.137.9
Released2023-03-142025-09-15
WeightsProprietaryProprietary
Context window8K400K
Max output8K128K
Input $ / M tokens$30$1.25
Output $ / M tokens$60$10
Results tracked383

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

Category by category

Coding GPT-5-Codex leads

GPT-4: 31.6 (#283), GPT-5-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkGPT-4GPT-5-Codex
WeirdML12.4%54.5%
BigCodeBench Instruct46%—
LMArena Coding1254—
BigCodeBench Complete57.2%—
HumanEval+79.3%—

Agentic & Tool Use Not comparable

GPT-4: —, GPT-5-Codex: 31.0 (#72)

Agentic & Tool Use benchmarks
BenchmarkGPT-4GPT-5-Codex
Terminal-Bench—44.3%
METR Time Horizons36.1%—

Reasoning GPT-5-Codex leads

GPT-4: 17.8 (#289), GPT-5-Codex: 30.9 (#83)

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

Math Not comparable

GPT-4: 10.8 (#309), GPT-5-Codex: —

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

Knowledge Not comparable

GPT-4: 18.4 (#282), GPT-5-Codex: —

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

Multilingual Not comparable

GPT-4: 40.6 (#215), GPT-5-Codex: —

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

Instruction Following Not comparable

GPT-4: 65.3 (#222), GPT-5-Codex: —

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

Long Context Not comparable

GPT-4: 37.7 (#212), GPT-5-Codex: —

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

Writing & Preference Not comparable

GPT-4: 34.9 (#268), GPT-5-Codex: —

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

Frequently asked questions

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

GPT-5-Codex is the stronger model overall, scoring 37.9 to 29.1 on the Noometry Index.

Which is cheaper, GPT-4 or GPT-5-Codex?

GPT-5-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-Codex better for coding?

GPT-5-Codex scores higher on coding benchmarks: 42.4 versus 31.6 in the Noometry coding category.

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper