Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs GPT-5.4 Mini

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

GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
2
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
10
vs boards won of 12 shared

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

Pick GPT-5.4 Mini for coding: it scores 35.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
12
GPT-5.1-Codex only
14
GPT-5.4 Mini only
78
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 Mini 35.8 from 5 benchmarks.
Widest category
Coding, 13.2 points apart on average over 6 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GPT-5.1-Codex 13.1% against GPT-5.4 Mini 48.0%, 34.9 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex $10.00 against GPT-5.4 Mini $4.50 per million output tokens, 2.2x 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 MiniTies
Coding24
Intelligence01
Agentic work01
Reasoning02
General02
All shared boards210
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
Coding benchmarks for GPT-5.1-Codex and GPT-5.4 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1-Codex measured
LMArena WebDev13371397GPT-5.4 Mini
AA Coding IndexNot measured56.1Only GPT-5.4 Mini measured
LiveCodeBench (Vals AI)85.5%81.5%GPT-5.1-Codex
SWE-bench Verified (Vals AI)Not measured73.0%Only GPT-5.4 Mini measured
Terminal-Bench 4 (Vals AI)Not measured2.5%Only GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)13.1%48.0%GPT-5.4 Mini
Code migration (Vals AI)Not measured12.9%Only GPT-5.4 Mini measured
ProgramBench (Vals AI)Not measured0.0%Only GPT-5.4 Mini measured
Terminal-Bench 2.1 (Vals AI)Not measured54.7%Only GPT-5.4 Mini measured
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)34.8%52.3%GPT-5.4 Mini
Terminal-Bench57.8%Not measuredOnly GPT-5.1-Codex measured
FrontierCodeNot measured27.0%Only GPT-5.4 Mini measured
WeirdMLNot measured60.3%Only GPT-5.4 Mini measured
ALE-Bench1244.91188.6GPT-5.1-Codex
LMArena Text: codingNot measured1438Only GPT-5.4 Mini measured
LMArena Text: software and ITNot measured1436Only GPT-5.4 Mini measured
LMArena WebDev: ReactNot measured1386Only GPT-5.4 Mini measured
LMArena WebDev: HTML13461419GPT-5.4 Mini
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GPT-5.1-Codex and GPT-5.4 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
AA Intelligence Index23.724.1GPT-5.4 Mini
Epoch Capabilities IndexNot measured148.7Only GPT-5.4 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-5.1-Codex and GPT-5.4 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
AA Agentic IndexNot measured17.9Only GPT-5.4 Mini 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 measured45.4%Only GPT-5.4 Mini measured
Tax Agent Bench (Vals AI)Not measured8.8%Only GPT-5.4 Mini measured
Legal Research Bench (Vals AI)Not measured12.5%Only GPT-5.4 Mini measured
Excel Modeling Benchmark (Vals AI)Not measured45.4%Only GPT-5.4 Mini measured
τ²-Bench Telecom83.0%83.3%GPT-5.4 Mini
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
MCP AtlasNot measured56.7%Only GPT-5.4 Mini measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for GPT-5.1-Codex and GPT-5.4 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
GPQA DiamondNot measured83.1%Only GPT-5.4 Mini measured
MMMU Pro (Vals AI)Not measured79.3%Only GPT-5.4 Mini measured
GPQA Diamond (Artificial Analysis run)86.0%87.5%GPT-5.4 Mini
Humanity's Last Exam (Artificial Analysis run)25.7%28.1%GPT-5.4 Mini
GPQA Diamond (Epoch AI run)Not measured86.9%Only GPT-5.4 Mini measured
ARC-AGINot measured63.7%Only GPT-5.4 Mini measured
ARC-AGI-2Not measured18.9%Only GPT-5.4 Mini measured
Chess puzzlesNot measured23.0%Only GPT-5.4 Mini measured
Mystery game puzzlesNot measured11.0%Only GPT-5.4 Mini measured
LMArena Text: hard promptsNot measured1424Only GPT-5.4 Mini measured
LMArena Text: expertNot measured1435Only GPT-5.4 Mini measured
LMArena Text: hard prompts in EnglishNot measured1420Only GPT-5.4 Mini measured
LMArena Vision: diagramsNot measured1266Only GPT-5.4 Mini measured
LMArena Vision: homeworkNot measured1285Only GPT-5.4 Mini measured
Kagi LLM BenchmarkNot measured37.9%Only GPT-5.4 Mini measured
Neither model has a result on the other 8 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 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
AIMENot measured95.6%Only GPT-5.4 Mini 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 measured88.9%Only GPT-5.4 Mini measured
FrontierMath, tiers 1 to 3Not measured51.2%Only GPT-5.4 Mini measured
FrontierMath, tier 4Not measured9.8%Only GPT-5.4 Mini measured
ProofBenchNot measured21.0%Only GPT-5.4 Mini measured
LMArena Text: mathNot measured1418Only GPT-5.4 Mini measured
LMArena Text: mathematical workNot measured1429Only GPT-5.4 Mini measured
Neither model has a result on the other 5 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Knowledge benchmarks for GPT-5.1-Codex and GPT-5.4 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
MMLU ProNot measured84.5%Only GPT-5.4 Mini measured
CaseLaw (Vals AI)Not measured51.7%Only GPT-5.4 Mini measured
CorpFin (Vals AI)Not measured60.9%Only GPT-5.4 Mini measured
TaxEval (Vals AI)Not measured71.2%Only GPT-5.4 Mini measured
MortgageTax (Vals AI)Not measured63.5%Only GPT-5.4 Mini measured
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
SimpleQA VerifiedNot measured29.4%Only GPT-5.4 Mini measured
LMArena Text: scienceNot measured1417Only GPT-5.4 Mini measured
LMArena Text: medicine and healthcareNot measured1395Only GPT-5.4 Mini measured
LMArena Text: legal and governmentNot measured1414Only GPT-5.4 Mini measured
LMArena Text: business and financeNot measured1418Only GPT-5.4 Mini measured
Neither model has a result on the other 9 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 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
Design Arena: websites1161Not measuredOnly GPT-5.1-Codex measured
Design Arena: UI components1235Not 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 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
SAGE (Vals AI)Not measured50.8%Only GPT-5.4 Mini measured
Vals Multimodal IndexNot measured54.2%Only GPT-5.4 Mini measured
IFBench70.0%73.3%GPT-5.4 Mini
Long context reasoning (AA-LCR)69.3%77.0%GPT-5.4 Mini
DTBenchNot measured80.0%Only GPT-5.4 Mini measured
LMCANot measured40.8%Only GPT-5.4 Mini measured
LMArena TextNot measured1412Only GPT-5.4 Mini measured
LMArena Text: instruction followingNot measured1405Only GPT-5.4 Mini measured
LMArena Text: creative writingNot measured1370Only GPT-5.4 Mini measured
LMArena VisionNot measured1245Only GPT-5.4 Mini measured
LMArena Text: EnglishNot measured1412Only GPT-5.4 Mini measured
LMArena Text: non-EnglishNot measured1405Only GPT-5.4 Mini measured
LMArena Text: ChineseNot measured1446Only GPT-5.4 Mini measured
LMArena Text: GermanNot measured1408Only GPT-5.4 Mini measured
LMArena Text: JapaneseNot measured1375Only GPT-5.4 Mini measured
LMArena Text: KoreanNot measured1370Only GPT-5.4 Mini measured
LMArena Text: FrenchNot measured1441Only GPT-5.4 Mini measured
LMArena Text: SpanishNot measured1405Only GPT-5.4 Mini measured
LMArena Text: RussianNot measured1417Only GPT-5.4 Mini measured
LMArena Text: PolishNot measured1415Only GPT-5.4 Mini measured
LMArena Text: multi-turnNot measured1429Only GPT-5.4 Mini measured
LMArena Text: longer queriesNot measured1408Only GPT-5.4 Mini measured
LMArena Text: writing and languageNot measured1393Only GPT-5.4 Mini measured
LMArena Text: entertainment and mediaNot measured1373Only GPT-5.4 Mini measured
LMArena Vision: EnglishNot measured1244Only GPT-5.4 Mini measured
LMArena Vision: ChineseNot measured1286Only GPT-5.4 Mini measured
LMArena Vision: reading textNot measured1253Only GPT-5.4 Mini measured
LMArena Vision: humorNot measured1235Only GPT-5.4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only GPT-5.4 Mini measured
LMArena Vision: creative writingNot measured1222Only GPT-5.4 Mini measured
Neither model has a result on the other 18 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 Mini
BenchmarkGPT-5.1-CodexGPT-5.4 MiniLeader
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 Mini$0.0030Fits in one request

GPT-5.4 Mini costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
GPT-5.4 Mini$0.051Fits in one request

GPT-5.4 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
GPT-5.4 Mini$0.195Fits in one request

GPT-5.4 Mini 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 Mini
SpecificationOpenAI GPT-5.1-CodexOpenAI GPT-5.4 Mini
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 13, 2025March 17, 2026
Context window400K400K
Input $/Mtok$1.25$0.75
Output $/Mtok$10.00$4.50
Coding index15.335.8
Independent measurements behind it25
Cost per solved task$0.892$0.70
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.4 Mini for coding: it scores 35.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 Mini?

GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, GPT-5.1-Codex costs $0.892 and GPT-5.4 Mini $0.70.

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

Neither: both take 400K tokens.

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

12 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 Mini's on 5. 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-mini" title="GPT-5.1-Codex vs GPT-5.4 Mini, 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-mini">LLMBenchmark.ai, GPT-5.1-Codex vs GPT-5.4 Mini</a></p>