# GPT-4.1 nano vs GPT-5.2 Codex

> GPT-5.2 Codex is the stronger model overall, scoring 42.6 to 27.9 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.

- Canonical page: https://noometry.com/compare/gpt-4-1-nano-vs-gpt-5-2-codex
- Last updated: 2026-10-12
- Shared benchmarks: 0

## Summary

- The widest gap is in coding, where GPT-5.2 Codex leads 45.5 to 24.1.
- 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.

## Snapshot

| | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Noometry Index | 27.9 | 42.6 |
| Rank | 327 | 111 |
| Context | 1.05M | 400K |
| Input $/M | $0.10 | $1.75 |
| Output $/M | $0.40 | $14 |
| Weights | Proprietary | Proprietary |

## Coding

- GPT-4.1 nano: 24.1 (#330)
- GPT-5.2 Codex: 45.5 (#71)

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| SWE-bench Verified (bash only) | — | 72.8% |
| Aider Polyglot | 8.9% | — |
| LMArena WebDev | — | 1339 |
| SWE-bench Multilingual | — | 66.3% |
| SciCode | 25.9% | — |
| WeirdML | 19% | — |
| LMArena Coding | 1306 | — |
| ALE-Bench | — | 1,300 |

## Agentic & Tool Use

- GPT-4.1 nano: 26.5 (#104)
- GPT-5.2 Codex: 41.0 (#22)

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| Terminal-Bench | — | 66.5% |
| Berkeley Function Calling Leaderboard | 33% | — |

## Reasoning

- GPT-4.1 nano: 8.5 (#349)
- GPT-5.2 Codex: —

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| ARC-AGI-2 | 0% | — |
| Kagi LLM Benchmark | 33.3% | — |
| ARC-AGI-1 | 0% | — |
| CritPt | 0% | — |
| LMArena Hard Prompts | 1286 | — |
| DTBench | 52.5% | — |
| LMCA | 5.5% | — |
| Epoch Capabilities Index | 129.62 | — |

## Math

- GPT-4.1 nano: 26.9 (#252)
- GPT-5.2 Codex: —

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 28.9% | — |
| Omni-MATH | 36.7% | — |
| LMArena Math | 1274 | — |
| MATH Level 5 | 70% | — |
| FrontierMath (Feb 2025 set) | 1% | — |

## Knowledge

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

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| GPQA Diamond | 48.9% | — |
| SimpleQA Verified | 6% | — |
| MMLU-Pro | 55% | — |
| GPQA (HELM) | 50.7% | — |
| LMArena Expert | 1272 | — |

## Multimodal

- GPT-4.1 nano: 29.2 (#113)
- GPT-5.2 Codex: —

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| LMArena Vision | 1063 | — |

## Multilingual

- GPT-4.1 nano: 41.6 (#205)
- GPT-5.2 Codex: —

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| LMArena Non-English | 1260 | — |
| LMArena Chinese | 1270 | — |
| LMArena German | 1288 | — |
| LMArena Japanese | 1198 | — |
| LMArena Russian | 1261 | — |

## Instruction Following

- GPT-4.1 nano: 67.8 (#193)
- GPT-5.2 Codex: —

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| IFEval | 84.3% | — |
| LMArena Instruction Following | 1267 | — |

## Long Context

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

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| Fiction.LiveBench | 25% | — |
| LMArena Longer Query | 1283 | — |

## Writing & Preference

- GPT-4.1 nano: 40.5 (#243)
- GPT-5.2 Codex: —

| Benchmark | GPT-4.1 nano | GPT-5.2 Codex |
|---|---|---|
| LMArena Text | 1285 | — |
| LMArena Creative Writing | 1260 | — |
| EQ-Bench Creative Writing | 946 | — |
| WildBench | 81.2% | — |
| LMArena Multi-Turn | 1277 | — |

## FAQ

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

GPT-5.2 Codex is the stronger model overall, scoring 42.6 to 27.9 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.5 versus 24.1 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.
