Model comparison

GPT-4.1 nano vs GPT-5.2 Codex

GPT-5.2 Codex is the stronger model overall, scoring 42.2 to 27.7 on the Noometry Index. GPT-4.1 nano costs 27× less per token, which makes it the better buy when GPT-5.2 Codex's lead doesn't matter for your workload.

Last verified . 0 shared benchmarks.

GPT-4.1 nano OpenAI

27.7

Rank #322 Confirmed

GPT-5.2 Codex OpenAI

42.2

Rank #107 Reported

Summary

  • The widest gap is in coding, where GPT-5.2 Codex leads 45.4 to 23.8.
  • GPT-4.1 nano is cheaper at $0.10 / $0.40 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
  • GPT-4.1 nano accepts more context: 1.05M tokens versus 400K.

Side by side

GPT-4.1 nano and GPT-5.2 Codex specifications
GPT-4.1 nanoGPT-5.2 Codex
ProviderOpenAIOpenAI
Noometry Index27.742.2
Released2025-04-142025-12-18
WeightsProprietaryProprietary
Context window1.05M400K
Max output33K128K
Input $ / M tokens$0.10$1.75
Output $ / M tokens$0.40$14
Results tracked385

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

Category by category

Coding GPT-5.2 Codex leads

GPT-4.1 nano: 23.8 (#325), GPT-5.2 Codex: 45.4 (#66)

Coding benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
SWE-bench Verified (bash only)—72.8%
Aider Polyglot8.9%—
LMArena WebDev—1339
SWE-bench Multilingual—66.3%
SciCode25.9%—
WeirdML19%—
LMArena Coding1306—
ALE-Bench—1,300

Agentic & Tool Use GPT-5.2 Codex leads

GPT-4.1 nano: 26.3 (#98), GPT-5.2 Codex: 40.7 (#20)

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

Reasoning Not comparable

GPT-4.1 nano: 8.6 (#344), GPT-5.2 Codex: —

Reasoning benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
ARC-AGI-20%—
Kagi LLM Benchmark33.3%—
ARC-AGI-10%—
CritPt0%—
LMArena Hard Prompts1286—
DTBench52.5%—
LMCA5.5%—
Epoch Capabilities Index129.62—

Math Not comparable

GPT-4.1 nano: 25.5 (#246), GPT-5.2 Codex: —

Math benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
OTIS Mock AIME 2024-202528.9%—
Omni-MATH36.7%—
LMArena Math1274—
MATH Level 570%—
FrontierMath (Feb 2025 set)1%—

Knowledge Not comparable

GPT-4.1 nano: 21.8 (#268), GPT-5.2 Codex: —

Knowledge benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
GPQA Diamond48.9%—
SimpleQA Verified6%—
MMLU-Pro55%—
GPQA (HELM)50.7%—
LMArena Expert1272—

Multimodal Not comparable

GPT-4.1 nano: 28.6 (#108), GPT-5.2 Codex: —

Multimodal benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
LMArena Vision1063—

Multilingual Not comparable

GPT-4.1 nano: 41.8 (#200), GPT-5.2 Codex: —

Multilingual benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
LMArena Non-English1260—
LMArena Chinese1270—
LMArena German1288—
LMArena Japanese1199—
LMArena Russian1261—

Instruction Following Not comparable

GPT-4.1 nano: 68.0 (#188), GPT-5.2 Codex: —

Instruction Following benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
IFEval84.3%—
LMArena Instruction Following1267—

Long Context Not comparable

GPT-4.1 nano: 23.7 (#291), GPT-5.2 Codex: —

Long Context benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
Fiction.LiveBench25%—
LMArena Longer Query1283—

Writing & Preference Not comparable

GPT-4.1 nano: 40.7 (#238), GPT-5.2 Codex: —

Writing & Preference benchmarks
BenchmarkGPT-4.1 nanoGPT-5.2 Codex
LMArena Text1285—
LMArena Creative Writing1260—
EQ-Bench Creative Writing946—
WildBench81.2%—
LMArena Multi-Turn1277—

Frequently asked questions

Is GPT-4.1 nano better than GPT-5.2 Codex?

GPT-5.2 Codex is the stronger model overall, scoring 42.2 to 27.7 on the Noometry Index. GPT-4.1 nano costs 27× less per token, which makes it the better buy when GPT-5.2 Codex's lead doesn't matter for your workload.

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

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

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

GPT-5.2 Codex scores higher on coding benchmarks: 45.4 versus 23.8 in the Noometry coding category.

Which has the bigger context window?

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

How many benchmarks do GPT-4.1 nano and GPT-5.2 Codex share?

0 benchmarks have published results for both models. GPT-4.1 nano has 38 scored results on Noometry and GPT-5.2 Codex has 5.

Related comparisons

Go deeper