Model comparison

GPT-4.1 nano vs GPT-5-Codex

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

Last verified . 2 shared benchmarks.

GPT-4.1 nano OpenAI

27.7

Rank #322 Confirmed

GPT-5-Codex OpenAI

37.3

Rank #190 Reported

Summary

  • They share 2 benchmarks with published results for both. GPT-4.1 nano scores higher in 0 categories and GPT-5-Codex in 3 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where GPT-5-Codex leads 30.0 to 8.6.
  • The biggest single-benchmark swing is Kagi LLM Benchmark: 33.3% for GPT-4.1 nano and 70.3% for GPT-5-Codex.
  • GPT-4.1 nano is cheaper at $0.10 / $0.40 per million input/output tokens, against $1.25 / $10 for GPT-5-Codex.
  • GPT-4.1 nano accepts more context: 1.05M tokens versus 400K.

Side by side

GPT-4.1 nano and GPT-5-Codex specifications
GPT-4.1 nanoGPT-5-Codex
ProviderOpenAIOpenAI
Noometry Index27.737.3
Released2025-04-142025-09-15
WeightsProprietaryProprietary
Context window1.05M400K
Max output33K128K
Input $ / M tokens$0.10$1.25
Output $ / M tokens$0.40$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.1 nano: 23.8 (#325), GPT-5-Codex: 41.9 (#100)

Coding benchmarks
BenchmarkGPT-4.1 nanoGPT-5-Codex
WeirdML19%54.5%
Aider Polyglot8.9%—
SciCode25.9%—
LMArena Coding1306—

Agentic & Tool Use GPT-5-Codex leads

GPT-4.1 nano: 26.3 (#98), GPT-5-Codex: 30.8 (#66)

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

Reasoning GPT-5-Codex leads

GPT-4.1 nano: 8.6 (#344), GPT-5-Codex: 30.0 (#80)

Reasoning benchmarks
BenchmarkGPT-4.1 nanoGPT-5-Codex
Kagi LLM Benchmark33.3%70.3%
ARC-AGI-20%—
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-Codex: —

Math benchmarks
BenchmarkGPT-4.1 nanoGPT-5-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-Codex: —

Knowledge benchmarks
BenchmarkGPT-4.1 nanoGPT-5-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-Codex: —

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

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkGPT-4.1 nanoGPT-5-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-Codex: —

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

Writing & Preference benchmarks
BenchmarkGPT-4.1 nanoGPT-5-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-Codex?

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

Which is cheaper, GPT-4.1 nano or GPT-5-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-Codex lists at $1.25 and $10.

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

GPT-5-Codex scores higher on coding benchmarks: 41.9 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-Codex share?

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

Related comparisons

Go deeper