Gemini 3.5 Flash vs GPT-5.4 Nano
GPT-5.4 Nano leads Gemini 3.5 Flash on coding, 44.8 to 39.8 on the Vibe Coding Index, and GPT-5.4 Nano costs 7.2x less per output token ($1.25 vs $9.00 per million). Updated October 22, 2026; 79 benchmarks have a result for both.
Gemini 3.5 Flash or GPT-5.4 Nano: which to pick
Pick GPT-5.4 Nano for coding: it scores 44.8 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash, though on 2 benchmarks against 4.
Pick Gemini 3.5 Flash for a larger context window (1.05M against 400K tokens) and work measured by LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads.
- Shared results
- 79
- Gemini 3.5 Flash only
- 33
- GPT-5.4 Nano only
- 6
- 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
GPT-5.4 Nano
GPT-5.4 Nano scores 44.8 against 39.8.
4 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 33.6 against 20.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.4 Nano has a AA Agentic Index result, 16.0.
Directional only
Reasoning
GPQA Diamond
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 92.7% against 77.5%.
Same board, both measured
Math
AIME
No call
Only GPT-5.4 Nano has a AIME result, 88.8%.
Directional only
Knowledge
MMLU Pro
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 89.5% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
No call
Only Gemini 3.5 Flash has a Design Arena: websites result, 1267.
Directional only
Long documents
Listed context window
Gemini 3.5 Flash
Gemini 3.5 Flash takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4 Nano
Gemini 3.5 Flash $0.0060, GPT-5.4 Nano $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.4 Nano
Gemini 3.5 Flash $1.21, GPT-5.4 Nano $0.14.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.5 Flash 39.8 from 4 benchmarks, GPT-5.4 Nano 44.8 from 2 benchmarks.
- Widest category
- Reasoning, 20.4 points apart on average over 14 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3.5 Flash 72.1% against GPT-5.4 Nano 5.7%, 66.4 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.5 Flash $9.00 against GPT-5.4 Nano $1.25 per million output tokens, 7.2x apart.
- Context window
- Gemini 3.5 Flash takes 1.05M tokens, GPT-5.4 Nano 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 3.5 Flash | Bars | GPT-5.4 Nano | Ties |
|---|---|---|---|---|
| Coding | 10 | 1 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 5 | 0 | ||
| Reasoning | 13 | 0 | 1 tie | |
| Math | 6 | 0 | ||
| Knowledge | 11 | 0 | ||
| General | 28 | 2 | ||
| All shared boards | 75 | 3 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index101
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| LMArena WebDev | 1499 | Not measured | Only Gemini 3.5 Flash measured |
| AA Coding Index | Not measured | 56.1 | Only GPT-5.4 Nano measured |
| LiveCodeBench (Vals AI) | 87.6% | 84.0% | Gemini 3.5 Flash |
| SWE-bench Verified (Vals AI) | 78.8% | 69.8% | Gemini 3.5 Flash |
| Terminal-Bench 4 (Vals AI) | 6.1% | Not measured | Only Gemini 3.5 Flash measured |
| Vibe Code Bench (Vals AI) | 48.7% | 26.1% | Gemini 3.5 Flash |
| Code migration (Vals AI) | 26.8% | 14.5% | Gemini 3.5 Flash |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.5 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 74.2% | 41.6% | Gemini 3.5 Flash |
| SkillsBench (Vals AI) | 52.7% | Not measured | Only Gemini 3.5 Flash measured |
| SciCode | 53.9% | 47.2% | Gemini 3.5 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | 46.2% | 42.4% | Gemini 3.5 Flash |
| WeirdML | 62.6% | 49.2% | Gemini 3.5 Flash |
| ALE-Bench | 911.0 | 1004.5 | GPT-5.4 Nano |
| LMArena Text: coding | 1493 | 1404 | Gemini 3.5 Flash |
| LMArena Text: software and IT | 1494 | 1402 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1495 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena WebDev: HTML | 1522 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena WebDev: from an image | 1504 | Not measured | Only Gemini 3.5 Flash measured |
| SciCode | 12.3% | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.6 | 20.7 | Gemini 3.5 Flash |
| Epoch Capabilities Index | 154.9 | 146.0 | Gemini 3.5 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 16.0 | Only GPT-5.4 Nano measured |
| Design Arena: agents building web apps | 1202 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building full-stack apps | 1197 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building mobile apps | 1174 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building Android apps | 1185 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building Godot games | 1098 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building games | 1180 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: HTML slides | 1093 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: PowerPoint slides | 1154 | Not measured | Only Gemini 3.5 Flash measured |
| Finance Agent (Vals AI) | 57.9% | 38.2% | Gemini 3.5 Flash |
| Tax Agent Bench (Vals AI) | 21.6% | 5.0% | Gemini 3.5 Flash |
| Legal Research Bench (Vals AI) | 30.8% | 6.3% | Gemini 3.5 Flash |
| Excel Modeling Benchmark (Vals AI) | 63.5% | 44.8% | Gemini 3.5 Flash |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only Gemini 3.5 Flash measured |
| τ²-Bench Telecom | 95.6% | 76.0% | Gemini 3.5 Flash |
| APEX-Agents | 27.5% | Not measured | Only Gemini 3.5 Flash measured |
| Vending-Bench 2 | $5,396 | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index130
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| GPQA Diamond | 92.7% | 77.5% | Gemini 3.5 Flash |
| MMMU Pro (Vals AI) | 88.3% | 73.6% | Gemini 3.5 Flash |
| GPQA Diamond (Artificial Analysis run) | 92.2% | 81.7% | Gemini 3.5 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 42.7% | 28.3% | Gemini 3.5 Flash |
| GPQA Diamond (Epoch AI run) | 92.8% | 78.5% | Gemini 3.5 Flash |
| ARC-AGI | 92.5% | 51.5% | Gemini 3.5 Flash |
| ARC-AGI-2 | 72.1% | 5.7% | Gemini 3.5 Flash |
| SimpleBench | 76.7% | Not measured | Only Gemini 3.5 Flash measured |
| Chess puzzles | 45.0% | 45.0% | Tie |
| Mystery game puzzles | 32.0% | 9.0% | Gemini 3.5 Flash |
| EBR-bench | 4.8% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: hard prompts | 1488 | 1381 | Gemini 3.5 Flash |
| LMArena Text: expert | 1495 | 1396 | Gemini 3.5 Flash |
| LMArena Text: hard prompts in English | 1483 | 1387 | Gemini 3.5 Flash |
| LMArena Vision: diagrams | 1323 | 1210 | Gemini 3.5 Flash |
| LMArena Vision: homework | 1330 | 1225 | Gemini 3.5 Flash |
| Kagi LLM Benchmark | Not measured | 39.7% | Only GPT-5.4 Nano measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| AIME | Not measured | 88.8% | Only GPT-5.4 Nano measured |
| OTIS Mock AIME | 95.6% | 87.8% | Gemini 3.5 Flash |
| FrontierMath, tiers 1 to 3 | 62.8% | 44.9% | Gemini 3.5 Flash |
| FrontierMath, tier 4 | 26.8% | 12.2% | Gemini 3.5 Flash |
| ProofBench | 31.0% | 5.0% | Gemini 3.5 Flash |
| LMArena Text: math | 1504 | 1405 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1495 | 1409 | Gemini 3.5 Flash |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| MMLU Pro | 89.5% | 77.2% | Gemini 3.5 Flash |
| LegalBench (Vals AI) | 83.6% | 77.9% | Gemini 3.5 Flash |
| CaseLaw (Vals AI) | Not measured | 51.9% | Only GPT-5.4 Nano measured |
| CorpFin (Vals AI) | 64.7% | 61.2% | Gemini 3.5 Flash |
| TaxEval (Vals AI) | 74.4% | 67.4% | Gemini 3.5 Flash |
| MortgageTax (Vals AI) | 68.1% | 59.1% | Gemini 3.5 Flash |
| MedCode (Vals AI) | 55.8% | 41.0% | Gemini 3.5 Flash |
| SimpleQA Verified | 66.2% | 11.7% | Gemini 3.5 Flash |
| LMArena Text: science | 1495 | 1374 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1483 | 1369 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1488 | 1368 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1467 | 1366 | Gemini 3.5 Flash |
| FACTS Benchmark Suite | 63.1% | Not measured | Only Gemini 3.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 index8 boards, none shared
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| Design Arena: websites | 1267 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: UI components | 1269 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: game dev | 1263 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: data viz | 1236 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: 3D | 1243 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: all code categories | 1266 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: SVG | 1253 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: ASCII art | 1254 | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index282
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 59.5% | Not measured | Only Gemini 3.5 Flash measured |
| SAGE (Vals AI) | 49.9% | 38.1% | Gemini 3.5 Flash |
| MedScribe (Vals AI) | 76.6% | 77.1% | GPT-5.4 Nano |
| Vals Multimodal Index | 62.9% | 47.6% | Gemini 3.5 Flash |
| IFBench | 76.3% | 75.9% | Gemini 3.5 Flash |
| Long context reasoning (AA-LCR) | 74.3% | 76.7% | GPT-5.4 Nano |
| DTBench | 94.7% | 80.3% | Gemini 3.5 Flash |
| LMCA | 47.1% | 36.9% | Gemini 3.5 Flash |
| Surface Evolver Bench | 58.1% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text | 1482 | 1372 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1467 | 1362 | Gemini 3.5 Flash |
| LMArena Text: creative writing | 1470 | 1315 | Gemini 3.5 Flash |
| LMArena Vision | 1308 | 1196 | Gemini 3.5 Flash |
| LMArena Text: English | 1481 | 1381 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1475 | 1359 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1527 | 1391 | Gemini 3.5 Flash |
| LMArena Text: German | 1494 | 1368 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1486 | 1343 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1448 | 1321 | Gemini 3.5 Flash |
| LMArena Text: French | 1490 | 1395 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1480 | 1371 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1493 | 1363 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1516 | 1366 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1481 | 1382 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1483 | 1365 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1478 | 1338 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1459 | 1325 | Gemini 3.5 Flash |
| LMArena Vision: English | 1305 | 1202 | Gemini 3.5 Flash |
| LMArena Vision: Chinese | 1377 | 1232 | Gemini 3.5 Flash |
| LMArena Vision: reading text | 1317 | 1204 | Gemini 3.5 Flash |
| LMArena Vision: humor | 1321 | 1161 | Gemini 3.5 Flash |
| LMArena Vision: recognizing things | Not measured | 1141 | Only GPT-5.4 Nano measured |
| LMArena Vision: creative writing | 1301 | 1159 | Gemini 3.5 Flash |
| LMArena Document | 1463 | Not measured | Only Gemini 3.5 Flash 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
| Benchmark | Gemini 3.5 Flash | GPT-5.4 Nano | 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
GPT-5.4 Nano costs less
Repository review
50K input + 3K output tokens
GPT-5.4 Nano costs less
Agent loop
200K input + 10K output tokens
GPT-5.4 Nano 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 3.5 Flash | OpenAI GPT-5.4 Nano |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | May 19, 2026 | March 17, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $1.50 | $0.20 |
| Output $/Mtok | $9.00 | $1.25 |
| Coding index | 39.8 | 44.8 |
| Independent measurements behind it | 4 | 2 |
| Cost per solved task | $1.21 | $0.14 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.5 Flash better than GPT-5.4 Nano for coding?
Pick GPT-5.4 Nano for coding: it scores 44.8 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash, though on 2 benchmarks against 4. Pick Gemini 3.5 Flash for a larger context window (1.05M against 400K tokens) and work measured by LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads.
Which is cheaper, Gemini 3.5 Flash or GPT-5.4 Nano?
Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GPT-5.4 Nano costs $0.20 and $1.25. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GPT-5.4 Nano $0.14.
Which has the bigger context window, Gemini 3.5 Flash or GPT-5.4 Nano?
Gemini 3.5 Flash, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 3.5 Flash vs GPT-5.4 Nano comparison based on?
79 benchmarks have a result for both models as of October 22, 2026. Gemini 3.5 Flash's coding index rests on 4 independent benchmarks and GPT-5.4 Nano's on 2. Where only one model has a result, the page says so instead of naming a winner.