Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs GPT-5.4 Nano

GPT-5.4 Nano leads GPT-5.1-Codex on coding, 44.8 to 15.3 on the Vibe Coding Index, and GPT-5.4 Nano costs 8.0x less per output token ($1.25 vs $10.00 per million). Updated October 22, 2026; 10 benchmarks have a result for both.

GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
5
GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
5
vs boards won of 10 shared

GPT-5.1-Codex or GPT-5.4 Nano: which to pick

Pick GPT-5.4 Nano for coding: it scores 44.8 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex.

Pick GPT-5.1-Codex for work measured by LiveCodeBench (Vals AI) or ALE-Bench, where it leads.

Shared results
10
GPT-5.1-Codex only
16
GPT-5.4 Nano only
75
Like-for-like categories
5 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GPT-5.1-Codex 15.3 from 2 benchmarks, GPT-5.4 Nano 44.8 from 2 benchmarks.
Widest category
Coding, 7.5 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GPT-5.1-Codex 13.1% against GPT-5.4 Nano 26.1%, 13.0 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex $10.00 against GPT-5.4 Nano $1.25 per million output tokens, 8.0x apart.
Context window
Both take 400K tokens.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGPT-5.1-CodexBarsGPT-5.4 NanoTies
Coding22
Intelligence10
Agentic work10
Reasoning11
General02
All shared boards55
CodingLike-for-likeSix of these boards feed the Vibe Coding Index22
Coding benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1-Codex measured
LMArena WebDev1337Not measuredOnly GPT-5.1-Codex measured
AA Coding IndexNot measured56.1Only GPT-5.4 Nano measured
LiveCodeBench (Vals AI)85.5%84.0%GPT-5.1-Codex
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.4 Nano measured
Vibe Code Bench (Vals AI)13.1%26.1%GPT-5.4 Nano
Code migration (Vals AI)Not measured14.5%Only GPT-5.4 Nano measured
Terminal-Bench 2.1 (Vals AI)Not measured41.6%Only GPT-5.4 Nano measured
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
SciCodeNot measured47.2%Only GPT-5.4 Nano measured
Terminal-Bench Hard (Artificial Analysis run)34.8%42.4%GPT-5.4 Nano
Terminal-Bench57.8%Not measuredOnly GPT-5.1-Codex measured
WeirdMLNot measured49.2%Only GPT-5.4 Nano measured
ALE-Bench1244.91004.5GPT-5.1-Codex
LMArena Text: codingNot measured1404Only GPT-5.4 Nano measured
LMArena Text: software and ITNot measured1402Only GPT-5.4 Nano measured
LMArena WebDev: HTML1346Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
AA Intelligence Index23.720.7GPT-5.1-Codex
Epoch Capabilities IndexNot measured146.0Only GPT-5.4 Nano measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
AA Agentic IndexNot measured16.0Only GPT-5.4 Nano measured
Design Arena: agents building web apps1018Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building full-stack apps1086Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building mobile apps1191Not measuredOnly GPT-5.1-Codex measured
Finance Agent (Vals AI)Not measured38.2%Only GPT-5.4 Nano measured
Tax Agent Bench (Vals AI)Not measured5.0%Only GPT-5.4 Nano measured
Legal Research Bench (Vals AI)Not measured6.3%Only GPT-5.4 Nano measured
Excel Modeling Benchmark (Vals AI)Not measured44.8%Only GPT-5.4 Nano measured
τ²-Bench Telecom83.0%76.0%GPT-5.1-Codex
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
Reasoning benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
GPQA DiamondNot measured77.5%Only GPT-5.4 Nano measured
MMMU Pro (Vals AI)Not measured73.6%Only GPT-5.4 Nano measured
GPQA Diamond (Artificial Analysis run)86.0%81.7%GPT-5.1-Codex
Humanity's Last Exam (Artificial Analysis run)25.7%28.3%GPT-5.4 Nano
GPQA Diamond (Epoch AI run)Not measured78.5%Only GPT-5.4 Nano measured
ARC-AGINot measured51.5%Only GPT-5.4 Nano measured
ARC-AGI-2Not measured5.7%Only GPT-5.4 Nano measured
Chess puzzlesNot measured45.0%Only GPT-5.4 Nano measured
Mystery game puzzlesNot measured9.0%Only GPT-5.4 Nano measured
LMArena Text: hard promptsNot measured1381Only GPT-5.4 Nano measured
LMArena Text: expertNot measured1396Only GPT-5.4 Nano measured
LMArena Text: hard prompts in EnglishNot measured1387Only GPT-5.4 Nano measured
LMArena Vision: diagramsNot measured1210Only GPT-5.4 Nano measured
LMArena Vision: homeworkNot measured1225Only GPT-5.4 Nano measured
Kagi LLM BenchmarkNot measured39.7%Only GPT-5.4 Nano measured
Neither model has a result on the other 7 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Math benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
AIMENot measured88.8%Only GPT-5.4 Nano measured
AA Math Index95.7Not measuredOnly GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)95.7%Not measuredOnly GPT-5.1-Codex measured
OTIS Mock AIMENot measured87.8%Only GPT-5.4 Nano measured
FrontierMath, tiers 1 to 3Not measured44.9%Only GPT-5.4 Nano measured
FrontierMath, tier 4Not measured12.2%Only GPT-5.4 Nano measured
ProofBenchNot measured5.0%Only GPT-5.4 Nano measured
LMArena Text: mathNot measured1405Only GPT-5.4 Nano measured
LMArena Text: mathematical workNot measured1409Only GPT-5.4 Nano measured
Neither model has a result on the other 4 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Knowledge benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
MMLU ProNot measured77.2%Only GPT-5.4 Nano measured
LegalBench (Vals AI)Not measured77.9%Only GPT-5.4 Nano measured
CaseLaw (Vals AI)Not measured51.9%Only GPT-5.4 Nano measured
CorpFin (Vals AI)Not measured61.2%Only GPT-5.4 Nano measured
TaxEval (Vals AI)Not measured67.4%Only GPT-5.4 Nano measured
MortgageTax (Vals AI)Not measured59.1%Only GPT-5.4 Nano measured
MedCode (Vals AI)Not measured41.0%Only GPT-5.4 Nano measured
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
SimpleQA VerifiedNot measured11.7%Only GPT-5.4 Nano measured
LMArena Text: scienceNot measured1374Only GPT-5.4 Nano measured
LMArena Text: medicine and healthcareNot measured1369Only GPT-5.4 Nano measured
LMArena Text: legal and governmentNot measured1368Only GPT-5.4 Nano measured
LMArena Text: business and financeNot measured1366Only GPT-5.4 Nano measured
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Web design benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
Design Arena: websites1161Not measuredOnly GPT-5.1-Codex measured
Design Arena: UI components1234Not measuredOnly GPT-5.1-Codex measured
Design Arena: game dev1137Not measuredOnly GPT-5.1-Codex measured
Design Arena: data viz1213Not measuredOnly GPT-5.1-Codex measured
Design Arena: all code categories1152Not measuredOnly GPT-5.1-Codex measured
Neither model has a result on the other 4 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
SAGE (Vals AI)Not measured38.1%Only GPT-5.4 Nano measured
MedScribe (Vals AI)Not measured77.1%Only GPT-5.4 Nano measured
Vals Multimodal IndexNot measured47.6%Only GPT-5.4 Nano measured
IFBench70.0%75.9%GPT-5.4 Nano
Long context reasoning (AA-LCR)69.3%76.7%GPT-5.4 Nano
DTBenchNot measured80.3%Only GPT-5.4 Nano measured
LMCANot measured36.9%Only GPT-5.4 Nano measured
LMArena TextNot measured1372Only GPT-5.4 Nano measured
LMArena Text: instruction followingNot measured1362Only GPT-5.4 Nano measured
LMArena Text: creative writingNot measured1315Only GPT-5.4 Nano measured
LMArena VisionNot measured1196Only GPT-5.4 Nano measured
LMArena Text: EnglishNot measured1381Only GPT-5.4 Nano measured
LMArena Text: non-EnglishNot measured1359Only GPT-5.4 Nano measured
LMArena Text: ChineseNot measured1391Only GPT-5.4 Nano measured
LMArena Text: GermanNot measured1368Only GPT-5.4 Nano measured
LMArena Text: JapaneseNot measured1343Only GPT-5.4 Nano measured
LMArena Text: KoreanNot measured1321Only GPT-5.4 Nano measured
LMArena Text: FrenchNot measured1395Only GPT-5.4 Nano measured
LMArena Text: SpanishNot measured1371Only GPT-5.4 Nano measured
LMArena Text: RussianNot measured1363Only GPT-5.4 Nano measured
LMArena Text: PolishNot measured1366Only GPT-5.4 Nano measured
LMArena Text: multi-turnNot measured1382Only GPT-5.4 Nano measured
LMArena Text: longer queriesNot measured1365Only GPT-5.4 Nano measured
LMArena Text: writing and languageNot measured1338Only GPT-5.4 Nano measured
LMArena Text: entertainment and mediaNot measured1325Only GPT-5.4 Nano measured
LMArena Vision: EnglishNot measured1202Only GPT-5.4 Nano measured
LMArena Vision: ChineseNot measured1232Only GPT-5.4 Nano measured
LMArena Vision: reading textNot measured1204Only GPT-5.4 Nano measured
LMArena Vision: humorNot measured1161Only GPT-5.4 Nano measured
LMArena Vision: recognizing thingsNot measured1141Only GPT-5.4 Nano measured
LMArena Vision: creative writingNot measured1159Only GPT-5.4 Nano measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.1-Codex and GPT-5.4 Nano
BenchmarkGPT-5.1-CodexGPT-5.4 NanoLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GPT-5.1-Codex$0.0063Fits in one request
GPT-5.4 Nano$0.0008Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
GPT-5.4 Nano$0.014Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
GPT-5.4 Nano$0.052Fits in one request

GPT-5.4 Nano costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GPT-5.1-Codex and GPT-5.4 Nano
SpecificationOpenAI GPT-5.1-CodexOpenAI GPT-5.4 Nano
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 13, 2025March 17, 2026
Context window400K400K
Input $/Mtok$1.25$0.20
Output $/Mtok$10.00$1.25
Coding index15.344.8
Independent measurements behind it22
Cost per solved task$0.892$0.14
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex better than GPT-5.4 Nano for coding?

Pick GPT-5.4 Nano for coding: it scores 44.8 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. Pick GPT-5.1-Codex for work measured by LiveCodeBench (Vals AI) or ALE-Bench, where it leads.

Which is cheaper, GPT-5.1-Codex or GPT-5.4 Nano?

GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-5.4 Nano costs $0.20 and $1.25. Per solved SWE-bench Verified task, GPT-5.1-Codex costs $0.892 and GPT-5.4 Nano $0.14.

Which has the bigger context window, GPT-5.1-Codex or GPT-5.4 Nano?

Neither: both take 400K tokens.

How many benchmarks is the GPT-5.1-Codex vs GPT-5.4 Nano comparison based on?

10 benchmarks have a result for both models as of October 22, 2026. GPT-5.1-Codex's coding index rests on 2 independent benchmarks and GPT-5.4 Nano's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-5-1-codex-vs-gpt-5-4-nano" title="GPT-5.1-Codex vs GPT-5.4 Nano, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-5-1-codex-vs-gpt-5-4-nano">LLMBenchmark.ai, GPT-5.1-Codex vs GPT-5.4 Nano</a></p>