LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs GPT-5.4

Updated October 21, 2026. 21 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-5.1-CodexOpenAI
Coding
50.5
Overall
23.7
Output $/M
$10.00
5
GPT-5.4OpenAI
Coding
37.7
Overall
39.0
Output $/M
$15.00
16
vs boards won of 21 shared

Decision reading

Pick GPT-5.1-Codex for coding: it scores 50.5 on the Vibe Coding Index against 37.7 for GPT-5.4.

Pick GPT-5.4 when the context window is larger, 1.05M against 400K tokens, or when what matters is LMArena WebDev or Vibe Code Bench (Vals AI), where it leads.

Shared results
21
GPT-5.1-Codex only
5
GPT-5.4 only
88
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 50.5 from 2 benchmarks, GPT-5.4 37.7 from 1 benchmark.
Widest category
Coding, 22.1 points apart on average over 7 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GPT-5.1-Codex 13.1% against GPT-5.4 67.4%, 54.3 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex $10.00 against GPT-5.4 $15.00 per million output tokens, 1.5x apart.
Context window
GPT-5.1-Codex takes 400K tokens, GPT-5.4 1.05M.

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.4Ties
Coding16
Intelligence01
Agentic work22
Reasoning02
Web design23
General02
All shared boards516
CodingLike-for-likeFour of these boards feed the Vibe Coding Index16
Coding benchmarks for GPT-5.1-Codex and GPT-5.4
BenchmarkGPT-5.1-CodexGPT-5.4Leader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1-Codex measured
LMArena WebDev13371464GPT-5.4
AA Coding IndexNot measured71.1Only GPT-5.4 measured
LiveCodeBench (Vals AI)85.5%84.1%GPT-5.1-Codex
SWE-bench Verified (Vals AI)Not measured78.2%Only GPT-5.4 measured
Vibe Code Bench (Vals AI)13.1%67.4%GPT-5.4
Code migration (Vals AI)Not measured35.0%Only GPT-5.4 measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-5.4 measured
SkillsBench (Vals AI)Not measured51.7%Only GPT-5.4 measured
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
Terminal-Bench Hard (Artificial Analysis run)34.8%57.6%GPT-5.4
Terminal-Bench57.8%81.8%GPT-5.4
GSO-BenchNot measured31.4%Only GPT-5.4 measured
WeirdMLNot measured77.7%Only GPT-5.4 measured
MirrorCodeNot measured15.6%Only GPT-5.4 measured
ALE-Bench1244.91607.0GPT-5.4
LMArena Text: codingNot measured1496Only GPT-5.4 measured
LMArena Text: software and ITNot measured1491Only GPT-5.4 measured
LMArena WebDev: ReactNot measured1454Only GPT-5.4 measured
LMArena WebDev: HTML13461478GPT-5.4
LMArena WebDev: from an imageNot measured1436Only GPT-5.4 measured
Neither model has a result on the other 17 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
BenchmarkGPT-5.1-CodexGPT-5.4Leader
AA Intelligence Index23.739.0GPT-5.4
Epoch Capabilities IndexNot measured157.3Only GPT-5.4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index22
Agentic work benchmarks for GPT-5.1-Codex and GPT-5.4
BenchmarkGPT-5.1-CodexGPT-5.4Leader
Design Arena: agents building web apps10181059GPT-5.4
Design Arena: agents building full-stack apps10861017GPT-5.1-Codex
Design Arena: agents building mobile apps11911087GPT-5.1-Codex
Design Arena: agents building Android appsNot measured1037Only GPT-5.4 measured
Design Arena: agents building Godot gamesNot measured1135Only GPT-5.4 measured
τ²-Bench Telecom83.0%87.1%GPT-5.4
APEX-AgentsNot measured52.4%Only GPT-5.4 measured
METR time horizonsNot measured74.3%Only GPT-5.4 measured
DeepResearch BenchNot measured35.1%Only GPT-5.4 measured
PostTrainBenchNot measured19.0%Only GPT-5.4 measured
Vending-Bench 2Not measured$6,144Only GPT-5.4 measured
Neither model has a result on the other 28 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
BenchmarkGPT-5.1-CodexGPT-5.4Leader
GPQA DiamondNot measured91.7%Only GPT-5.4 measured
MMMU Pro (Vals AI)Not measured87.5%Only GPT-5.4 measured
GPQA Diamond (Artificial Analysis run)86.0%92.0%GPT-5.4
Humanity's Last Exam (Artificial Analysis run)25.7%43.7%GPT-5.4
GPQA Diamond (Epoch AI run)Not measured93.3%Only GPT-5.4 measured
ARC-AGINot measured93.7%Only GPT-5.4 measured
ARC-AGI-2Not measured74.0%Only GPT-5.4 measured
Chess puzzlesNot measured48.0%Only GPT-5.4 measured
Mystery game puzzlesNot measured37.0%Only GPT-5.4 measured
EBR-benchNot measured25.4%Only GPT-5.4 measured
LMArena Text: hard promptsNot measured1485Only GPT-5.4 measured
LMArena Text: expertNot measured1507Only GPT-5.4 measured
LMArena Text: hard prompts in EnglishNot measured1479Only GPT-5.4 measured
LMArena Vision: diagramsNot measured1327Only GPT-5.4 measured
LMArena Vision: homeworkNot measured1336Only GPT-5.4 measured
Neither model has a result on the other 6 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
BenchmarkGPT-5.1-CodexGPT-5.4Leader
AIMENot measured96.7%Only GPT-5.4 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 measured97.8%Only GPT-5.4 measured
FrontierMath, tiers 1 to 3Not measured78.6%Only GPT-5.4 measured
FrontierMath, tier 4Not measured49.0%Only GPT-5.4 measured
ProofBenchNot measured56.0%Only GPT-5.4 measured
LMArena Text: mathNot measured1488Only GPT-5.4 measured
LMArena Text: mathematical workNot measured1497Only GPT-5.4 measured
Neither model has a result on the other 4 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Knowledge benchmarks for GPT-5.1-Codex and GPT-5.4
BenchmarkGPT-5.1-CodexGPT-5.4Leader
MMLU ProNot measured87.5%Only GPT-5.4 measured
LegalBench (Vals AI)Not measured86.0%Only GPT-5.4 measured
CaseLaw (Vals AI)Not measured63.8%Only GPT-5.4 measured
CorpFin (Vals AI)Not measured65.3%Only GPT-5.4 measured
TaxEval (Vals AI)Not measured74.0%Only GPT-5.4 measured
MortgageTax (Vals AI)Not measured68.3%Only GPT-5.4 measured
MedQA (Vals AI)Not measured96.1%Only GPT-5.4 measured
MedCode (Vals AI)Not measured41.3%Only GPT-5.4 measured
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
SimpleQA VerifiedNot measured45.1%Only GPT-5.4 measured
LMArena Text: scienceNot measured1479Only GPT-5.4 measured
LMArena Text: medicine and healthcareNot measured1458Only GPT-5.4 measured
LMArena Text: legal and governmentNot measured1486Only GPT-5.4 measured
LMArena Text: business and financeNot measured1474Only GPT-5.4 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index23
Web design benchmarks for GPT-5.1-Codex and GPT-5.4
BenchmarkGPT-5.1-CodexGPT-5.4Leader
Design Arena: websites11621199GPT-5.4
Design Arena: UI components12371215GPT-5.1-Codex
Design Arena: game dev11381195GPT-5.4
Design Arena: data viz12131196GPT-5.1-Codex
Design Arena: 3DNot measured1065Only GPT-5.4 measured
Design Arena: all code categories11531180GPT-5.4
Design Arena: SVGNot measured1141Only GPT-5.4 measured
Design Arena: ASCII artNot measured1188Only GPT-5.4 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for GPT-5.1-Codex and GPT-5.4
BenchmarkGPT-5.1-CodexGPT-5.4Leader
SAGE (Vals AI)Not measured43.3%Only GPT-5.4 measured
MedScribe (Vals AI)Not measured77.5%Only GPT-5.4 measured
IFBench70.0%73.9%GPT-5.4
Long context reasoning (AA-LCR)69.3%82.0%GPT-5.4
DTBenchNot measured94.4%Only GPT-5.4 measured
LMCANot measured52.0%Only GPT-5.4 measured
CL-benchNot measured27.9%Only GPT-5.4 measured
Furniture assemblyNot measured37.5%Only GPT-5.4 measured
CL-bench LifeNot measured21.7%Only GPT-5.4 measured
LMArena TextNot measured1469Only GPT-5.4 measured
LMArena Text: instruction followingNot measured1469Only GPT-5.4 measured
LMArena Text: creative writingNot measured1439Only GPT-5.4 measured
LMArena VisionNot measured1303Only GPT-5.4 measured
LMArena Text: EnglishNot measured1467Only GPT-5.4 measured
LMArena Text: non-EnglishNot measured1465Only GPT-5.4 measured
LMArena Text: ChineseNot measured1520Only GPT-5.4 measured
LMArena Text: GermanNot measured1472Only GPT-5.4 measured
LMArena Text: JapaneseNot measured1485Only GPT-5.4 measured
LMArena Text: KoreanNot measured1449Only GPT-5.4 measured
LMArena Text: FrenchNot measured1493Only GPT-5.4 measured
LMArena Text: SpanishNot measured1452Only GPT-5.4 measured
LMArena Text: RussianNot measured1480Only GPT-5.4 measured
LMArena Text: PolishNot measured1472Only GPT-5.4 measured
LMArena Text: multi-turnNot measured1482Only GPT-5.4 measured
LMArena Text: longer queriesNot measured1473Only GPT-5.4 measured
LMArena Text: writing and languageNot measured1458Only GPT-5.4 measured
LMArena Text: entertainment and mediaNot measured1438Only GPT-5.4 measured
LMArena Vision: EnglishNot measured1301Only GPT-5.4 measured
LMArena Vision: ChineseNot measured1354Only GPT-5.4 measured
LMArena Vision: reading textNot measured1312Only GPT-5.4 measured
LMArena Vision: humorNot measured1284Only GPT-5.4 measured
LMArena Vision: recognizing thingsNot measured1251Only GPT-5.4 measured
LMArena Vision: creative writingNot measured1283Only GPT-5.4 measured
LMArena DocumentNot measured1471Only GPT-5.4 measured
Neither model has a result on the other 12 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
BenchmarkGPT-5.1-CodexGPT-5.4Leader
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$0.010Fits in one request

GPT-5.1-Codex costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
GPT-5.4$0.170Fits in one request

GPT-5.1-Codex costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
GPT-5.4$0.650Fits in one request

GPT-5.1-Codex 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
SpecificationOpenAI GPT-5.1-CodexOpenAI GPT-5.4
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 13, 2025March 5, 2026
Context window400K1.05M
Input $/Mtok$1.25$2.50
Output $/Mtok$10.00$15.00
Coding index50.537.7
Independent measurements behind it21
Cost per solved task$0.892$1.02
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.1-Codex for coding: it scores 50.5 on the Vibe Coding Index against 37.7 for GPT-5.4. Pick GPT-5.4 when the context window is larger, 1.05M against 400K tokens, or when what matters is LMArena WebDev or Vibe Code Bench (Vals AI), where it leads.

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

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

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

GPT-5.4, with 1.05M tokens against 400K.

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

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

Compare next