Model comparison

GPT-4.1 mini vs GPT-5-Codex

GPT-5-Codex is the stronger model overall, scoring 37.3 to 33.5 on the Noometry Index. GPT-4.1 mini costs 4.9× 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 mini OpenAI

33.5

Rank #232 Confirmed

GPT-5-Codex OpenAI

37.3

Rank #190 Reported

Summary

  • They share 2 benchmarks with published results for both. GPT-4.1 mini 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 10.9.
  • The biggest single-benchmark swing is Kagi LLM Benchmark: 48.6% for GPT-4.1 mini and 70.3% for GPT-5-Codex.
  • GPT-4.1 mini is cheaper at $0.40 / $1.60 per million input/output tokens, against $1.25 / $10 for GPT-5-Codex.
  • GPT-4.1 mini accepts more context: 1.05M tokens versus 400K.

Side by side

GPT-4.1 mini and GPT-5-Codex specifications
GPT-4.1 miniGPT-5-Codex
ProviderOpenAIOpenAI
Noometry Index33.537.3
Released2025-04-142025-09-15
WeightsProprietaryProprietary
Context window1.05M400K
Max output33K128K
Input $ / M tokens$0.40$1.25
Output $ / M tokens$1.60$10
Results tracked473

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

Category by category

Coding GPT-5-Codex leads

GPT-4.1 mini: 30.4 (#286), GPT-5-Codex: 41.9 (#100)

Coding benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
WeirdML37.6%54.5%
SWE-bench Verified (bash only)23.9%—
Aider Polyglot32.4%—
SciCode40.4%—
BigCodeBench Instruct48.9%—
LMArena Coding1367—
CadEval16%—

Agentic & Tool Use GPT-4.1 mini leads

GPT-4.1 mini: 33.0 (#52), GPT-5-Codex: 30.8 (#66)

Agentic & Tool Use benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
Terminal-Bench—44.3%
Berkeley Function Calling Leaderboard50.5%—

Reasoning GPT-5-Codex leads

GPT-4.1 mini: 10.9 (#335), GPT-5-Codex: 30.0 (#80)

Reasoning benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
Kagi LLM Benchmark48.6%70.3%
ARC-AGI-20%—
ARC-AGI-13.5%—
CritPt0%—
Chess Puzzles7%—
LMArena Hard Prompts1349—
Mystery Game Puzzles7%—
DTBench68.8%—
LMCA21.1%—
Epoch Capabilities Index135.01—

Math Not comparable

GPT-4.1 mini: 23.1 (#264), GPT-5-Codex: —

Math benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
FrontierMath (Tiers 1-3)6.7%—
OTIS Mock AIME 2024-202544.7%—
Omni-MATH49.1%—
LMArena Math1343—
MATH Level 587.3%—
FrontierMath (Feb 2025 set)4.5%—

Knowledge Not comparable

GPT-4.1 mini: 34.7 (#183), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
GPQA Diamond65.8%—
SimpleQA Verified12.7%—
MMLU-Pro78.3%—
GPQA (HELM)61.4%—
LMArena Expert1338—

Multimodal Not comparable

GPT-4.1 mini: 35.2 (#77), GPT-5-Codex: —

Multimodal benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
LMArena Vision1181—

Multilingual Not comparable

GPT-4.1 mini: 45.9 (#161), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
LMArena Non-English1318—
LMArena Chinese1329—
LMArena French1357—
LMArena German1349—
LMArena Japanese1291—
LMArena Korean1298—
LMArena Russian1324—
LMArena Spanish1319—

Instruction Following Not comparable

GPT-4.1 mini: 73.9 (#113), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
IFEval90.4%—
LMArena Instruction Following1332—

Long Context Not comparable

GPT-4.1 mini: 31.8 (#270), GPT-5-Codex: —

Long Context benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
Fiction.LiveBench44.4%—
LMArena Longer Query1344—

Writing & Preference Not comparable

GPT-4.1 mini: 48.8 (#193), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkGPT-4.1 miniGPT-5-Codex
LMArena Text1341—
LMArena Creative Writing1300—
EQ-Bench Creative Writing1147—
WildBench83.8%—
LMArena Multi-Turn1354—

Frequently asked questions

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

GPT-5-Codex is the stronger model overall, scoring 37.3 to 33.5 on the Noometry Index. GPT-4.1 mini costs 4.9× 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 mini or GPT-5-Codex?

GPT-4.1 mini is cheaper. It lists at $0.40 per million input tokens and $1.60 per million output tokens; GPT-5-Codex lists at $1.25 and $10.

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper