Gemini 2.5 Flash vs GPT-5.4 Mini
GPT-5.4 Mini leads Gemini 2.5 Flash on the Artificial Analysis Intelligence Index, 24.1 to 15.5, and Gemini 2.5 Flash costs 1.8x less per output token ($2.50 vs $4.50 per million). Updated October 22, 2026; 51 benchmarks have a result for both.
Gemini 2.5 Flash or GPT-5.4 Mini: which to pick
Only GPT-5.4 Mini has a coding score, 35.8 on the Vibe Coding Index; Gemini 2.5 Flash has none, so the two cannot be ranked on coding.
Pick Gemini 2.5 Flash for output tokens 1.8x cheaper ($2.50 vs $4.50 per million) and a lower cost per solved task ($0.466 against $0.70).
- Shared results
- 51
- Gemini 2.5 Flash only
- 22
- GPT-5.4 Mini only
- 38
- Like-for-like categories
- 7 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.4 Mini has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 24.1 against 15.5.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.4 Mini has a AA Agentic Index result, 17.9.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-5.4 Mini has a GPQA Diamond result, 83.1%.
Directional only
Math
AIME
No call
Only GPT-5.4 Mini has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5.4 Mini has a MMLU Pro result, 84.5%.
Directional only
Web design
Design Arena: websites
No call
Only Gemini 2.5 Flash has a Design Arena: websites result, 1074.
Directional only
Long documents
Listed context window
Gemini 2.5 Flash
Gemini 2.5 Flash takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 2.5 Flash
Gemini 2.5 Flash $0.0015, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 2.5 Flash
Gemini 2.5 Flash $0.466, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 2.5 Flash not benchmarked, GPT-5.4 Mini 35.8 from 5 benchmarks.
- Widest category
- Agentic work, 51.8 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: Gemini 2.5 Flash 31.6% against GPT-5.4 Mini 83.3%, 51.8 points apart on a 0 to 100 scale.
- Output price
- Gemini 2.5 Flash $2.50 against GPT-5.4 Mini $4.50 per million output tokens, 1.8x apart.
- Context window
- Gemini 2.5 Flash takes 1.05M 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.
| Category | Gemini 2.5 Flash | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 2 | 8 | ||
| Math | 0 | 2 | ||
| Knowledge | 3 | 1 | ||
| General | 14 | 15 | ||
| All shared boards | 19 | 32 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SWE-bench Verified | 28.7% | Not measured | Only Gemini 2.5 Flash measured |
| LMArena WebDev | Not measured | 1397 | Only GPT-5.4 Mini measured |
| AA Coding Index | Not measured | 56.1 | Only GPT-5.4 Mini measured |
| LiveCodeBench (Vals AI) | Not measured | 81.5% | Only GPT-5.4 Mini measured |
| SWE-bench Verified (Vals AI) | Not measured | 73.0% | Only GPT-5.4 Mini measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 2.5% | Only GPT-5.4 Mini measured |
| Vibe Code Bench (Vals AI) | Not measured | 48.0% | Only GPT-5.4 Mini measured |
| Code migration (Vals AI) | Not measured | 12.9% | Only GPT-5.4 Mini measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only GPT-5.4 Mini measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 54.7% | Only GPT-5.4 Mini measured |
| LiveCodeBench (Artificial Analysis run) | 69.5% | Not measured | Only Gemini 2.5 Flash measured |
| SciCode | Not measured | 52.1% | Only GPT-5.4 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | 52.3% | GPT-5.4 Mini |
| Terminal-Bench | 17.1% | Not measured | Only Gemini 2.5 Flash measured |
| FrontierCode | Not measured | 27.0% | Only GPT-5.4 Mini measured |
| WeirdML | Not measured | 60.3% | Only GPT-5.4 Mini measured |
| ALE-Bench | Not measured | 1188.6 | Only GPT-5.4 Mini measured |
| LMArena Text: coding | 1423 | 1438 | GPT-5.4 Mini |
| LMArena Text: software and IT | 1425 | 1436 | GPT-5.4 Mini |
| LMArena WebDev: React | Not measured | 1386 | Only GPT-5.4 Mini measured |
| LMArena WebDev: HTML | Not measured | 1419 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 15.5 | 24.1 | GPT-5.4 Mini |
| Epoch Capabilities Index | 142.9 | 148.7 | GPT-5.4 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 17.9 | Only GPT-5.4 Mini measured |
| Finance Agent (Vals AI) | Not measured | 45.4% | Only GPT-5.4 Mini measured |
| Tax Agent Bench (Vals AI) | Not measured | 8.8% | Only GPT-5.4 Mini measured |
| Legal Research Bench (Vals AI) | Not measured | 12.5% | Only GPT-5.4 Mini measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 45.4% | Only GPT-5.4 Mini measured |
| τ²-Bench Telecom | 31.6% | 83.3% | GPT-5.4 Mini |
| BALROG | 33.5% | Not measured | Only Gemini 2.5 Flash measured |
| DeepResearch Bench | Not measured | 36.3% | Only GPT-5.4 Mini measured |
| Vending-Bench 2 | $549 | Not measured | Only Gemini 2.5 Flash measured |
| Berkeley Function Calling Leaderboard (BFCL) | 56.2% | Not measured | Only Gemini 2.5 Flash measured |
| BrowseComp-Plus | 39.9% | Not measured | Only Gemini 2.5 Flash measured |
| Neither model has a result on the other 30 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index28
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 83.1% | Only GPT-5.4 Mini measured |
| MMMU Pro (Vals AI) | Not measured | 79.3% | Only GPT-5.4 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 79.0% | 87.5% | GPT-5.4 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 12.1% | 28.1% | GPT-5.4 Mini |
| GPQA Diamond (Epoch AI run) | Not measured | 86.9% | Only GPT-5.4 Mini measured |
| ARC-AGI | 33.3% | 63.7% | GPT-5.4 Mini |
| ARC-AGI-2 | 2.5% | 18.9% | GPT-5.4 Mini |
| SimpleBench | 41.2% | Not measured | Only Gemini 2.5 Flash measured |
| Chess puzzles | Not measured | 23.0% | Only GPT-5.4 Mini measured |
| Mystery game puzzles | Not measured | 11.0% | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts | 1422 | 1424 | GPT-5.4 Mini |
| LMArena Text: expert | 1426 | 1435 | GPT-5.4 Mini |
| LMArena Text: hard prompts in English | 1420 | 1420 | Gemini 2.5 Flash |
| LMArena Vision: diagrams | 1245 | 1266 | GPT-5.4 Mini |
| LMArena Vision: homework | 1244 | 1285 | GPT-5.4 Mini |
| Kagi LLM Benchmark | 56.8% | 37.9% | Gemini 2.5 Flash |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 95.6% | Only GPT-5.4 Mini measured |
| AA Math Index | 73.3 | Not measured | Only Gemini 2.5 Flash measured |
| AIME 2025 (Artificial Analysis run) | 73.3% | Not measured | Only Gemini 2.5 Flash measured |
| OTIS Mock AIME | Not measured | 88.9% | Only GPT-5.4 Mini measured |
| FrontierMath, tiers 1 to 3 | Not measured | 51.2% | Only GPT-5.4 Mini measured |
| FrontierMath, tier 4 | Not measured | 9.8% | Only GPT-5.4 Mini measured |
| ProofBench | Not measured | 21.0% | Only GPT-5.4 Mini measured |
| LMArena Text: math | 1411 | 1418 | GPT-5.4 Mini |
| LMArena Text: mathematical work | 1422 | 1429 | GPT-5.4 Mini |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 84.5% | Only GPT-5.4 Mini measured |
| CaseLaw (Vals AI) | Not measured | 51.7% | Only GPT-5.4 Mini measured |
| CorpFin (Vals AI) | Not measured | 60.9% | Only GPT-5.4 Mini measured |
| TaxEval (Vals AI) | Not measured | 71.2% | Only GPT-5.4 Mini measured |
| MortgageTax (Vals AI) | Not measured | 63.5% | Only GPT-5.4 Mini measured |
| MedCode (Vals AI) | 40.4% | Not measured | Only Gemini 2.5 Flash measured |
| MMLU Pro (Artificial Analysis run) | 83.2% | Not measured | Only Gemini 2.5 Flash measured |
| SimpleQA Verified | Not measured | 29.4% | Only GPT-5.4 Mini measured |
| LMArena Text: science | 1433 | 1417 | Gemini 2.5 Flash |
| LMArena Text: medicine and healthcare | 1428 | 1395 | Gemini 2.5 Flash |
| LMArena Text: legal and government | 1430 | 1414 | Gemini 2.5 Flash |
| LMArena Text: business and finance | 1404 | 1418 | GPT-5.4 Mini |
| FACTS Benchmark Suite | 47.2% | Not measured | Only Gemini 2.5 Flash measured |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1074 | Not measured | Only Gemini 2.5 Flash measured |
| Design Arena: UI components | 1002 | Not measured | Only Gemini 2.5 Flash measured |
| Design Arena: game dev | 1004 | Not measured | Only Gemini 2.5 Flash measured |
| Design Arena: data viz | 1060 | Not measured | Only Gemini 2.5 Flash measured |
| Design Arena: 3D | 1020 | Not measured | Only Gemini 2.5 Flash measured |
| Design Arena: all code categories | 1059 | Not measured | Only Gemini 2.5 Flash measured |
| Design Arena: SVG | 1020 | Not measured | Only Gemini 2.5 Flash measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index1415
| Benchmark | Gemini 2.5 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 44.8% | 50.8% | GPT-5.4 Mini |
| MedScribe (Vals AI) | 83.0% | Not measured | Only Gemini 2.5 Flash measured |
| Vals Multimodal Index | Not measured | 54.2% | Only GPT-5.4 Mini measured |
| IFBench | 50.3% | 73.3% | GPT-5.4 Mini |
| Long context reasoning (AA-LCR) | 65.3% | 77.0% | GPT-5.4 Mini |
| DTBench | 76.5% | 80.0% | GPT-5.4 Mini |
| LMCA | 27.5% | 40.8% | GPT-5.4 Mini |
| LMArena Text | 1417 | 1412 | Gemini 2.5 Flash |
| LMArena Text: instruction following | 1405 | 1405 | GPT-5.4 Mini |
| LMArena Text: creative writing | 1400 | 1370 | Gemini 2.5 Flash |
| LMArena Vision | 1235 | 1245 | GPT-5.4 Mini |
| LMArena Text: English | 1418 | 1412 | Gemini 2.5 Flash |
| LMArena Text: non-English | 1409 | 1405 | Gemini 2.5 Flash |
| LMArena Text: Chinese | 1449 | 1446 | Gemini 2.5 Flash |
| LMArena Text: German | 1417 | 1408 | Gemini 2.5 Flash |
| LMArena Text: Japanese | 1396 | 1375 | Gemini 2.5 Flash |
| LMArena Text: Korean | 1385 | 1370 | Gemini 2.5 Flash |
| LMArena Text: French | 1432 | 1441 | GPT-5.4 Mini |
| LMArena Text: Spanish | 1422 | 1405 | Gemini 2.5 Flash |
| LMArena Text: Russian | 1415 | 1417 | GPT-5.4 Mini |
| LMArena Text: Polish | 1413 | 1415 | GPT-5.4 Mini |
| LMArena Text: multi-turn | 1408 | 1429 | GPT-5.4 Mini |
| LMArena Text: longer queries | 1419 | 1408 | Gemini 2.5 Flash |
| LMArena Text: writing and language | 1405 | 1393 | Gemini 2.5 Flash |
| LMArena Text: entertainment and media | 1393 | 1373 | Gemini 2.5 Flash |
| LMArena Vision: English | 1239 | 1244 | GPT-5.4 Mini |
| LMArena Vision: Chinese | 1284 | 1286 | GPT-5.4 Mini |
| LMArena Vision: reading text | 1237 | 1253 | GPT-5.4 Mini |
| LMArena Vision: humor | 1225 | 1235 | GPT-5.4 Mini |
| LMArena Vision: captioning | 1277 | Not measured | Only Gemini 2.5 Flash measured |
| LMArena Vision: recognizing things | 1252 | 1218 | Gemini 2.5 Flash |
| LMArena Vision: creative writing | 1241 | 1222 | Gemini 2.5 Flash |
| 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
| Benchmark | Gemini 2.5 Flash | GPT-5.4 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
Gemini 2.5 Flash costs less
Repository review
50K input + 3K output tokens
Gemini 2.5 Flash costs less
Agent loop
200K input + 10K output tokens
Gemini 2.5 Flash 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 | Google Gemini 2.5 Flash | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | June 17, 2025 | March 17, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.30 | $0.75 |
| Output $/Mtok | $2.50 | $4.50 |
| Coding index | Not benchmarked | 35.8 |
| Independent measurements behind it | 0 | 5 |
| Cost per solved task | $0.466 | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 2.5 Flash better than GPT-5.4 Mini for coding?
Only GPT-5.4 Mini has a coding score, 35.8 on the Vibe Coding Index; Gemini 2.5 Flash has none, so the two cannot be ranked on coding. Pick Gemini 2.5 Flash for output tokens 1.8x cheaper ($2.50 vs $4.50 per million) and a lower cost per solved task ($0.466 against $0.70).
Which is cheaper, Gemini 2.5 Flash or GPT-5.4 Mini?
Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, Gemini 2.5 Flash costs $0.466 and GPT-5.4 Mini $0.70.
Which has the bigger context window, Gemini 2.5 Flash or GPT-5.4 Mini?
Gemini 2.5 Flash, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 2.5 Flash vs GPT-5.4 Mini comparison based on?
51 benchmarks have a result for both models as of October 22, 2026. Gemini 2.5 Flash's coding index rests on 0 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.