GPT-5 vs o4 Mini
GPT-5 leads o4 Mini on the Artificial Analysis Intelligence Index, 23.0 to 16.7, and o4 Mini costs 2.3x less per output token ($4.40 vs $10.00 per million). Updated October 22, 2026; 96 benchmarks have a result for both.
GPT-5 or o4 Mini: which to pick
Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; o4 Mini has none, so the two cannot be ranked on coding.
Pick o4 Mini for output tokens 2.3x cheaper ($4.40 vs $10.00 per million) and work measured by LiveCodeBench (Artificial Analysis run) or SciCode, where it leads.
- Shared results
- 96
- GPT-5 only
- 17
- o4 Mini only
- 2
- Like-for-like categories
- 8 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only GPT-5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5
GPT-5 leads, 23.0 against 16.7.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5
GPT-5 leads, 85.6% against 74.5%.
Same board, both measured
Math
AIME
GPT-5
GPT-5 leads, 93.4% against 83.7%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5
GPT-5 leads, 86.5% against 80.6%.
Same board, both measured
Web design
Design Arena: websites
GPT-5
GPT-5 leads, 1184 against 985.
Same board, both measured
Long documents
Listed context window
GPT-5
GPT-5 takes 400K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
o4 Mini
GPT-5 $0.0063, o4 Mini $0.0033 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5 has the number, $0.39.
Directional only
At a glance
- Coding index
- GPT-5 38.8 from 3 benchmarks, o4 Mini not benchmarked.
- Widest category
- Web design, 24.9 points apart on average over 6 shared benchmarks.
- Widest single gap
- τ²-Bench Telecom: GPT-5 86.5% against o4 Mini 55.6%, 31.0 points apart on a 0 to 100 scale.
- Output price
- GPT-5 $10.00 against o4 Mini $4.40 per million output tokens, 2.3x apart.
- Context window
- GPT-5 takes 400K tokens, o4 Mini 200K.
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.
| Category | GPT-5 | Bars | o4 Mini | Ties |
|---|---|---|---|---|
| Coding | 8 | 2 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 17 | 0 | ||
| Math | 10 | 1 | ||
| Knowledge | 14 | 1 | ||
| Web design | 6 | 0 | ||
| General | 33 | 0 | ||
| All shared boards | 92 | 4 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index82
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| Aider polyglot | 88.0% | 72.0% | GPT-5 |
| SWE-bench Verified | 74.4% | 64.6% | GPT-5 |
| SWE-bench Multimodal | Not measured | 33.9% | Only o4 Mini measured |
| LMArena WebDev | 1418 | Not measured | Only GPT-5 measured |
| AA Coding Index | 37.8 | Not measured | Only GPT-5 measured |
| LiveCodeBench (Vals AI) | 85.9% | 82.2% | GPT-5 |
| SWE-bench Verified (Vals AI) | 69.0% | Not measured | Only GPT-5 measured |
| Vibe Code Bench (Vals AI) | 20.1% | Not measured | Only GPT-5 measured |
| LiveCodeBench (Artificial Analysis run) | 84.6% | 85.9% | o4 Mini |
| Terminal-Bench Hard (Artificial Analysis run) | 37.9% | 15.2% | GPT-5 |
| Terminal-Bench | 49.6% | Not measured | Only GPT-5 measured |
| GSO-Bench | 6.9% | 3.6% | GPT-5 |
| WeirdML | 60.7% | 52.6% | GPT-5 |
| ALE-Bench | 807.6 | Not measured | Only GPT-5 measured |
| LMArena Text: coding | 1436 | 1368 | GPT-5 |
| LMArena Text: software and IT | 1420 | 1367 | GPT-5 |
| LMArena WebDev: HTML | 1427 | Not measured | Only GPT-5 measured |
| SciCode | 0.0% | 10.8% | o4 Mini |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 23.0 | 16.7 | GPT-5 |
| Epoch Capabilities Index | 150.0 | 145.5 | GPT-5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 86.5% | 55.6% | GPT-5 |
| METR time horizons | 69.6% | 63.9% | GPT-5 |
| Remote Labor Index | 1.7% | Not measured | Only GPT-5 measured |
| GDPval | 34.8% | Not measured | Only GPT-5 measured |
| BALROG | 32.8% | Not measured | Only GPT-5 measured |
| DeepResearch Bench | 49.6% | Not measured | Only GPT-5 measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 53.2% | Only o4 Mini measured |
| BrowseComp-Plus | 80.0% | Not measured | Only GPT-5 measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index170
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | 74.5% | GPT-5 |
| MMMU Pro (Vals AI) | 81.5% | 79.7% | GPT-5 |
| GPQA Diamond (Artificial Analysis run) | 85.4% | 78.4% | GPT-5 |
| Humanity's Last Exam (Artificial Analysis run) | 28.5% | 16.5% | GPT-5 |
| GPQA Diamond (Epoch AI run) | 86.2% | 79.6% | GPT-5 |
| ARC-AGI | 65.7% | 58.7% | GPT-5 |
| ARC-AGI-2 | 9.9% | 6.1% | GPT-5 |
| SimpleBench | 56.7% | 38.7% | GPT-5 |
| Chess puzzles | 36.0% | 22.0% | GPT-5 |
| Mystery game puzzles | 23.0% | 5.0% | GPT-5 |
| EBR-bench | 12.7% | Not measured | Only GPT-5 measured |
| VPCT | 66.0% | 57.5% | GPT-5 |
| LMArena Text: hard prompts | 1415 | 1351 | GPT-5 |
| LMArena Text: expert | 1419 | 1343 | GPT-5 |
| LMArena Text: hard prompts in English | 1419 | 1366 | GPT-5 |
| LMArena Vision: diagrams | 1252 | 1197 | GPT-5 |
| LMArena Vision: homework | 1278 | 1234 | GPT-5 |
| Kagi LLM Benchmark | 72.7% | 67.6% | GPT-5 |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index101
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| AIME | 93.4% | 83.7% | GPT-5 |
| MATH 500 (Vals AI) | 96.0% | 94.2% | GPT-5 |
| MGSM (Vals AI) | 92.8% | 93.4% | o4 Mini |
| AA Math Index | 94.3 | 90.7 | GPT-5 |
| AIME 2025 (Artificial Analysis run) | 94.3% | 90.7% | GPT-5 |
| OTIS Mock AIME | 91.4% | 81.7% | GPT-5 |
| FrontierMath, tiers 1 to 3 | 55.4% | 36.1% | GPT-5 |
| FrontierMath, tier 4 | 22.0% | 4.9% | GPT-5 |
| ProofBench | 18.0% | Not measured | Only GPT-5 measured |
| MATH level 5 | 98.1% | 97.8% | GPT-5 |
| LMArena Text: math | 1407 | 1389 | GPT-5 |
| LMArena Text: mathematical work | 1405 | 1379 | GPT-5 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index141
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 86.5% | 80.6% | GPT-5 |
| LegalBench (Vals AI) | 86.0% | 79.2% | GPT-5 |
| CaseLaw (Vals AI) | 66.5% | Not measured | Only GPT-5 measured |
| CorpFin (Vals AI) | 61.1% | 59.0% | GPT-5 |
| TaxEval (Vals AI) | 73.4% | 74.8% | o4 Mini |
| MortgageTax (Vals AI) | 65.5% | 64.8% | GPT-5 |
| MedQA (Vals AI) | 96.3% | 96.0% | GPT-5 |
| MedCode (Vals AI) | 49.6% | 33.8% | GPT-5 |
| MMLU Pro (Artificial Analysis run) | 87.1% | 83.2% | GPT-5 |
| SimpleQA Verified | 50.1% | 19.6% | GPT-5 |
| GeoBench | 81.0% | 64.0% | GPT-5 |
| LMArena Text: science | 1416 | 1354 | GPT-5 |
| LMArena Text: medicine and healthcare | 1413 | 1361 | GPT-5 |
| LMArena Text: legal and government | 1431 | 1350 | GPT-5 |
| LMArena Text: business and finance | 1400 | 1325 | GPT-5 |
| FACTS Benchmark Suite | 56.5% | 28.1% | GPT-5 |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1184 | 985 | GPT-5 |
| Design Arena: UI components | 1177 | 983 | GPT-5 |
| Design Arena: game dev | 1185 | 1003 | GPT-5 |
| Design Arena: data viz | 1221 | 991 | GPT-5 |
| Design Arena: 3D | 1055 | 854 | GPT-5 |
| Design Arena: all code categories | 1167 | 976 | GPT-5 |
| Design Arena: SVG | 1188 | Not measured | Only GPT-5 measured |
| Design Arena: ASCII art | 1141 | Not measured | Only GPT-5 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index330
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5 | o4 Mini | Leader |
|---|---|---|---|
| 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
o4 Mini costs less
Repository review
50K input + 3K output tokens
o4 Mini costs less
Agent loop
200K input + 10K output tokens
o4 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.
| Specification | OpenAI GPT-5 | OpenAI o4 Mini |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | August 7, 2025 | April 16, 2025 |
| Context window | 400K | 200K |
| Input $/Mtok | $1.25 | $1.10 |
| Output $/Mtok | $10.00 | $4.40 |
| Coding index | 38.8 | Not benchmarked |
| Independent measurements behind it | 3 | 0 |
| Cost per solved task | $0.39 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5 better than o4 Mini for coding?
Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; o4 Mini has none, so the two cannot be ranked on coding. Pick o4 Mini for output tokens 2.3x cheaper ($4.40 vs $10.00 per million) and work measured by LiveCodeBench (Artificial Analysis run) or SciCode, where it leads.
Which is cheaper, GPT-5 or o4 Mini?
GPT-5 costs $1.25 per million input tokens and $10.00 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for GPT-5 only.
Which has the bigger context window, GPT-5 or o4 Mini?
GPT-5, with 400K tokens against 200K.
How many benchmarks is the GPT-5 vs o4 Mini comparison based on?
96 benchmarks have a result for both models as of October 22, 2026. GPT-5's coding index rests on 3 independent benchmarks and o4 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.