Enter opens the highlighted result. Esc closes.

GPT-4 vs GPT-5 Mini

GPT-5 Mini leads GPT-4 on the Artificial Analysis Intelligence Index, 20.6 to 6.7, and GPT-5 Mini costs 30.0x less per output token ($2.00 vs $60.00 per million). Updated October 21, 2026; 36 benchmarks have a result for both.

GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
GPT-5 MiniOpenAI
Coding
34.2
Overall
43.7
Output $/M
$2.00
36
vs boards won of 36 shared

GPT-4 or GPT-5 Mini: which to pick

Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding.

Compare them on price, context and the boards below.

Shared results
36
GPT-4 only
9
GPT-5 Mini only
65
Like-for-like categories
6 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-4 not benchmarked, GPT-5 Mini 34.2 from 2 benchmarks.
Widest category
Reasoning, 36.3 points apart on average over 4 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GPT-4 34.9% against GPT-5 Mini 82.8%, 47.9 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against GPT-5 Mini $2.00 per million output tokens, 30.0x apart.
Context window
GPT-4 takes 8K tokens, GPT-5 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 MiniTies
Coding03
Intelligence02
Reasoning04
Math02
Knowledge05
General020
All shared boards036
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
SWE-bench Verified22.4%59.8%GPT-5 Mini
SWE-bench Lite39.7%Not measuredOnly GPT-4 measured
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
SWE-bench MultilingualNot measured39.7%Only GPT-5 Mini measured
AA Coding Index13.1Not measuredOnly GPT-4 measured
LiveCodeBench (Vals AI)Not measured86.6%Only GPT-5 Mini measured
SWE-bench Verified (Vals AI)Not measured60.8%Only GPT-5 Mini measured
Vibe Code Bench (Vals AI)Not measured14.2%Only GPT-5 Mini measured
LiveCodeBench (Artificial Analysis run)Not measured83.8%Only GPT-5 Mini measured
SciCodeNot measured39.0%Only GPT-5 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured33.3%Only GPT-5 Mini measured
Terminal-BenchNot measured34.8%Only GPT-5 Mini measured
WeirdMLNot measured52.7%Only GPT-5 Mini measured
LMArena Text: coding12091406GPT-5 Mini
LMArena Text: software and IT11951394GPT-5 Mini
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
AA Intelligence Index6.720.6GPT-5 Mini
Epoch Capabilities Index125.7145.3GPT-5 Mini
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
τ²-Bench TelecomNot measured71.1%Only GPT-5 Mini measured
Vending-Bench 2Not measured-$31Only GPT-5 Mini measured
Berkeley Function Calling Leaderboard (BFCL)Not measured55.5%Only GPT-5 Mini measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
GPQA DiamondNot measured80.3%Only GPT-5 Mini measured
MMMU Pro (Vals AI)Not measured78.9%Only GPT-5 Mini measured
GPQA Diamond (Artificial Analysis run)34.9%82.8%GPT-5 Mini
Humanity's Last Exam (Artificial Analysis run)Not measured21.5%Only GPT-5 Mini measured
GPQA Diamond (Epoch AI run)Not measured75.0%Only GPT-5 Mini measured
ARC-AGINot measured54.3%Only GPT-5 Mini measured
ARC-AGI-2Not measured4.4%Only GPT-5 Mini measured
Chess puzzlesNot measured24.0%Only GPT-5 Mini measured
Mystery game puzzlesNot measured10.0%Only GPT-5 Mini measured
VPCTNot measured40.2%Only GPT-5 Mini measured
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001380GPT-5 Mini
LMArena Text: expert11491379GPT-5 Mini
LMArena Text: hard prompts in English12091383GPT-5 Mini
LMArena Vision: diagramsNot measured1202Only GPT-5 Mini measured
LMArena Vision: homeworkNot measured1210Only GPT-5 Mini measured
Kagi LLM BenchmarkNot measured70.3%Only GPT-5 Mini measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
AIMENot measured91.5%Only GPT-5 Mini measured
MATH 500 (Vals AI)Not measured94.8%Only GPT-5 Mini measured
MGSM (Vals AI)Not measured92.6%Only GPT-5 Mini measured
AA Math IndexNot measured90.7Only GPT-5 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only GPT-5 Mini measured
OTIS Mock AIMENot measured86.7%Only GPT-5 Mini measured
FrontierMath, tiers 1 to 3Not measured46.7%Only GPT-5 Mini measured
FrontierMath, tier 4Not measured12.2%Only GPT-5 Mini measured
ProofBenchNot measured9.0%Only GPT-5 Mini measured
MATH level 5Not measured97.8%Only GPT-5 Mini measured
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301378GPT-5 Mini
LMArena Text: mathematical work12281380GPT-5 Mini
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
MMLU ProNot measured82.2%Only GPT-5 Mini measured
LegalBench (Vals AI)Not measured81.8%Only GPT-5 Mini measured
CaseLaw (Vals AI)Not measured68.5%Only GPT-5 Mini measured
CorpFin (Vals AI)Not measured60.2%Only GPT-5 Mini measured
TaxEval (Vals AI)Not measured75.2%Only GPT-5 Mini measured
MortgageTax (Vals AI)Not measured66.9%Only GPT-5 Mini measured
MedQA (Vals AI)Not measured96.1%Only GPT-5 Mini measured
MedCode (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MMLU Pro (Artificial Analysis run)56.2%83.7%GPT-5 Mini
SimpleQA VerifiedNot measured21.6%Only GPT-5 Mini measured
MMLU86.4%Not measuredOnly GPT-4 measured
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771371GPT-5 Mini
LMArena Text: medicine and healthcare11451380GPT-5 Mini
LMArena Text: legal and government11911375GPT-5 Mini
LMArena Text: business and finance11451358GPT-5 Mini
FACTS Benchmark SuiteNot measured38.6%Only GPT-5 Mini measured
Neither model has a result on the other 1 board here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
Design Arena: websitesNot measured1125Only GPT-5 Mini measured
Design Arena: UI componentsNot measured1106Only GPT-5 Mini measured
Design Arena: game devNot measured1130Only GPT-5 Mini measured
Design Arena: data vizNot measured1130Only GPT-5 Mini measured
Design Arena: 3DNot measured1037Only GPT-5 Mini measured
Design Arena: all code categoriesNot measured1115Only GPT-5 Mini measured
Design Arena: SVGNot measured1091Only GPT-5 Mini measured
Design Arena: ASCII artNot measured1125Only GPT-5 Mini measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index020
General benchmarks for GPT-4 and GPT-5 Mini
BenchmarkGPT-4GPT-5 MiniLeader
SAGE (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MedScribe (Vals AI)Not measured80.6%Only GPT-5 Mini measured
IFBench33.2%75.4%GPT-5 Mini
Long context reasoning (AA-LCR)Not measured72.3%Only GPT-5 Mini measured
DTBench62.7%80.5%GPT-5 Mini
LMCA17.1%34.2%GPT-5 Mini
Fiction.LiveBenchNot measured69.4%Only GPT-5 Mini measured
Creative writing (Lech Mazur)Not measured83.1%Only GPT-5 Mini measured
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061373GPT-5 Mini
LMArena Text: instruction following12011357GPT-5 Mini
LMArena Text: creative writing11911325GPT-5 Mini
LMArena VisionNot measured1202Only GPT-5 Mini measured
LMArena Text: English12201379GPT-5 Mini
LMArena Text: non-English11941363GPT-5 Mini
LMArena Text: Chinese11841386GPT-5 Mini
LMArena Text: German11981366GPT-5 Mini
LMArena Text: Japanese11371341GPT-5 Mini
LMArena Text: Korean10871308GPT-5 Mini
LMArena Text: French12201386GPT-5 Mini
LMArena Text: Spanish11971354GPT-5 Mini
LMArena Text: Russian11951362GPT-5 Mini
LMArena Text: Polish12651378GPT-5 Mini
LMArena Text: multi-turn12061363GPT-5 Mini
LMArena Text: longer queries11901355GPT-5 Mini
LMArena Text: writing and language12191344GPT-5 Mini
LMArena Text: entertainment and media11841340GPT-5 Mini
LMArena Vision: EnglishNot measured1216Only GPT-5 Mini measured
LMArena Vision: ChineseNot measured1214Only GPT-5 Mini measured
LMArena Vision: reading textNot measured1199Only GPT-5 Mini measured
LMArena Vision: humorNot measured1205Only GPT-5 Mini measured
LMArena Vision: captioningNot measured1217Only GPT-5 Mini measured
LMArena Vision: recognizing thingsNot measured1226Only GPT-5 Mini measured
LMArena Vision: creative writingNot measured1181Only GPT-5 Mini measured
Neither model has a result on the other 11 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 Mini
BenchmarkGPT-4GPT-5 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 Mini$0.0013Fits in one request

GPT-5 Mini costs less

Repository review

50K input + 3K output tokens

GPT-4$1.68Exceeds the context window
GPT-5 Mini$0.018Fits in one request

GPT-5 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds the context window
GPT-5 Mini$0.070Fits in one request

GPT-5 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 Mini
SpecificationOpenAI GPT-4OpenAI GPT-5 Mini
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 28, 2023August 7, 2025
Context window8K400K
Input $/Mtok$30.00$0.25
Output $/Mtok$60.00$2.00
Coding indexNot benchmarked34.2
Independent measurements behind it02
Cost per solved taskNot computable$0.08
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

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

GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Cost per solved task is known for GPT-5 Mini only.

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

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

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

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

Compare next