Model comparison

GPT-4.1 vs GPT-5-Codex

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

Last verified . 2 shared benchmarks.

GPT-4.1 OpenAI

35.7

Rank #215 Confirmed

GPT-5-Codex OpenAI

37.3

Rank #190 Reported

Summary

  • They share 2 benchmarks with published results for both. GPT-4.1 scores higher in 1 category and GPT-5-Codex in 2 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where GPT-5-Codex leads 30.0 to 11.7.
  • The biggest single-benchmark swing is Kagi LLM Benchmark: 52.3% for GPT-4.1 and 70.3% for GPT-5-Codex.
  • Both cost about the same: $2 input and $8 output per million tokens.
  • GPT-4.1 accepts more context: 1.05M tokens versus 400K.

Side by side

GPT-4.1 and GPT-5-Codex specifications
GPT-4.1GPT-5-Codex
ProviderOpenAIOpenAI
Noometry Index35.737.3
Released2025-04-142025-09-15
WeightsProprietaryProprietary
Context window1.05M400K
Max output33K128K
Input $ / M tokens$2$1.25
Output $ / M tokens$8$10
Results tracked523

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

Category by category

Coding GPT-5-Codex leads

GPT-4.1: 34.2 (#228), GPT-5-Codex: 41.9 (#100)

Coding benchmarks
BenchmarkGPT-4.1GPT-5-Codex
WeirdML39%54.5%
SWE-bench Verified48.5%—
SWE-bench Verified (bash only)39.6%—
Aider Polyglot52.4%—
LMArena Coding1391—
CadEval42%—
ALE-Bench558.1—

Agentic & Tool Use GPT-4.1 leads

GPT-4.1: 34.4 (#40), GPT-5-Codex: 30.8 (#66)

Agentic & Tool Use benchmarks
BenchmarkGPT-4.1GPT-5-Codex
Terminal-Bench—44.3%
Berkeley Function Calling Leaderboard54%—

Reasoning GPT-5-Codex leads

GPT-4.1: 11.7 (#334), GPT-5-Codex: 30.0 (#80)

Reasoning benchmarks
BenchmarkGPT-4.1GPT-5-Codex
Kagi LLM Benchmark52.3%70.3%
ARC-AGI-20.4%—
SimpleBench27%—
ARC-AGI-15.5%—
Chess Puzzles6%—
EnigmaEval2.2%—
LMArena Hard Prompts1384—
DTBench68.3%—
LMCA25.6%—
Epoch Capabilities Index136.79—
ForecastBench61.5—

Math Not comparable

GPT-4.1: 21.4 (#269), GPT-5-Codex: —

Math benchmarks
BenchmarkGPT-4.1GPT-5-Codex
FrontierMath (Tiers 1-3)6%—
OTIS Mock AIME 2024-202538.3%—
Omni-MATH47.1%—
LMArena Math1369—
MATH Level 583%—
FrontierMath (Feb 2025 set)5.5%—
FrontierMath Tier 4 (v1)0%—

Knowledge Not comparable

GPT-4.1: 37.0 (#152), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkGPT-4.1GPT-5-Codex
GPQA Diamond66.9%—
Humanity's Last Exam5.4%—
SimpleQA Verified31.1%—
MMLU-Pro81.1%—
Vectara Hallucination Rate5.6%—
GPQA (HELM)65.9%—
LMArena Expert1364—

Multimodal Not comparable

GPT-4.1: 37.5 (#66), GPT-5-Codex: —

Multimodal benchmarks
BenchmarkGPT-4.1GPT-5-Codex
LMArena Vision1210—
GeoBench72%—

Multilingual Not comparable

GPT-4.1: 49.6 (#128), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkGPT-4.1GPT-5-Codex
LMArena Non-English1370—
LMArena Chinese1382—
LMArena French1383—
LMArena German1380—
LMArena Japanese1320—
LMArena Korean1339—
LMArena Russian1377—
LMArena Spanish1375—

Instruction Following Not comparable

GPT-4.1: 71.5 (#148), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkGPT-4.1GPT-5-Codex
IFEval83.8%—
LMArena Instruction Following1367—

Long Context Not comparable

GPT-4.1: 40.0 (#158), GPT-5-Codex: —

Long Context benchmarks
BenchmarkGPT-4.1GPT-5-Codex
Fiction.LiveBench63.9%—
LMArena Longer Query1385—

Writing & Preference Not comparable

GPT-4.1: 57.8 (#120), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkGPT-4.1GPT-5-Codex
LMArena Text1383—
LMArena Creative Writing1363—
EQ-Bench Creative Writing1420—
WildBench85.4%—
LMArena Multi-Turn1398—

Frequently asked questions

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

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

Which is cheaper, GPT-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; GPT-4.1 lists at $2 and $8.

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

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

Which has the bigger context window?

GPT-4.1 does, with 1.05M tokens against 400K.

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

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

Related comparisons

Go deeper