Model comparison

GPT-4.1 vs GPT-5.2 Codex

GPT-5.2 Codex is the stronger model overall, scoring 42.6 to 35.9 on the Noometry Index.

Last verified . 2 shared benchmarks.

GPT-4.1 OpenAI

35.9

Rank #219 Confirmed

GPT-5.2 Codex OpenAI

42.6

Rank #111 Reported

Summary

  • They share 2 benchmarks with published results for both. GPT-4.1 scores higher in 0 categories and GPT-5.2 Codex in 2 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where GPT-5.2 Codex leads 45.5 to 34.4.
  • The biggest single-benchmark swing is SWE-bench Verified (bash only): 39.6% for GPT-4.1 and 72.8% for GPT-5.2 Codex.
  • GPT-4.1 is cheaper at $2 / $8 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
  • GPT-4.1 accepts more context: 1.05M tokens versus 400K.

Side by side

GPT-4.1 and GPT-5.2 Codex specifications
GPT-4.1GPT-5.2 Codex
ProviderOpenAIOpenAI
Noometry Index35.942.6
Released2025-04-142025-12-18
WeightsProprietaryProprietary
Context window1.05M400K
Max output33K128K
Input $ / M tokens$2$1.75
Output $ / M tokens$8$14
Results tracked525

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

Category by category

Coding GPT-5.2 Codex leads

GPT-4.1: 34.4 (#238), GPT-5.2 Codex: 45.5 (#71)

Coding benchmarks
BenchmarkGPT-4.1GPT-5.2 Codex
SWE-bench Verified (bash only)39.6%72.8%
ALE-Bench558.11,300
SWE-bench Verified48.5%—
Aider Polyglot52.4%—
LMArena WebDev—1339
SWE-bench Multilingual—66.3%
WeirdML39%—
LMArena Coding1391—
CadEval42%—

Agentic & Tool Use GPT-5.2 Codex leads

GPT-4.1: 34.7 (#43), GPT-5.2 Codex: 41.0 (#22)

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

Reasoning Not comparable

GPT-4.1: 11.7 (#339), GPT-5.2 Codex: —

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

Math Not comparable

GPT-4.1: 22.3 (#280), GPT-5.2 Codex: —

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

Knowledge Not comparable

GPT-4.1: 37.1 (#160), GPT-5.2 Codex: —

Knowledge benchmarks
BenchmarkGPT-4.1GPT-5.2 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: 38.2 (#67), GPT-5.2 Codex: —

Multimodal benchmarks
BenchmarkGPT-4.1GPT-5.2 Codex
LMArena Vision1211—
GeoBench72%—

Multilingual Not comparable

GPT-4.1: 49.4 (#133), GPT-5.2 Codex: —

Multilingual benchmarks
BenchmarkGPT-4.1GPT-5.2 Codex
LMArena Non-English1370—
LMArena Chinese1382—
LMArena French1382—
LMArena German1381—
LMArena Japanese1319—
LMArena Korean1339—
LMArena Russian1377—
LMArena Spanish1376—

Instruction Following Not comparable

GPT-4.1: 71.3 (#153), GPT-5.2 Codex: —

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

Long Context Not comparable

GPT-4.1: 40.0 (#163), GPT-5.2 Codex: —

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

Writing & Preference Not comparable

GPT-4.1: 57.6 (#125), GPT-5.2 Codex: —

Writing & Preference benchmarks
BenchmarkGPT-4.1GPT-5.2 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.2 Codex?

GPT-5.2 Codex is the stronger model overall, scoring 42.6 to 35.9 on the Noometry Index.

Which is cheaper, GPT-4.1 or GPT-5.2 Codex?

GPT-4.1 is cheaper. It lists at $2 per million input tokens and $8 per million output tokens; GPT-5.2 Codex lists at $1.75 and $14.

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

GPT-5.2 Codex scores higher on coding benchmarks: 45.5 versus 34.4 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.2 Codex share?

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

Related comparisons

Go deeper