Gemini 3.6 Flash vs GLM 5.1
Gemini 3.6 Flash leads GLM 5.1 on coding, 62.5 to 49.2 on the Vibe Coding Index, at about the same output price ($3.75 vs $4.40 per million). Updated October 21, 2026; 79 benchmarks have a result for both.
Gemini 3.6 Flash or GLM 5.1: which to pick
Pick Gemini 3.6 Flash for coding: it scores 62.5 on the Vibe Coding Index against 49.2 for GLM 5.1.
Pick GLM 5.1 for a lower cost per solved task ($0.60 against $1.49) and work measured by WeirdML or ALE-Bench, where it leads.
- Shared results
- 79
- Gemini 3.6 Flash only
- 30
- GLM 5.1 only
- 10
- 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
Gemini 3.6 Flash
Gemini 3.6 Flash scores 62.5 against 49.2.
4 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.6 Flash
Gemini 3.6 Flash leads, 34.0 against 26.1.
Same board, both measured
Agentic work
AA Agentic Index
Gemini 3.6 Flash
Gemini 3.6 Flash leads, 29.0 against 23.9.
Same board, both measured
Reasoning
GPQA Diamond
Gemini 3.6 Flash
Gemini 3.6 Flash leads, 93.4% against 84.5%.
Same board, both measured
Math
AIME
No call
Only GLM 5.1 has a AIME result, 91.9%.
Directional only
Knowledge
MMLU Pro
Gemini 3.6 Flash
Gemini 3.6 Flash leads, 89.3% against 86.9%.
Same board, both measured
Web design
Design Arena: websites
Gemini 3.6 Flash
Gemini 3.6 Flash leads, 1300 against 1290.
Same board, both measured
Long documents
Listed context window
Gemini 3.6 Flash
Gemini 3.6 Flash takes 1.05M tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.6 Flash
Gemini 3.6 Flash $0.0026, GLM 5.1 $0.0036 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.1
Gemini 3.6 Flash $1.49, GLM 5.1 $0.60.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.6 Flash 62.5 from 4 benchmarks, GLM 5.1 49.2 from 3 benchmarks.
- Widest category
- Math, 9.2 points apart on average over 5 shared benchmarks.
- Widest single gap
- Design Arena: spreadsheets: Gemini 3.6 Flash 1034 against GLM 5.1 1315, 35.1 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.6 Flash $3.75 against GLM 5.1 $4.40 per million output tokens, 1.2x apart.
- Context window
- Gemini 3.6 Flash takes 1.05M tokens, GLM 5.1 205K.
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.6 Flash | Bars | GLM 5.1 | Ties |
|---|---|---|---|---|
| Coding | 12 | 2 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 8 | 4 | ||
| Reasoning | 8 | 0 | ||
| Math | 5 | 0 | ||
| Knowledge | 8 | 2 | ||
| Web design | 4 | 3 | ||
| General | 19 | 1 | ||
| All shared boards | 66 | 12 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index122
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| LMArena WebDev | 1538 | 1508 | Gemini 3.6 Flash |
| AA Coding Index | 69.2 | 55.8 | Gemini 3.6 Flash |
| LiveCodeBench (Vals AI) | 88.1% | 81.4% | Gemini 3.6 Flash |
| SWE-bench Verified (Vals AI) | 79.6% | 76.4% | Gemini 3.6 Flash |
| Vibe Code Bench (Vals AI) | 64.0% | 31.5% | Gemini 3.6 Flash |
| Code migration (Vals AI) | 30.9% | 25.8% | Gemini 3.6 Flash |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| IOI (Vals AI) | 35.1% | Not measured | Only Gemini 3.6 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 73.8% | 56.9% | Gemini 3.6 Flash |
| CyberBench (Vals AI) | 45.4% | Not measured | Only Gemini 3.6 Flash measured |
| SciCode | 53.4% | 44.8% | Gemini 3.6 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 43.2% | Only GLM 5.1 measured |
| FrontierCode | 34.4% | Not measured | Only Gemini 3.6 Flash measured |
| WeirdML | 56.1% | 57.1% | GLM 5.1 |
| ALE-Bench | 715.5 | 887.1 | GLM 5.1 |
| LMArena Text: coding | 1491 | 1485 | Gemini 3.6 Flash |
| LMArena Text: software and IT | 1492 | 1484 | Gemini 3.6 Flash |
| LMArena WebDev: React | 1528 | 1505 | Gemini 3.6 Flash |
| LMArena WebDev: HTML | 1547 | 1508 | Gemini 3.6 Flash |
| LMArena WebDev: from an image | 1545 | Not measured | Only Gemini 3.6 Flash measured |
| SciCode | 10.8% | Not measured | Only Gemini 3.6 Flash measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.0 | 26.1 | Gemini 3.6 Flash |
| Epoch Capabilities Index | 154.5 | 149.8 | Gemini 3.6 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index84
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| AA Agentic Index | 29.0 | 23.9 | Gemini 3.6 Flash |
| Design Arena: agents building web apps | 1197 | 1175 | Gemini 3.6 Flash |
| Design Arena: agents building full-stack apps | 1181 | 1167 | Gemini 3.6 Flash |
| Design Arena: agents building mobile apps | 1199 | 1162 | Gemini 3.6 Flash |
| Design Arena: agents building Android apps | 1203 | 1180 | Gemini 3.6 Flash |
| Design Arena: agents building Godot games | Not measured | 1053 | Only GLM 5.1 measured |
| Design Arena: agents building games | 1181 | 1164 | Gemini 3.6 Flash |
| Design Arena: HTML slides | 1148 | 1170 | GLM 5.1 |
| Design Arena: PowerPoint slides | 1146 | 1188 | GLM 5.1 |
| Design Arena: spreadsheets | 1034 | 1315 | GLM 5.1 |
| Finance Agent (Vals AI) | 56.3% | 44.8% | Gemini 3.6 Flash |
| Tax Agent Bench (Vals AI) | 18.0% | Not measured | Only Gemini 3.6 Flash measured |
| Legal Research Bench (Vals AI) | 25.0% | 27.9% | GLM 5.1 |
| Excel Modeling Benchmark (Vals AI) | 65.4% | Not measured | Only Gemini 3.6 Flash measured |
| BioMysteryBench (Vals AI) | 58.5% | Not measured | Only Gemini 3.6 Flash measured |
| Terminal-Bench-Science (Vals AI) | 4.3% | Not measured | Only Gemini 3.6 Flash measured |
| τ²-Bench Telecom | Not measured | 97.7% | Only GLM 5.1 measured |
| APEX-Agents | 46.9% | 40.9% | Gemini 3.6 Flash |
| Vending-Bench 2 | Not measured | $5,634 | Only GLM 5.1 measured |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| GPQA Diamond | 93.4% | 84.5% | Gemini 3.6 Flash |
| MMMU Pro (Vals AI) | 88.4% | Not measured | Only Gemini 3.6 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 92.8% | 86.8% | Gemini 3.6 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 40.8% | 30.1% | Gemini 3.6 Flash |
| GPQA Diamond (Epoch AI run) | 94.1% | 89.9% | Gemini 3.6 Flash |
| ARC-AGI | 91.2% | Not measured | Only Gemini 3.6 Flash measured |
| ARC-AGI-2 | 60.4% | Not measured | Only Gemini 3.6 Flash measured |
| SimpleBench | Not measured | 55.1% | Only GLM 5.1 measured |
| Chess puzzles | 42.0% | 20.0% | Gemini 3.6 Flash |
| Mystery game puzzles | 30.0% | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Text: hard prompts | 1486 | 1473 | Gemini 3.6 Flash |
| LMArena Text: expert | 1490 | 1478 | Gemini 3.6 Flash |
| LMArena Text: hard prompts in English | 1484 | 1482 | Gemini 3.6 Flash |
| LMArena Vision: diagrams | 1314 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Vision: homework | 1314 | Not measured | Only Gemini 3.6 Flash measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| AIME | Not measured | 91.9% | Only GLM 5.1 measured |
| OTIS Mock AIME | 94.2% | 93.3% | Gemini 3.6 Flash |
| FrontierMath, tiers 1 to 3 | 58.9% | 36.8% | Gemini 3.6 Flash |
| FrontierMath, tier 4 | 22.0% | Not measured | Only Gemini 3.6 Flash measured |
| ProofBench | 36.0% | 22.2% | Gemini 3.6 Flash |
| LMArena Text: math | 1508 | 1473 | Gemini 3.6 Flash |
| LMArena Text: mathematical work | 1492 | 1470 | Gemini 3.6 Flash |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index82
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| MMLU Pro | 89.3% | 86.9% | Gemini 3.6 Flash |
| LegalBench (Vals AI) | 86.7% | 84.4% | Gemini 3.6 Flash |
| CaseLaw (Vals AI) | Not measured | 51.5% | Only GLM 5.1 measured |
| CorpFin (Vals AI) | 63.3% | 64.5% | GLM 5.1 |
| TaxEval (Vals AI) | 74.9% | 71.2% | Gemini 3.6 Flash |
| MortgageTax (Vals AI) | 67.6% | Not measured | Only Gemini 3.6 Flash measured |
| MedCode (Vals AI) | 53.1% | 41.6% | Gemini 3.6 Flash |
| SimpleQA Verified | 66.2% | 34.0% | Gemini 3.6 Flash |
| LMArena Text: science | 1489 | 1478 | Gemini 3.6 Flash |
| LMArena Text: medicine and healthcare | 1469 | 1474 | GLM 5.1 |
| LMArena Text: legal and government | 1479 | 1465 | Gemini 3.6 Flash |
| LMArena Text: business and finance | 1464 | 1452 | Gemini 3.6 Flash |
| FACTS Benchmark Suite | 65.3% | Not measured | Only Gemini 3.6 Flash measured |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| Design Arena: websites | 1300 | 1290 | Gemini 3.6 Flash |
| Design Arena: UI components | 1297 | 1292 | Gemini 3.6 Flash |
| Design Arena: game dev | 1263 | 1265 | GLM 5.1 |
| Design Arena: data viz | 1289 | 1366 | GLM 5.1 |
| Design Arena: 3D | 1272 | 1336 | GLM 5.1 |
| Design Arena: all code categories | 1290 | 1268 | Gemini 3.6 Flash |
| Design Arena: SVG | Not measured | 1218 | Only GLM 5.1 measured |
| Design Arena: ASCII art | 1281 | 1142 | Gemini 3.6 Flash |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index191
| Benchmark | Gemini 3.6 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 56.6% | 61.8% | GLM 5.1 |
| SAGE (Vals AI) | 48.7% | Not measured | Only Gemini 3.6 Flash measured |
| MedScribe (Vals AI) | 79.7% | 72.3% | Gemini 3.6 Flash |
| Vals Multimodal Index | 65.1% | Not measured | Only Gemini 3.6 Flash measured |
| IFBench | Not measured | 76.3% | Only GLM 5.1 measured |
| Long context reasoning (AA-LCR) | 80.0% | 73.7% | Gemini 3.6 Flash |
| DTBench | 95.5% | Not measured | Only Gemini 3.6 Flash measured |
| LMCA | 44.9% | Not measured | Only Gemini 3.6 Flash measured |
| Furniture assembly | 23.3% | Not measured | Only Gemini 3.6 Flash measured |
| ExploitBench | Not measured | 18.1% | Only GLM 5.1 measured |
| LMArena Text | 1480 | 1463 | Gemini 3.6 Flash |
| LMArena Text: instruction following | 1467 | 1453 | Gemini 3.6 Flash |
| LMArena Text: creative writing | 1466 | 1453 | Gemini 3.6 Flash |
| LMArena Vision | 1299 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Text: English | 1482 | 1476 | Gemini 3.6 Flash |
| LMArena Text: non-English | 1470 | 1448 | Gemini 3.6 Flash |
| LMArena Text: Chinese | 1531 | 1515 | Gemini 3.6 Flash |
| LMArena Text: German | 1480 | 1467 | Gemini 3.6 Flash |
| LMArena Text: Japanese | 1475 | 1435 | Gemini 3.6 Flash |
| LMArena Text: Korean | 1429 | 1424 | Gemini 3.6 Flash |
| LMArena Text: French | 1503 | 1470 | Gemini 3.6 Flash |
| LMArena Text: Spanish | 1476 | 1468 | Gemini 3.6 Flash |
| LMArena Text: Russian | 1488 | 1454 | Gemini 3.6 Flash |
| LMArena Text: Polish | 1473 | 1449 | Gemini 3.6 Flash |
| LMArena Text: multi-turn | 1481 | 1473 | Gemini 3.6 Flash |
| LMArena Text: longer queries | 1475 | 1467 | Gemini 3.6 Flash |
| LMArena Text: writing and language | 1470 | 1454 | Gemini 3.6 Flash |
| LMArena Text: entertainment and media | 1456 | 1442 | Gemini 3.6 Flash |
| LMArena Vision: English | 1295 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Vision: Chinese | 1357 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Vision: reading text | 1312 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Vision: humor | 1289 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Vision: creative writing | 1278 | Not measured | Only Gemini 3.6 Flash measured |
| LMArena Document | 1456 | Not measured | Only Gemini 3.6 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.6 Flash | GLM 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.6 Flash costs less
Repository review
50K input + 3K output tokens
Gemini 3.6 Flash costs less
Agent loop
200K input + 10K output tokens
Gemini 3.6 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 3.6 Flash | Z.ai GLM 5.1 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | July 21, 2026 | April 7, 2026 |
| Context window | 1.05M | 205K |
| Input $/Mtok | $0.75 | $1.40 |
| Output $/Mtok | $3.75 | $4.40 |
| Coding index | 62.5 | 49.2 |
| Independent measurements behind it | 4 | 3 |
| Cost per solved task | $1.49 | $0.60 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.6 Flash better than GLM 5.1 for coding?
Pick Gemini 3.6 Flash for coding: it scores 62.5 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for a lower cost per solved task ($0.60 against $1.49) and work measured by WeirdML or ALE-Bench, where it leads.
Which is cheaper, Gemini 3.6 Flash or GLM 5.1?
Gemini 3.6 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.6 Flash costs $1.49 and GLM 5.1 $0.60.
Which has the bigger context window, Gemini 3.6 Flash or GLM 5.1?
Gemini 3.6 Flash, with 1.05M tokens against 205K.
How many benchmarks is the Gemini 3.6 Flash vs GLM 5.1 comparison based on?
79 benchmarks have a result for both models as of October 21, 2026. Gemini 3.6 Flash's coding index rests on 4 independent benchmarks and GLM 5.1's on 3. Where only one model has a result, the page says so instead of naming a winner.