Gemini 3.5 Flash vs GPT-5.1
GPT-5.1 leads Gemini 3.5 Flash on coding, 40.4 to 39.8 on the Vibe Coding Index, at about the same output price ($10.00 vs $9.00 per million). Updated October 22, 2026; 83 benchmarks have a result for both.
Gemini 3.5 Flash or GPT-5.1: which to pick
Gemini 3.5 Flash and GPT-5.1 are level for coding, 39.8 against 40.4 on the Vibe Coding Index, so price and context decide.
Pick Gemini 3.5 Flash for output tokens 1.1x cheaper ($9.00 vs $10.00 per million) and a larger context window (1.05M against 400K tokens). Pick GPT-5.1 for a lower cost per solved task ($1.02 against $1.21) and work measured by LegalBench (Vals AI) or TaxEval (Vals AI), where it leads.
- Shared results
- 83
- Gemini 3.5 Flash only
- 29
- GPT-5.1 only
- 18
- 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
Level: 39.8 against 40.4, inside 2 points.
4 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 33.6 against 24.7.
Same board, both measured
Reasoning
GPQA Diamond
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 92.7% against 86.6%.
Same board, both measured
Math
AIME
No call
Only GPT-5.1 has a AIME result, 93.3%.
Directional only
Knowledge
MMLU Pro
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 89.5% against 86.4%.
Same board, both measured
Web design
Design Arena: websites
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 1267 against 1187.
Same board, both measured
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
Gemini 3.5 Flash
Gemini 3.5 Flash $0.0060, GPT-5.1 $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.1
Gemini 3.5 Flash $1.21, GPT-5.1 $1.02.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.5 Flash 39.8 from 4 benchmarks, GPT-5.1 40.4 from 3 benchmarks.
- Widest category
- Agentic work, 19.1 points apart on average over 2 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3.5 Flash 72.1% against GPT-5.1 17.6%, 54.4 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.5 Flash $9.00 against GPT-5.1 $10.00 per million output tokens, 1.1x apart.
- Context window
- Gemini 3.5 Flash takes 1.05M tokens, GPT-5.1 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.1 | Ties |
|---|---|---|---|---|
| Coding | 11 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 15 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 10 | 2 | ||
| Web design | 8 | 0 | ||
| General | 28 | 2 | ||
| All shared boards | 79 | 4 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index110
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 66.0% | Only GPT-5.1 measured |
| LMArena WebDev | 1499 | 1396 | Gemini 3.5 Flash |
| AA Coding Index | Not measured | 49.4 | Only GPT-5.1 measured |
| LiveCodeBench (Vals AI) | 87.6% | 86.5% | 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% | 24.6% | Gemini 3.5 Flash |
| Code migration (Vals AI) | 26.8% | Not measured | Only Gemini 3.5 Flash measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.5 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 74.2% | Not measured | Only Gemini 3.5 Flash measured |
| SkillsBench (Vals AI) | 52.7% | Not measured | Only Gemini 3.5 Flash measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 86.8% | Only GPT-5.1 measured |
| SciCode | 53.9% | Not measured | Only Gemini 3.5 Flash measured |
| Terminal-Bench Hard (Artificial Analysis run) | 46.2% | 45.5% | Gemini 3.5 Flash |
| Terminal-Bench | Not measured | 47.6% | Only GPT-5.1 measured |
| GSO-Bench | Not measured | 13.7% | Only GPT-5.1 measured |
| WeirdML | 62.6% | 60.8% | Gemini 3.5 Flash |
| ALE-Bench | 911.0 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: coding | 1493 | 1453 | Gemini 3.5 Flash |
| LMArena Text: software and IT | 1494 | 1454 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1495 | 1307 | Gemini 3.5 Flash |
| LMArena WebDev: HTML | 1522 | 1405 | Gemini 3.5 Flash |
| LMArena WebDev: from an image | 1504 | 1421 | Gemini 3.5 Flash |
| SciCode | 12.3% | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.6 | 24.7 | Gemini 3.5 Flash |
| Epoch Capabilities Index | 154.9 | 149.8 | Gemini 3.5 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| 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% | Not measured | Only Gemini 3.5 Flash measured |
| Tax Agent Bench (Vals AI) | 21.6% | Not measured | Only Gemini 3.5 Flash measured |
| Legal Research Bench (Vals AI) | 30.8% | Not measured | Only Gemini 3.5 Flash measured |
| Excel Modeling Benchmark (Vals AI) | 63.5% | Not measured | Only Gemini 3.5 Flash measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only Gemini 3.5 Flash measured |
| τ²-Bench Telecom | 95.6% | 81.9% | Gemini 3.5 Flash |
| APEX-Agents | 27.5% | Not measured | Only Gemini 3.5 Flash measured |
| DeepResearch Bench | Not measured | 42.8% | Only GPT-5.1 measured |
| Vending-Bench 2 | $5,396 | $1,473 | Gemini 3.5 Flash |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index150
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| GPQA Diamond | 92.7% | 86.6% | Gemini 3.5 Flash |
| MMMU Pro (Vals AI) | 88.3% | 83.2% | Gemini 3.5 Flash |
| GPQA Diamond (Artificial Analysis run) | 92.2% | 87.3% | Gemini 3.5 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 42.7% | 28.5% | Gemini 3.5 Flash |
| GPQA Diamond (Epoch AI run) | 92.8% | 87.6% | Gemini 3.5 Flash |
| ARC-AGI | 92.5% | 72.8% | Gemini 3.5 Flash |
| ARC-AGI-2 | 72.1% | 17.6% | Gemini 3.5 Flash |
| SimpleBench | 76.7% | 53.2% | Gemini 3.5 Flash |
| Chess puzzles | 45.0% | 42.0% | Gemini 3.5 Flash |
| Mystery game puzzles | 32.0% | 19.0% | Gemini 3.5 Flash |
| EBR-bench | 4.8% | Not measured | Only Gemini 3.5 Flash measured |
| VPCT | Not measured | 58.7% | Only GPT-5.1 measured |
| LMArena Text: hard prompts | 1488 | 1457 | Gemini 3.5 Flash |
| LMArena Text: expert | 1495 | 1470 | Gemini 3.5 Flash |
| LMArena Text: hard prompts in English | 1483 | 1462 | Gemini 3.5 Flash |
| LMArena Vision: diagrams | 1323 | 1264 | Gemini 3.5 Flash |
| LMArena Vision: homework | 1330 | 1272 | Gemini 3.5 Flash |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| AIME | Not measured | 93.3% | Only GPT-5.1 measured |
| MGSM (Vals AI) | Not measured | 93.0% | Only GPT-5.1 measured |
| AA Math Index | Not measured | 94.0 | Only GPT-5.1 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 94.0% | Only GPT-5.1 measured |
| OTIS Mock AIME | 95.6% | 88.6% | Gemini 3.5 Flash |
| FrontierMath, tiers 1 to 3 | 62.8% | Not measured | Only Gemini 3.5 Flash measured |
| FrontierMath, tier 4 | 26.8% | Not measured | Only Gemini 3.5 Flash measured |
| ProofBench | 31.0% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: math | 1504 | 1446 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1495 | 1449 | Gemini 3.5 Flash |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index102
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| MMLU Pro | 89.5% | 86.4% | Gemini 3.5 Flash |
| LegalBench (Vals AI) | 83.6% | 85.7% | GPT-5.1 |
| CaseLaw (Vals AI) | Not measured | 73.4% | Only GPT-5.1 measured |
| CorpFin (Vals AI) | 64.7% | 63.8% | Gemini 3.5 Flash |
| TaxEval (Vals AI) | 74.4% | 74.9% | GPT-5.1 |
| MortgageTax (Vals AI) | 68.1% | 61.4% | Gemini 3.5 Flash |
| MedQA (Vals AI) | Not measured | 96.4% | Only GPT-5.1 measured |
| MedCode (Vals AI) | 55.8% | 52.7% | Gemini 3.5 Flash |
| MMLU Pro (Artificial Analysis run) | Not measured | 87.0% | Only GPT-5.1 measured |
| SimpleQA Verified | 66.2% | 48.0% | Gemini 3.5 Flash |
| LMArena Text: science | 1495 | 1459 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1483 | 1456 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1488 | 1459 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1467 | 1431 | Gemini 3.5 Flash |
| FACTS Benchmark Suite | 63.1% | 45.0% | Gemini 3.5 Flash |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | Leader |
|---|---|---|---|
| Design Arena: websites | 1267 | 1187 | Gemini 3.5 Flash |
| Design Arena: UI components | 1269 | 1163 | Gemini 3.5 Flash |
| Design Arena: game dev | 1263 | 1178 | Gemini 3.5 Flash |
| Design Arena: data viz | 1236 | 1204 | Gemini 3.5 Flash |
| Design Arena: 3D | 1243 | 1060 | Gemini 3.5 Flash |
| Design Arena: all code categories | 1266 | 1170 | Gemini 3.5 Flash |
| Design Arena: SVG | 1253 | 1149 | Gemini 3.5 Flash |
| Design Arena: ASCII art | 1254 | 1119 | Gemini 3.5 Flash |
| 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.1 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 59.5% | Not measured | Only Gemini 3.5 Flash measured |
| SAGE (Vals AI) | 49.9% | 43.2% | Gemini 3.5 Flash |
| MedScribe (Vals AI) | 76.6% | 88.1% | GPT-5.1 |
| Vals Multimodal Index | 62.9% | Not measured | Only Gemini 3.5 Flash measured |
| IFBench | 76.3% | 72.9% | Gemini 3.5 Flash |
| Long context reasoning (AA-LCR) | 74.3% | 80.0% | GPT-5.1 |
| DTBench | 94.7% | 90.1% | Gemini 3.5 Flash |
| LMCA | 47.1% | 43.9% | Gemini 3.5 Flash |
| CL-bench | Not measured | 23.7% | Only GPT-5.1 measured |
| Surface Evolver Bench | 58.1% | Not measured | Only Gemini 3.5 Flash measured |
| CL-bench Life | Not measured | 17.3% | Only GPT-5.1 measured |
| LMArena Text | 1482 | 1443 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1467 | 1443 | Gemini 3.5 Flash |
| LMArena Text: creative writing | 1470 | 1427 | Gemini 3.5 Flash |
| LMArena Vision | 1308 | 1250 | Gemini 3.5 Flash |
| LMArena Text: English | 1481 | 1451 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1475 | 1431 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1527 | 1495 | Gemini 3.5 Flash |
| LMArena Text: German | 1494 | 1438 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1486 | 1453 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1448 | 1401 | Gemini 3.5 Flash |
| LMArena Text: French | 1490 | 1450 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1480 | 1433 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1493 | 1435 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1516 | 1440 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1481 | 1450 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1483 | 1448 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1478 | 1428 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1459 | 1415 | Gemini 3.5 Flash |
| LMArena Vision: English | 1305 | 1252 | Gemini 3.5 Flash |
| LMArena Vision: Chinese | 1377 | 1270 | Gemini 3.5 Flash |
| LMArena Vision: reading text | 1317 | 1255 | Gemini 3.5 Flash |
| LMArena Vision: humor | 1321 | 1263 | Gemini 3.5 Flash |
| LMArena Vision: captioning | Not measured | 1252 | Only GPT-5.1 measured |
| LMArena Vision: recognizing things | Not measured | 1232 | Only GPT-5.1 measured |
| LMArena Vision: creative writing | 1301 | 1266 | Gemini 3.5 Flash |
| LMArena Document | 1463 | 1403 | Gemini 3.5 Flash |
| Neither model has a result on the other 9 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.5 Flash | GPT-5.1 | 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 3.5 Flash costs less
Repository review
50K input + 3K output tokens
GPT-5.1 costs less
Agent loop
200K input + 10K output tokens
GPT-5.1 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.1 |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | May 19, 2026 | November 13, 2025 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $1.50 | $1.25 |
| Output $/Mtok | $9.00 | $10.00 |
| Coding index | 39.8 | 40.4 |
| Independent measurements behind it | 4 | 3 |
| Cost per solved task | $1.21 | $1.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.5 Flash better than GPT-5.1 for coding?
Gemini 3.5 Flash and GPT-5.1 are level for coding, 39.8 against 40.4 on the Vibe Coding Index, so price and context decide. Pick Gemini 3.5 Flash for output tokens 1.1x cheaper ($9.00 vs $10.00 per million) and a larger context window (1.05M against 400K tokens). Pick GPT-5.1 for a lower cost per solved task ($1.02 against $1.21) and work measured by LegalBench (Vals AI) or TaxEval (Vals AI), where it leads.
Which is cheaper, Gemini 3.5 Flash or GPT-5.1?
Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GPT-5.1 $1.02.
Which has the bigger context window, Gemini 3.5 Flash or GPT-5.1?
Gemini 3.5 Flash, with 1.05M tokens against 400K.
How many benchmarks is the Gemini 3.5 Flash vs GPT-5.1 comparison based on?
83 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.1's on 3. Where only one model has a result, the page says so instead of naming a winner.