Nano Banana 2 (Gemini 3.1 Flash Image) vs GPT-5
Updated October 21, 2026. 0 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
- Coding
- No data
- Overall
- No data
- Output $/M
- $3.00
- Coding
- 38.8
- Overall
- 23.0
- Output $/M
- $10.00
Decision reading
Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; Nano Banana 2 (Gemini 3.1 Flash Image) has none, so the two cannot be ranked on coding.
Nano Banana 2 (Gemini 3.1 Flash Image) has the edge where output tokens cost 3.3x less.
- Shared results
- 0
- Nano Banana 2 (Gemini 3.1 Flash Image) only
- 1
- GPT-5 only
- 109
- Like-for-like categories
- 0 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.
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
No call
Only GPT-5 has a AA Intelligence Index result, 23.0.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-5 has a GPQA Diamond result, 85.6%.
Directional only
Math
AIME
No call
Only GPT-5 has a AIME result, 93.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5 has a MMLU Pro result, 86.5%.
Directional only
Web design
Design Arena: websites
No call
Only GPT-5 has a Design Arena: websites result, 1185.
Directional only
Long documents
Listed context window
GPT-5
GPT-5 takes 400K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Nano Banana 2 (Gemini 3.1 Flash Image)
Nano Banana 2 (Gemini 3.1 Flash Image) $0.0020, GPT-5 $0.0063 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
- Nano Banana 2 (Gemini 3.1 Flash Image) not benchmarked, GPT-5 38.8 from 3 benchmarks.
- Widest category
- No category has a result for both models.
- Widest single gap
- No benchmark has a result for both models.
- Output price
- Nano Banana 2 (Gemini 3.1 Flash Image) $3.00 against GPT-5 $10.00 per million output tokens, 3.3x apart.
- Context window
- Nano Banana 2 (Gemini 3.1 Flash Image) takes 131K tokens, GPT-5 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.
CodingDirectional onlySix of these boards feed the Vibe Coding Index16 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 88.0% | Only GPT-5 measured |
| SWE-bench Verified | Not measured | 74.4% | Only GPT-5 measured |
| LMArena WebDev | Not measured | 1418 | Only GPT-5 measured |
| AA Coding Index | Not measured | 37.8 | Only GPT-5 measured |
| LiveCodeBench (Vals AI) | Not measured | 85.9% | Only GPT-5 measured |
| SWE-bench Verified (Vals AI) | Not measured | 69.0% | Only GPT-5 measured |
| Vibe Code Bench (Vals AI) | Not measured | 20.1% | Only GPT-5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 84.6% | Only GPT-5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 37.9% | Only GPT-5 measured |
| Terminal-Bench | Not measured | 49.6% | Only GPT-5 measured |
| GSO-Bench | Not measured | 6.9% | Only GPT-5 measured |
| WeirdML | Not measured | 60.7% | Only GPT-5 measured |
| ALE-Bench | Not measured | 807.6 | Only GPT-5 measured |
| LMArena Text: coding | Not measured | 1436 | Only GPT-5 measured |
| LMArena Text: software and IT | Not measured | 1420 | Only GPT-5 measured |
| LMArena WebDev: HTML | Not measured | 1427 | Only GPT-5 measured |
| Neither model has a result on the other 22 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 23.0 | Only GPT-5 measured |
| Epoch Capabilities Index | Not measured | 150.0 | Only GPT-5 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 86.5% | Only GPT-5 measured |
| METR time horizons | Not measured | 69.6% | Only GPT-5 measured |
| Remote Labor Index | Not measured | 1.7% | Only GPT-5 measured |
| GDPval | Not measured | 34.8% | Only GPT-5 measured |
| BALROG | Not measured | 32.8% | Only GPT-5 measured |
| DeepResearch Bench | Not measured | 49.6% | Only GPT-5 measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 85.6% | Only GPT-5 measured |
| MMMU Pro (Vals AI) | Not measured | 81.5% | Only GPT-5 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 85.4% | Only GPT-5 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 28.5% | Only GPT-5 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 86.2% | Only GPT-5 measured |
| ARC-AGI | Not measured | 65.7% | Only GPT-5 measured |
| ARC-AGI-2 | Not measured | 9.9% | Only GPT-5 measured |
| SimpleBench | Not measured | 56.7% | Only GPT-5 measured |
| Chess puzzles | Not measured | 36.0% | Only GPT-5 measured |
| Mystery game puzzles | Not measured | 23.0% | Only GPT-5 measured |
| EBR-bench | Not measured | 12.7% | Only GPT-5 measured |
| VPCT | Not measured | 66.0% | Only GPT-5 measured |
| LMArena Text: hard prompts | Not measured | 1415 | Only GPT-5 measured |
| LMArena Text: expert | Not measured | 1419 | Only GPT-5 measured |
| LMArena Text: hard prompts in English | Not measured | 1419 | Only GPT-5 measured |
| LMArena Vision: diagrams | Not measured | 1252 | Only GPT-5 measured |
| LMArena Vision: homework | Not measured | 1278 | Only GPT-5 measured |
| Neither model has a result on the other 4 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| AIME | Not measured | 93.4% | Only GPT-5 measured |
| MATH 500 (Vals AI) | Not measured | 96.0% | Only GPT-5 measured |
| MGSM (Vals AI) | Not measured | 92.8% | Only GPT-5 measured |
| AA Math Index | Not measured | 94.3 | Only GPT-5 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 94.3% | Only GPT-5 measured |
| OTIS Mock AIME | Not measured | 91.4% | Only GPT-5 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 55.4% | Only GPT-5 measured |
| FrontierMath, tier 4 | Not measured | 22.0% | Only GPT-5 measured |
| ProofBench | Not measured | 18.0% | Only GPT-5 measured |
| MATH level 5 | Not measured | 98.1% | Only GPT-5 measured |
| LMArena Text: math | Not measured | 1407 | Only GPT-5 measured |
| LMArena Text: mathematical work | Not measured | 1405 | Only GPT-5 measured |
| Neither model has a result on the other 1 board here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 86.5% | Only GPT-5 measured |
| LegalBench (Vals AI) | Not measured | 86.0% | Only GPT-5 measured |
| CaseLaw (Vals AI) | Not measured | 66.5% | Only GPT-5 measured |
| CorpFin (Vals AI) | Not measured | 61.1% | Only GPT-5 measured |
| TaxEval (Vals AI) | Not measured | 73.4% | Only GPT-5 measured |
| MortgageTax (Vals AI) | Not measured | 65.5% | Only GPT-5 measured |
| MedQA (Vals AI) | Not measured | 96.3% | Only GPT-5 measured |
| MedCode (Vals AI) | Not measured | 49.6% | Only GPT-5 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 87.1% | Only GPT-5 measured |
| SimpleQA Verified | Not measured | 50.1% | Only GPT-5 measured |
| GeoBench | Not measured | 81.0% | Only GPT-5 measured |
| LMArena Text: science | Not measured | 1416 | Only GPT-5 measured |
| LMArena Text: medicine and healthcare | Not measured | 1413 | Only GPT-5 measured |
| LMArena Text: legal and government | Not measured | 1431 | Only GPT-5 measured |
| LMArena Text: business and finance | Not measured | 1400 | Only GPT-5 measured |
| Neither model has a result on the other 2 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1185 | Only GPT-5 measured |
| Design Arena: UI components | Not measured | 1180 | Only GPT-5 measured |
| Design Arena: game dev | Not measured | 1185 | Only GPT-5 measured |
| Design Arena: data viz | Not measured | 1221 | Only GPT-5 measured |
| Design Arena: 3D | Not measured | 1056 | Only GPT-5 measured |
| Design Arena: all code categories | Not measured | 1168 | Only GPT-5 measured |
| Design Arena: SVG | Not measured | 1189 | Only GPT-5 measured |
| Design Arena: ASCII art | Not measured | 1140 | Only GPT-5 measured |
| Neither model has a result on the other 1 board here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index33 boards, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 43.7% | Only GPT-5 measured |
| MedScribe (Vals AI) | Not measured | 83.7% | Only GPT-5 measured |
| IFBench | Not measured | 73.1% | Only GPT-5 measured |
| Long context reasoning (AA-LCR) | Not measured | 78.2% | Only GPT-5 measured |
| DTBench | Not measured | 90.7% | Only GPT-5 measured |
| LMCA | Not measured | 40.0% | Only GPT-5 measured |
| Fiction.LiveBench | Not measured | 97.2% | Only GPT-5 measured |
| Creative writing (Lech Mazur) | Not measured | 86.0% | Only GPT-5 measured |
| LMArena Text | Not measured | 1406 | Only GPT-5 measured |
| LMArena Text: instruction following | Not measured | 1388 | Only GPT-5 measured |
| LMArena Text: creative writing | Not measured | 1365 | Only GPT-5 measured |
| LMArena Vision | Not measured | 1232 | Only GPT-5 measured |
| LMArena Text: English | Not measured | 1409 | Only GPT-5 measured |
| LMArena Text: non-English | Not measured | 1397 | Only GPT-5 measured |
| LMArena Text: Chinese | Not measured | 1422 | Only GPT-5 measured |
| LMArena Text: German | Not measured | 1416 | Only GPT-5 measured |
| LMArena Text: Japanese | Not measured | 1409 | Only GPT-5 measured |
| LMArena Text: Korean | Not measured | 1360 | Only GPT-5 measured |
| LMArena Text: French | Not measured | 1409 | Only GPT-5 measured |
| LMArena Text: Spanish | Not measured | 1399 | Only GPT-5 measured |
| LMArena Text: Russian | Not measured | 1407 | Only GPT-5 measured |
| LMArena Text: Polish | Not measured | 1431 | Only GPT-5 measured |
| LMArena Text: multi-turn | Not measured | 1426 | Only GPT-5 measured |
| LMArena Text: longer queries | Not measured | 1399 | Only GPT-5 measured |
| LMArena Text: writing and language | Not measured | 1384 | Only GPT-5 measured |
| LMArena Text: entertainment and media | Not measured | 1379 | Only GPT-5 measured |
| LMArena Vision: English | Not measured | 1231 | Only GPT-5 measured |
| LMArena Vision: Chinese | Not measured | 1267 | Only GPT-5 measured |
| LMArena Vision: reading text | Not measured | 1246 | Only GPT-5 measured |
| LMArena Vision: humor | Not measured | 1219 | Only GPT-5 measured |
| LMArena Vision: captioning | Not measured | 1212 | Only GPT-5 measured |
| LMArena Vision: recognizing things | Not measured | 1263 | Only GPT-5 measured |
| LMArena Vision: creative writing | Not measured | 1210 | Only GPT-5 measured |
| Neither model has a result on the other 13 boards here | |||
Image generationDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Nano Banana 2 (Gemini 3.1 Flash Image) | GPT-5 | Leader |
|---|---|---|---|
| LMArena Image Edit | 1387 | Not measured | Only Nano Banana 2 (Gemini 3.1 Flash Image) measured |
| Neither model has a result on the other 4 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
Nano Banana 2 (Gemini 3.1 Flash Image) costs less
Repository review
50K input + 3K output tokens
Nano Banana 2 (Gemini 3.1 Flash Image) costs less
Agent loop
200K input + 10K output tokens
Nano Banana 2 (Gemini 3.1 Flash Image) 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 Nano Banana 2 (Gemini 3.1 Flash Image) | OpenAI GPT-5 |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | June 18, 2026 | August 7, 2025 |
| Context window | 131K | 400K |
| Input $/Mtok | $0.50 | $1.25 |
| Output $/Mtok | $3.00 | $10.00 |
| Coding index | Not benchmarked | 38.8 |
| Independent measurements behind it | 0 | 3 |
| Cost per solved task | Not computable | $0.39 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Nano Banana 2 (Gemini 3.1 Flash Image) better than GPT-5 for coding?
Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; Nano Banana 2 (Gemini 3.1 Flash Image) has none, so the two cannot be ranked on coding. Nano Banana 2 (Gemini 3.1 Flash Image) has the edge where output tokens cost 3.3x less.
Which is cheaper, Nano Banana 2 (Gemini 3.1 Flash Image) or GPT-5?
Nano Banana 2 (Gemini 3.1 Flash Image) costs $0.50 per million input tokens and $3.00 per million output tokens; GPT-5 costs $1.25 and $10.00. Cost per solved task is known for GPT-5 only.
Which has the bigger context window, Nano Banana 2 (Gemini 3.1 Flash Image) or GPT-5?
GPT-5, with 400K tokens against 131K.
How many benchmarks is the Nano Banana 2 (Gemini 3.1 Flash Image) vs GPT-5 comparison based on?
0 benchmarks have a result for both models as of October 21, 2026. Nano Banana 2 (Gemini 3.1 Flash Image)'s coding index rests on 0 independent benchmarks and GPT-5's on 3. Where only one model has a result, the page says so instead of naming a winner.