Gemini 3.5 Flash vs GLM 5.2
GLM 5.2 leads Gemini 3.5 Flash on coding, 61.1 to 39.8 on the Vibe Coding Index, and GLM 5.2 costs 2.0x less per output token ($4.40 vs $9.00 per million). Updated October 21, 2026; 92 benchmarks have a result for both.
Gemini 3.5 Flash or GLM 5.2: which to pick
Pick GLM 5.2 for coding: it scores 61.1 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash.
Pick Gemini 3.5 Flash for work measured by LiveCodeBench (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.
- Shared results
- 92
- Gemini 3.5 Flash only
- 20
- GLM 5.2 only
- 6
- 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
GLM 5.2
GLM 5.2 scores 61.1 against 39.8.
4 benchmarks behind each score
Intelligence
AA Intelligence Index
GLM 5.2
GLM 5.2 leads, 33.7 against 33.6.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GLM 5.2 has a AA Agentic Index result, 38.4.
Directional only
Reasoning
GPQA Diamond
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 92.7% against 85.6%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 89.5% against 86.7%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.2
GLM 5.2 leads, 1285 against 1268.
Same board, both measured
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.2
Gemini 3.5 Flash $0.0060, GLM 5.2 $0.0036 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.2
Gemini 3.5 Flash $1.21, GLM 5.2 $0.86.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.5 Flash 39.8 from 4 benchmarks, GLM 5.2 61.1 from 4 benchmarks.
- Widest category
- Reasoning, 10.7 points apart on average over 13 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3.5 Flash 72.1% against GLM 5.2 22.8%, 49.3 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.5 Flash $9.00 against GLM 5.2 $4.40 per million output tokens, 2.0x apart.
- Context window
- Both take 1.05M tokens.
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.2 | Ties |
|---|---|---|---|---|
| Coding | 6 | 10 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 4 | 10 | ||
| Reasoning | 12 | 1 | ||
| Math | 4 | 2 | ||
| Knowledge | 8 | 2 | ||
| Web design | 2 | 6 | ||
| General | 21 | 2 | ||
| All shared boards | 58 | 34 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index610
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| LMArena WebDev | 1499 | 1604 | GLM 5.2 |
| AA Coding Index | Not measured | 68.8 | Only GLM 5.2 measured |
| LiveCodeBench (Vals AI) | 87.6% | 69.5% | Gemini 3.5 Flash |
| SWE-bench Verified (Vals AI) | 78.8% | 82.8% | GLM 5.2 |
| Terminal-Bench 4 (Vals AI) | 6.1% | Not measured | Only Gemini 3.5 Flash measured |
| Vibe Code Bench (Vals AI) | 48.7% | 64.0% | GLM 5.2 |
| Code migration (Vals AI) | 26.8% | 37.9% | GLM 5.2 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | GLM 5.2 |
| Terminal-Bench 2.1 (Vals AI) | 74.2% | 67.8% | Gemini 3.5 Flash |
| SkillsBench (Vals AI) | 52.7% | 45.1% | Gemini 3.5 Flash |
| SciCode | 53.9% | 51.2% | Gemini 3.5 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | 46.2% | 50.8% | GLM 5.2 |
| FrontierCode | Not measured | 24.5% | Only GLM 5.2 measured |
| WeirdML | 62.6% | 70.1% | GLM 5.2 |
| ALE-Bench | 911.0 | 1047.0 | GLM 5.2 |
| LMArena Text: coding | 1493 | 1487 | Gemini 3.5 Flash |
| LMArena Text: software and IT | 1494 | 1486 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1495 | 1617 | GLM 5.2 |
| LMArena WebDev: HTML | 1522 | 1565 | GLM 5.2 |
| LMArena WebDev: from an image | 1504 | Not measured | Only Gemini 3.5 Flash measured |
| SciCode | 12.3% | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.6 | 33.7 | GLM 5.2 |
| Epoch Capabilities Index | 154.9 | 151.9 | Gemini 3.5 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index410
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 38.4 | Only GLM 5.2 measured |
| Design Arena: agents building web apps | 1202 | 1222 | GLM 5.2 |
| Design Arena: agents building full-stack apps | 1197 | 1241 | GLM 5.2 |
| Design Arena: agents building mobile apps | 1174 | 1160 | Gemini 3.5 Flash |
| Design Arena: agents building Android apps | 1184 | 1178 | Gemini 3.5 Flash |
| Design Arena: agents building Godot games | 1098 | 1142 | GLM 5.2 |
| Design Arena: agents building games | 1180 | 1206 | GLM 5.2 |
| Design Arena: HTML slides | 1142 | 1175 | GLM 5.2 |
| Design Arena: PowerPoint slides | 1179 | 1195 | GLM 5.2 |
| SREBench (Vals AI) | Not measured | 0.0% | Only GLM 5.2 measured |
| Finance Agent (Vals AI) | 57.9% | 49.7% | 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% | 31.3% | GLM 5.2 |
| Excel Modeling Benchmark (Vals AI) | 63.5% | 61.5% | Gemini 3.5 Flash |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only Gemini 3.5 Flash measured |
| τ²-Bench Telecom | 95.6% | 99.1% | GLM 5.2 |
| APEX-Agents | 27.5% | 45.2% | GLM 5.2 |
| PostTrainBench | Not measured | 31.7% | Only GLM 5.2 measured |
| Vending-Bench 2 | $5,396 | $8,314 | GLM 5.2 |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index121
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| GPQA Diamond | 92.7% | 85.6% | 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% | 89.5% | Gemini 3.5 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 42.7% | 41.1% | Gemini 3.5 Flash |
| GPQA Diamond (Epoch AI run) | 92.8% | 91.9% | Gemini 3.5 Flash |
| ARC-AGI | 92.5% | 77.0% | Gemini 3.5 Flash |
| ARC-AGI-2 | 72.1% | 22.8% | Gemini 3.5 Flash |
| SimpleBench | 76.7% | 58.8% | Gemini 3.5 Flash |
| Chess puzzles | 45.0% | 22.0% | Gemini 3.5 Flash |
| Mystery game puzzles | 32.0% | 19.0% | Gemini 3.5 Flash |
| EBR-bench | 4.8% | 9.5% | GLM 5.2 |
| LMArena Text: hard prompts | 1488 | 1481 | Gemini 3.5 Flash |
| LMArena Text: expert | 1495 | 1487 | Gemini 3.5 Flash |
| LMArena Text: hard prompts in English | 1483 | 1481 | 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 |
| Kagi LLM Benchmark | Not measured | 62.6% | Only GLM 5.2 measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index42
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 95.6% | 86.4% | Gemini 3.5 Flash |
| FrontierMath, tiers 1 to 3 | 62.8% | 59.2% | Gemini 3.5 Flash |
| FrontierMath, tier 4 | 26.8% | 29.3% | GLM 5.2 |
| ProofBench | 31.0% | 35.0% | GLM 5.2 |
| LMArena Text: math | 1504 | 1483 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1495 | 1489 | Gemini 3.5 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index82
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| MMLU Pro | 89.5% | 86.7% | Gemini 3.5 Flash |
| LegalBench (Vals AI) | 83.6% | 84.1% | GLM 5.2 |
| CorpFin (Vals AI) | 64.7% | 66.1% | GLM 5.2 |
| TaxEval (Vals AI) | 74.4% | 73.3% | Gemini 3.5 Flash |
| MortgageTax (Vals AI) | 68.1% | Not measured | Only Gemini 3.5 Flash measured |
| MedCode (Vals AI) | 55.8% | 40.8% | Gemini 3.5 Flash |
| SimpleQA Verified | 66.2% | 34.2% | Gemini 3.5 Flash |
| LMArena Text: science | 1495 | 1489 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1483 | 1475 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1488 | 1486 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1467 | 1451 | Gemini 3.5 Flash |
| FACTS Benchmark Suite | 63.1% | Not measured | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index26
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1268 | 1285 | GLM 5.2 |
| Design Arena: UI components | 1273 | 1296 | GLM 5.2 |
| Design Arena: game dev | 1263 | 1268 | GLM 5.2 |
| Design Arena: data viz | 1236 | 1285 | GLM 5.2 |
| Design Arena: 3D | 1244 | 1288 | GLM 5.2 |
| Design Arena: all code categories | 1266 | 1288 | GLM 5.2 |
| Design Arena: SVG | 1254 | 1214 | Gemini 3.5 Flash |
| Design Arena: ASCII art | 1254 | 1190 | 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 index212
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | 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% | 83.5% | GLM 5.2 |
| Vals Multimodal Index | 62.9% | Not measured | Only Gemini 3.5 Flash measured |
| IFBench | 76.3% | 73.3% | Gemini 3.5 Flash |
| Long context reasoning (AA-LCR) | 74.3% | 78.3% | GLM 5.2 |
| DTBench | 94.7% | 93.6% | Gemini 3.5 Flash |
| LMCA | 47.1% | 45.8% | Gemini 3.5 Flash |
| Surface Evolver Bench | 58.1% | 55.6% | Gemini 3.5 Flash |
| LMArena Text | 1482 | 1470 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1467 | 1466 | Gemini 3.5 Flash |
| LMArena Text: creative writing | 1470 | 1463 | Gemini 3.5 Flash |
| LMArena Vision | 1308 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: English | 1481 | 1475 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1475 | 1459 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1527 | 1522 | Gemini 3.5 Flash |
| LMArena Text: German | 1494 | 1470 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1486 | 1450 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1448 | 1440 | Gemini 3.5 Flash |
| LMArena Text: French | 1490 | 1479 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1480 | 1478 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1493 | 1468 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1516 | 1456 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1481 | 1469 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1483 | 1480 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1478 | 1463 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1459 | 1450 | 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 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.5 Flash | GLM 5.2 | 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.2 costs less
Repository review
50K input + 3K output tokens
GLM 5.2 costs less
Agent loop
200K input + 10K output tokens
GLM 5.2 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.2 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | May 19, 2026 | June 16, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.50 | $1.40 |
| Output $/Mtok | $9.00 | $4.40 |
| Coding index | 39.8 | 61.1 |
| Independent measurements behind it | 4 | 4 |
| Cost per solved task | $1.21 | $0.86 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.5 Flash better than GLM 5.2 for coding?
Pick GLM 5.2 for coding: it scores 61.1 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash. Pick Gemini 3.5 Flash for work measured by LiveCodeBench (Vals AI) or Terminal-Bench 2.1 (Vals AI), where it leads.
Which is cheaper, Gemini 3.5 Flash or GLM 5.2?
Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; GLM 5.2 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and GLM 5.2 $0.86.
Which has the bigger context window, Gemini 3.5 Flash or GLM 5.2?
Neither: both take 1.05M tokens.
How many benchmarks is the Gemini 3.5 Flash vs GLM 5.2 comparison based on?
92 benchmarks have a result for both models as of October 21, 2026. Gemini 3.5 Flash's coding index rests on 4 independent benchmarks and GLM 5.2's on 4. Where only one model has a result, the page says so instead of naming a winner.