LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4 vs GPT-5.4 Mini

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

GPT-4OpenAI
Coding
22.4
Overall
6.7
Output $/M
$60.00
0
GPT-5.4 MiniOpenAI
Coding
28.2
Overall
24.1
Output $/M
$4.50
35
vs boards won of 35 shared

Decision reading

Pick GPT-5.4 Mini for coding: it scores 28.2 on the Vibe Coding Index against 22.4 for GPT-4.

GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
35
GPT-4 only
10
GPT-5.4 Mini only
53
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-4 22.4 from 1 benchmark, GPT-5.4 Mini 28.2 from 1 benchmark.
Widest category
Reasoning, 43.2 points apart on average over 4 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GPT-4 34.9% against GPT-5.4 Mini 87.5%, 52.6 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against GPT-5.4 Mini $4.50 per million output tokens, 13.3x apart.
Context window
GPT-4 takes 8K tokens, GPT-5.4 Mini 400K.

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-4BarsGPT-5.4 MiniTies
Coding03
Intelligence02
Reasoning04
Math02
Knowledge04
General020
All shared boards035
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-5.4 MiniLeader
SWE-bench Verified22.4%Not measuredOnly GPT-4 measured
SWE-bench Lite39.7%Not measuredOnly GPT-4 measured
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
LMArena WebDevNot measured1397Only GPT-5.4 Mini measured
AA Coding Index13.156.1GPT-5.4 Mini
LiveCodeBench (Vals AI)Not measured81.5%Only GPT-5.4 Mini measured
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)Not measured48.0%Only GPT-5.4 Mini measured
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
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured52.3%Only GPT-5.4 Mini measured
FrontierCodeNot measured27.0%Only GPT-5.4 Mini measured
WeirdMLNot measured60.3%Only GPT-5.4 Mini measured
ALE-BenchNot measured1188.6Only GPT-5.4 Mini measured
LMArena Text: coding12091438GPT-5.4 Mini
LMArena Text: software and IT11951436GPT-5.4 Mini
LMArena WebDev: ReactNot measured1386Only GPT-5.4 Mini measured
LMArena WebDev: HTMLNot measured1419Only GPT-5.4 Mini measured
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-5.4 MiniLeader
AA Intelligence Index6.724.1GPT-5.4 Mini
Epoch Capabilities Index125.7148.7GPT-5.4 Mini
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Agentic work benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-5.4 MiniLeader
AA Agentic IndexNot measured17.9Only GPT-5.4 Mini 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 TelecomNot measured83.3%Only GPT-5.4 Mini measured
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-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)34.9%87.5%GPT-5.4 Mini
Humanity's Last Exam (Artificial Analysis run)Not measured28.1%Only GPT-5.4 Mini measured
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
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001424GPT-5.4 Mini
LMArena Text: expert11491435GPT-5.4 Mini
LMArena Text: hard prompts in English12091420GPT-5.4 Mini
LMArena Vision: diagramsNot measured1266Only GPT-5.4 Mini measured
LMArena Vision: homeworkNot measured1285Only GPT-5.4 Mini measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-5.4 MiniLeader
AIMENot measured95.6%Only GPT-5.4 Mini 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
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301418GPT-5.4 Mini
LMArena Text: mathematical work12281429GPT-5.4 Mini
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-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)56.2%Not measuredOnly GPT-4 measured
SimpleQA VerifiedNot measured29.4%Only GPT-5.4 Mini measured
MMLU86.4%Not measuredOnly GPT-4 measured
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771417GPT-5.4 Mini
LMArena Text: medicine and healthcare11451395GPT-5.4 Mini
LMArena Text: legal and government11911414GPT-5.4 Mini
LMArena Text: business and finance11451418GPT-5.4 Mini
Neither model has a result on the other 4 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-5.4 MiniLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index020
General benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-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
IFBench33.2%73.3%GPT-5.4 Mini
Long context reasoning (AA-LCR)Not measured77.0%Only GPT-5.4 Mini measured
DTBench62.7%80.0%GPT-5.4 Mini
LMCA17.1%40.8%GPT-5.4 Mini
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061412GPT-5.4 Mini
LMArena Text: instruction following12011405GPT-5.4 Mini
LMArena Text: creative writing11911370GPT-5.4 Mini
LMArena VisionNot measured1245Only GPT-5.4 Mini measured
LMArena Text: English12201412GPT-5.4 Mini
LMArena Text: non-English11941405GPT-5.4 Mini
LMArena Text: Chinese11841446GPT-5.4 Mini
LMArena Text: German11981408GPT-5.4 Mini
LMArena Text: Japanese11371375GPT-5.4 Mini
LMArena Text: Korean10871370GPT-5.4 Mini
LMArena Text: French12201441GPT-5.4 Mini
LMArena Text: Spanish11971405GPT-5.4 Mini
LMArena Text: Russian11951417GPT-5.4 Mini
LMArena Text: Polish12651415GPT-5.4 Mini
LMArena Text: multi-turn12061429GPT-5.4 Mini
LMArena Text: longer queries11901408GPT-5.4 Mini
LMArena Text: writing and language12191393GPT-5.4 Mini
LMArena Text: entertainment and media11841373GPT-5.4 Mini
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 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4 and GPT-5.4 Mini
BenchmarkGPT-4GPT-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-4$0.060Fits 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-4$1.68Exceeds the context window
GPT-5.4 Mini$0.051Fits in one request

GPT-5.4 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds the context window
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-4 and GPT-5.4 Mini
SpecificationOpenAI GPT-4OpenAI GPT-5.4 Mini
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 28, 2023March 17, 2026
Context window8K400K
Input $/Mtok$30.00$0.75
Output $/Mtok$60.00$4.50
Coding index22.428.2
Independent measurements behind it11
Cost per solved taskNot computable$0.70
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4 better than GPT-5.4 Mini for coding?

Pick GPT-5.4 Mini for coding: it scores 28.2 on the Vibe Coding Index against 22.4 for GPT-4. GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, GPT-4 or GPT-5.4 Mini?

GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Cost per solved task is known for GPT-5.4 Mini only.

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

GPT-5.4 Mini, with 400K tokens against 8K.

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

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

Compare next