Gemini 3.5 Flash vs GLM 5.1
Updated October 21, 2026. 83 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Gemini 3.5 Flash and GLM 5.1 are level for coding, 42.8 against 44.0 on the Vibe Coding Index, so price and context decide.
Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 205K tokens, or when what matters is LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads. Pick GLM 5.1 when output tokens cost 2.0x less, or when a solved task costs $0.60 against $1.21.
- Shared results
- 83
- Gemini 3.5 Flash only
- 27
- GLM 5.1 only
- 6
- Like-for-like categories
- 8 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, four public coding benchmarks
No call
Level: 42.8 against 44.0, inside 2 points.
One benchmark behind each score
Intelligence
AA Intelligence Index
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 33.6 against 26.1.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GLM 5.1 has a AA Agentic Index result, 23.9.
Directional only
Reasoning
GPQA Diamond
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 92.7% 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.5 Flash
Gemini 3.5 Flash leads, 89.5% against 86.9%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.1
GLM 5.1 leads, 1290 against 1268.
Same board, both measured
Long documents
Listed context window
Gemini 3.5 Flash
Gemini 3.5 Flash takes 1.05M tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.1
Gemini 3.5 Flash $0.0060, GLM 5.1 $0.0036 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.1
Gemini 3.5 Flash $1.21, GLM 5.1 $0.60.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.5 Flash 42.8 from 1 benchmark, GLM 5.1 44.0 from 1 benchmark.
- Widest category
- Math, 9.3 points apart on average over 5 shared benchmarks.
- Widest single gap
- SimpleQA Verified: Gemini 3.5 Flash 66.2% against GLM 5.1 34.0%, 32.2 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.5 Flash $9.00 against GLM 5.1 $4.40 per million output tokens, 2.0x apart.
- Context window
- Gemini 3.5 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.5 Flash | Bars | GLM 5.1 | Ties |
|---|---|---|---|---|
| Coding | 12 | 2 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 8 | 5 | ||
| Reasoning | 9 | 0 | ||
| Math | 5 | 0 | ||
| Knowledge | 9 | 1 | ||
| Web design | 2 | 6 | ||
| General | 20 | 1 | ||
| All shared boards | 67 | 15 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index122
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| LMArena WebDev | 1499 | 1508 | GLM 5.1 |
| AA Coding Index | Not measured | 55.8 | Only GLM 5.1 measured |
| LiveCodeBench (Vals AI) | 87.6% | 81.4% | Gemini 3.5 Flash |
| SWE-bench Verified (Vals AI) | 78.8% | 76.4% | 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% | 31.5% | Gemini 3.5 Flash |
| Code migration (Vals AI) | 26.8% | 25.8% | Gemini 3.5 Flash |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| Terminal-Bench 2.1 (Vals AI) | 74.2% | 56.9% | Gemini 3.5 Flash |
| SkillsBench (Vals AI) | 52.7% | Not measured | Only Gemini 3.5 Flash measured |
| SciCode | 53.9% | 44.8% | Gemini 3.5 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | 46.2% | 43.2% | Gemini 3.5 Flash |
| WeirdML | 62.6% | 57.1% | Gemini 3.5 Flash |
| ALE-Bench | 911.0 | 887.1 | Gemini 3.5 Flash |
| LMArena Text: coding | 1493 | 1485 | Gemini 3.5 Flash |
| LMArena Text: software and IT | 1494 | 1484 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1495 | 1505 | GLM 5.1 |
| LMArena WebDev: HTML | 1522 | 1508 | Gemini 3.5 Flash |
| LMArena WebDev: from an image | 1504 | 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 | GLM 5.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.6 | 26.1 | 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 index85
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 23.9 | Only GLM 5.1 measured |
| Design Arena: agents building web apps | 1202 | 1175 | Gemini 3.5 Flash |
| Design Arena: agents building full-stack apps | 1197 | 1167 | Gemini 3.5 Flash |
| Design Arena: agents building mobile apps | 1175 | 1162 | Gemini 3.5 Flash |
| Design Arena: agents building Android apps | 1190 | 1186 | Gemini 3.5 Flash |
| Design Arena: agents building Godot games | 1098 | 1053 | Gemini 3.5 Flash |
| Design Arena: agents building games | 1180 | 1164 | Gemini 3.5 Flash |
| Design Arena: HTML slides | 1142 | 1170 | GLM 5.1 |
| Design Arena: PowerPoint slides | 1178 | 1189 | GLM 5.1 |
| Design Arena: spreadsheets | Not measured | 1315 | Only GLM 5.1 measured |
| Finance Agent (Vals AI) | 57.9% | 44.8% | Gemini 3.5 Flash |
| Tax Agent Bench (Vals AI) | 21.6% | Not measured | Only Gemini 3.5 Flash measured |
| Legal Research Bench (Vals AI) | 30.8% | 27.9% | Gemini 3.5 Flash |
| 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% | 97.7% | GLM 5.1 |
| APEX-Agents | 27.5% | 40.9% | GLM 5.1 |
| Vending-Bench 2 | $5,396 | $5,634 | GLM 5.1 |
| Neither model has a result on the other 21 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| GPQA Diamond | 92.7% | 84.5% | Gemini 3.5 Flash |
| MMMU Pro (Vals AI) | 88.3% | Not measured | Only Gemini 3.5 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 92.2% | 86.8% | Gemini 3.5 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 42.7% | 30.1% | Gemini 3.5 Flash |
| GPQA Diamond (Epoch AI run) | 92.8% | 89.9% | Gemini 3.5 Flash |
| ARC-AGI | 92.5% | Not measured | Only Gemini 3.5 Flash measured |
| ARC-AGI-2 | 72.1% | Not measured | Only Gemini 3.5 Flash measured |
| SimpleBench | 76.7% | 55.1% | Gemini 3.5 Flash |
| Chess puzzles | 45.0% | 20.0% | Gemini 3.5 Flash |
| Mystery game puzzles | 32.0% | Not measured | Only Gemini 3.5 Flash measured |
| EBR-bench | 4.8% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: hard prompts | 1488 | 1473 | Gemini 3.5 Flash |
| LMArena Text: expert | 1495 | 1478 | Gemini 3.5 Flash |
| LMArena Text: hard prompts in English | 1483 | 1482 | Gemini 3.5 Flash |
| LMArena Vision: diagrams | 1323 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Vision: homework | 1330 | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| AIME | Not measured | 91.9% | Only GLM 5.1 measured |
| OTIS Mock AIME | 95.6% | 93.3% | Gemini 3.5 Flash |
| FrontierMath, tiers 1 to 3 | 62.8% | 36.8% | Gemini 3.5 Flash |
| FrontierMath, tier 4 | 26.8% | Not measured | Only Gemini 3.5 Flash measured |
| ProofBench | 31.0% | 22.2% | Gemini 3.5 Flash |
| LMArena Text: math | 1504 | 1473 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1495 | 1470 | 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 index91
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| MMLU Pro | 89.5% | 86.9% | Gemini 3.5 Flash |
| LegalBench (Vals AI) | 83.6% | 84.4% | GLM 5.1 |
| CaseLaw (Vals AI) | Not measured | 51.5% | Only GLM 5.1 measured |
| CorpFin (Vals AI) | 64.7% | 64.5% | Gemini 3.5 Flash |
| TaxEval (Vals AI) | 74.4% | 71.2% | Gemini 3.5 Flash |
| MortgageTax (Vals AI) | 68.1% | Not measured | Only Gemini 3.5 Flash measured |
| MedCode (Vals AI) | 55.8% | 41.6% | Gemini 3.5 Flash |
| SimpleQA Verified | 66.2% | 34.0% | Gemini 3.5 Flash |
| LMArena Text: science | 1495 | 1478 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1483 | 1474 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1488 | 1465 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1467 | 1452 | Gemini 3.5 Flash |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index26
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| Design Arena: websites | 1268 | 1290 | GLM 5.1 |
| Design Arena: UI components | 1272 | 1292 | GLM 5.1 |
| Design Arena: game dev | 1263 | 1265 | GLM 5.1 |
| Design Arena: data viz | 1236 | 1366 | GLM 5.1 |
| Design Arena: 3D | 1244 | 1336 | GLM 5.1 |
| Design Arena: all code categories | 1266 | 1268 | GLM 5.1 |
| Design Arena: SVG | 1254 | 1217 | Gemini 3.5 Flash |
| Design Arena: ASCII art | 1253 | 1142 | 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 index201
| Benchmark | Gemini 3.5 Flash | GLM 5.1 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 59.5% | 61.8% | GLM 5.1 |
| SAGE (Vals AI) | 49.9% | Not measured | Only Gemini 3.5 Flash measured |
| MedScribe (Vals AI) | 76.6% | 72.3% | Gemini 3.5 Flash |
| Vals Multimodal Index | 62.9% | Not measured | Only Gemini 3.5 Flash measured |
| IFBench | 76.3% | 76.3% | Gemini 3.5 Flash |
| Long context reasoning (AA-LCR) | 74.3% | 73.7% | Gemini 3.5 Flash |
| DTBench | 94.7% | Not measured | Only Gemini 3.5 Flash measured |
| LMCA | 47.1% | Not measured | Only Gemini 3.5 Flash measured |
| Surface Evolver Bench | 58.1% | Not measured | Only Gemini 3.5 Flash measured |
| ExploitBench | Not measured | 18.1% | Only GLM 5.1 measured |
| LMArena Text | 1482 | 1463 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1467 | 1453 | Gemini 3.5 Flash |
| LMArena Text: creative writing | 1470 | 1453 | Gemini 3.5 Flash |
| LMArena Vision | 1308 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: English | 1481 | 1476 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1475 | 1448 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1527 | 1515 | Gemini 3.5 Flash |
| LMArena Text: German | 1494 | 1467 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1486 | 1435 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1448 | 1424 | Gemini 3.5 Flash |
| LMArena Text: French | 1490 | 1470 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1480 | 1468 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1493 | 1454 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1516 | 1449 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1481 | 1473 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1483 | 1467 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1478 | 1454 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1459 | 1442 | Gemini 3.5 Flash |
| LMArena Vision: English | 1305 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Vision: Chinese | 1377 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Vision: reading text | 1317 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Vision: humor | 1321 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Vision: creative writing | 1301 | Not measured | Only Gemini 3.5 Flash measured |
| 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 | 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
GLM 5.1 costs less
Repository review
50K input + 3K output tokens
GLM 5.1 costs less
Agent loop
200K input + 10K output tokens
GLM 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 | Z.ai GLM 5.1 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | May 19, 2026 | April 7, 2026 |
| Context window | 1.05M | 205K |
| Input $/Mtok | $1.50 | $1.40 |
| Output $/Mtok | $9.00 | $4.40 |
| Coding index | 42.8 | 44.0 |
| Independent measurements behind it | 1 | 1 |
| Cost per solved task | $1.21 | $0.60 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.5 Flash better than GLM 5.1 for coding?
Gemini 3.5 Flash and GLM 5.1 are level for coding, 42.8 against 44.0 on the Vibe Coding Index, so price and context decide. Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 205K tokens, or when what matters is LiveCodeBench (Vals AI) or SWE-bench Verified (Vals AI), where it leads. Pick GLM 5.1 when output tokens cost 2.0x less, or when a solved task costs $0.60 against $1.21.
Which is cheaper, Gemini 3.5 Flash or GLM 5.1?
Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GLM 5.1 $0.60.
Which has the bigger context window, Gemini 3.5 Flash or GLM 5.1?
Gemini 3.5 Flash, with 1.05M tokens against 205K.
How many benchmarks is the Gemini 3.5 Flash vs GLM 5.1 comparison based on?
83 benchmarks have a result for both models as of October 21, 2026. Gemini 3.5 Flash's coding index rests on 1 independent benchmark and GLM 5.1's on 1. Where only one model has a result, the page says so instead of naming a winner.