Gemini 3.5 Flash vs GLM 5
Updated October 21, 2026. 68 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GLM 5 for coding: it scores 59.7 on the Vibe Coding Index against 42.8 for Gemini 3.5 Flash.
Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 205K tokens, or when what matters is LMArena WebDev or LiveCodeBench (Vals AI), where it leads.
- Shared results
- 68
- Gemini 3.5 Flash only
- 42
- GLM 5 only
- 7
- 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
GLM 5
GLM 5 scores 59.7 against 42.8.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 33.6 against 27.9.
Same board, both measured
Reasoning
GPQA Diamond
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 92.7% against 83.3%.
Same board, both measured
Math
AIME
No call
Only GLM 5 has a AIME result, 91.7%.
Directional only
Knowledge
MMLU Pro
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 89.5% against 86.0%.
Same board, both measured
Web design
Design Arena: websites
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 1268 against 1247.
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
Gemini 3.5 Flash $0.0060, GLM 5 $0.0026 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5
Gemini 3.5 Flash $1.21, GLM 5 $0.63.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.5 Flash 42.8 from 1 benchmark, GLM 5 59.7 from 2 benchmarks.
- Widest category
- Reasoning, 19.3 points apart on average over 10 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3.5 Flash 72.1% against GLM 5 4.9%, 67.2 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.5 Flash $9.00 against GLM 5 $3.20 per million output tokens, 2.8x apart.
- Context window
- Gemini 3.5 Flash takes 1.05M tokens, GLM 5 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 | Ties |
|---|---|---|---|---|
| Coding | 11 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 4 | 3 | ||
| Reasoning | 10 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 7 | 1 | ||
| Web design | 8 | 0 | ||
| General | 18 | 1 | ||
| All shared boards | 63 | 5 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index110
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 72.8% | Only GLM 5 measured |
| SWE-bench Multilingual | Not measured | 69.7% | Only GLM 5 measured |
| LMArena WebDev | 1499 | 1435 | Gemini 3.5 Flash |
| LiveCodeBench (Vals AI) | 87.6% | 81.9% | Gemini 3.5 Flash |
| SWE-bench Verified (Vals AI) | 78.8% | 71.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% | 23.4% | 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 |
| SciCode | 53.9% | Not measured | Only Gemini 3.5 Flash measured |
| Terminal-Bench Hard (Artificial Analysis run) | 46.2% | 43.2% | Gemini 3.5 Flash |
| Terminal-Bench | Not measured | 52.4% | Only GLM 5 measured |
| WeirdML | 62.6% | 48.2% | Gemini 3.5 Flash |
| ALE-Bench | 911.0 | 765.6 | Gemini 3.5 Flash |
| LMArena Text: coding | 1493 | 1461 | Gemini 3.5 Flash |
| LMArena Text: software and IT | 1494 | 1460 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1495 | 1424 | Gemini 3.5 Flash |
| LMArena WebDev: HTML | 1522 | 1450 | 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 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.6 | 27.9 | Gemini 3.5 Flash |
| Epoch Capabilities Index | 154.9 | 145.8 | Gemini 3.5 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1202 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building full-stack apps | 1197 | 1123 | Gemini 3.5 Flash |
| Design Arena: agents building mobile apps | 1175 | 1136 | Gemini 3.5 Flash |
| Design Arena: agents building Android apps | 1190 | 1152 | Gemini 3.5 Flash |
| Design Arena: agents building Godot games | 1098 | 1144 | GLM 5 |
| Design Arena: agents building games | 1180 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: HTML slides | 1142 | 1148 | GLM 5 |
| Design Arena: PowerPoint slides | 1178 | 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% | 98.2% | GLM 5 |
| APEX-Agents | 27.5% | Not measured | Only Gemini 3.5 Flash measured |
| Vending-Bench 2 | $5,396 | $4,432 | Gemini 3.5 Flash |
| Neither model has a result on the other 23 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| GPQA Diamond | 92.7% | 83.3% | 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% | 82.0% | Gemini 3.5 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 42.7% | 29.3% | Gemini 3.5 Flash |
| GPQA Diamond (Epoch AI run) | 92.8% | 87.8% | Gemini 3.5 Flash |
| ARC-AGI | 92.5% | 44.7% | Gemini 3.5 Flash |
| ARC-AGI-2 | 72.1% | 4.9% | Gemini 3.5 Flash |
| SimpleBench | 76.7% | 53.2% | Gemini 3.5 Flash |
| Chess puzzles | 45.0% | Not measured | Only Gemini 3.5 Flash measured |
| 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 | 1452 | Gemini 3.5 Flash |
| LMArena Text: expert | 1495 | 1454 | Gemini 3.5 Flash |
| LMArena Text: hard prompts in English | 1483 | 1460 | 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 index30
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| AIME | Not measured | 91.7% | Only GLM 5 measured |
| OTIS Mock AIME | 95.6% | 80.0% | 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 | 1440 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1495 | 1451 | 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 index71
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| MMLU Pro | 89.5% | 86.0% | Gemini 3.5 Flash |
| LegalBench (Vals AI) | 83.6% | 84.1% | GLM 5 |
| CaseLaw (Vals AI) | Not measured | 52.5% | Only GLM 5 measured |
| CorpFin (Vals AI) | 64.7% | 62.9% | Gemini 3.5 Flash |
| TaxEval (Vals AI) | 74.4% | 70.0% | Gemini 3.5 Flash |
| MortgageTax (Vals AI) | 68.1% | Not measured | Only Gemini 3.5 Flash measured |
| MedQA (Vals AI) | Not measured | 94.3% | Only GLM 5 measured |
| MedCode (Vals AI) | 55.8% | Not measured | Only Gemini 3.5 Flash measured |
| SimpleQA Verified | 66.2% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: science | 1495 | 1460 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1483 | 1455 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1488 | 1453 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1467 | 1430 | Gemini 3.5 Flash |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| Design Arena: websites | 1268 | 1247 | Gemini 3.5 Flash |
| Design Arena: UI components | 1272 | 1230 | Gemini 3.5 Flash |
| Design Arena: game dev | 1263 | 1234 | Gemini 3.5 Flash |
| Design Arena: data viz | 1236 | 1228 | Gemini 3.5 Flash |
| Design Arena: 3D | 1244 | 1229 | Gemini 3.5 Flash |
| Design Arena: all code categories | 1266 | 1246 | Gemini 3.5 Flash |
| Design Arena: SVG | 1254 | 1168 | Gemini 3.5 Flash |
| Design Arena: ASCII art | 1253 | 1146 | 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 index181
| Benchmark | Gemini 3.5 Flash | GLM 5 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 59.5% | Not measured | Only Gemini 3.5 Flash measured |
| SAGE (Vals AI) | 49.9% | Not measured | Only Gemini 3.5 Flash measured |
| MedScribe (Vals AI) | 76.6% | Not measured | Only Gemini 3.5 Flash measured |
| Vals Multimodal Index | 62.9% | Not measured | Only Gemini 3.5 Flash measured |
| IFBench | 76.3% | 72.3% | Gemini 3.5 Flash |
| Long context reasoning (AA-LCR) | 74.3% | 75.7% | GLM 5 |
| DTBench | 94.7% | Not measured | Only Gemini 3.5 Flash measured |
| LMCA | 47.1% | Not measured | Only Gemini 3.5 Flash measured |
| CL-bench | Not measured | 18.7% | Only GLM 5 measured |
| Surface Evolver Bench | 58.1% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text | 1482 | 1446 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1467 | 1428 | Gemini 3.5 Flash |
| LMArena Text: creative writing | 1470 | 1438 | Gemini 3.5 Flash |
| LMArena Vision | 1308 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: English | 1481 | 1458 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1475 | 1430 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1527 | 1511 | Gemini 3.5 Flash |
| LMArena Text: German | 1494 | 1447 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1486 | 1416 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1448 | 1423 | Gemini 3.5 Flash |
| LMArena Text: French | 1490 | 1456 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1480 | 1454 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1493 | 1436 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1516 | 1434 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1481 | 1456 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1483 | 1446 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1478 | 1437 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1459 | 1426 | 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 | 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 costs less
Repository review
50K input + 3K output tokens
GLM 5 costs less
Agent loop
200K input + 10K output tokens
GLM 5 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 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | May 19, 2026 | February 11, 2026 |
| Context window | 1.05M | 205K |
| Input $/Mtok | $1.50 | $1.00 |
| Output $/Mtok | $9.00 | $3.20 |
| Coding index | 42.8 | 59.7 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | $1.21 | $0.63 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.5 Flash better than GLM 5 for coding?
Pick GLM 5 for coding: it scores 59.7 on the Vibe Coding Index against 42.8 for Gemini 3.5 Flash. Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 205K tokens, or when what matters is LMArena WebDev or LiveCodeBench (Vals AI), where it leads.
Which is cheaper, Gemini 3.5 Flash or GLM 5?
Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GLM 5 $0.63.
Which has the bigger context window, Gemini 3.5 Flash or GLM 5?
Gemini 3.5 Flash, with 1.05M tokens against 205K.
How many benchmarks is the Gemini 3.5 Flash vs GLM 5 comparison based on?
68 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's on 2. Where only one model has a result, the page says so instead of naming a winner.