Gemini 3.7 Flash vs GLM 5.2
GLM 5.2 leads Gemini 3.7 Flash on coding, 61.1 to 58.0 on the Vibe Coding Index, at about the same output price ($4.40 vs $3.75 per million). Updated October 22, 2026; 85 benchmarks have a result for both.
Gemini 3.7 Flash or GLM 5.2: which to pick
Pick GLM 5.2 for coding: it scores 61.1 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash, though on 4 benchmarks against 6.
Pick Gemini 3.7 Flash for output tokens 1.2x cheaper ($3.75 vs $4.40 per million) and work measured by AA Coding Index or LiveCodeBench (Vals AI), where it leads.
- Shared results
- 85
- Gemini 3.7 Flash only
- 30
- GLM 5.2 only
- 19
- 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 58.0.
6 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 39.6 against 33.7.
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.7 Flash
Gemini 3.7 Flash leads, 93.9% against 85.6%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 90.1% against 86.7%.
Same board, both measured
Web design
Design Arena: websites
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 1303 against 1285.
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
Gemini 3.7 Flash
Gemini 3.7 Flash $0.0026, GLM 5.2 $0.0036 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.2
Gemini 3.7 Flash $1.78, GLM 5.2 $0.86.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.7 Flash 58.0 from 6 benchmarks, GLM 5.2 61.1 from 4 benchmarks.
- Widest category
- Reasoning, 15.7 points apart on average over 11 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3.7 Flash 84.6% against GLM 5.2 22.8%, 61.8 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.7 Flash $3.75 against GLM 5.2 $4.40 per million output tokens, 1.2x 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.7 Flash | Bars | GLM 5.2 | Ties |
|---|---|---|---|---|
| Coding | 10 | 6 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 10 | 1 | ||
| Reasoning | 11 | 0 | ||
| Math | 7 | 0 | ||
| Knowledge | 9 | 0 | ||
| Web design | 8 | 0 | ||
| General | 21 | 0 | ||
| All shared boards | 78 | 7 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index106
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| LiveBench coding | 80.5% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena WebDev | 1591 | 1604 | GLM 5.2 |
| AA Coding Index | 71.5 | 68.8 | Gemini 3.7 Flash |
| LiveCodeBench (Vals AI) | 88.7% | 69.5% | Gemini 3.7 Flash |
| SWE-bench Verified (Vals AI) | 80.8% | 82.8% | GLM 5.2 |
| Terminal-Bench 4 (Vals AI) | 12.1% | Not measured | Only Gemini 3.7 Flash measured |
| Vibe Code Bench (Vals AI) | 70.4% | 64.0% | Gemini 3.7 Flash |
| Code migration (Vals AI) | 34.8% | 37.9% | GLM 5.2 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | GLM 5.2 |
| IOI (Vals AI) | 67.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 77.5% | 67.8% | Gemini 3.7 Flash |
| SkillsBench (Vals AI) | 65.9% | 45.1% | Gemini 3.7 Flash |
| CyberBench (Vals AI) | 43.8% | Not measured | Only Gemini 3.7 Flash measured |
| SciCode | 59.8% | 51.2% | Gemini 3.7 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 50.8% | Only GLM 5.2 measured |
| FrontierCode | 43.6% | 24.5% | Gemini 3.7 Flash |
| FrontierSWE | 20.3% | Not measured | Only Gemini 3.7 Flash measured |
| WeirdML | Not measured | 70.1% | Only GLM 5.2 measured |
| ALE-Bench | 904.3 | 1047.0 | GLM 5.2 |
| LMArena Text: coding | 1499 | 1487 | Gemini 3.7 Flash |
| LMArena Text: software and IT | 1498 | 1486 | Gemini 3.7 Flash |
| LMArena WebDev: React | 1587 | 1617 | GLM 5.2 |
| LMArena WebDev: HTML | 1593 | 1565 | Gemini 3.7 Flash |
| LMArena WebDev: from an image | 1599 | Not measured | Only Gemini 3.7 Flash measured |
| SciCode | 13.8% | Not measured | Only Gemini 3.7 Flash measured |
| SWE Atlas: Codebase QnA | Not measured | 48.1% | Only GLM 5.2 measured |
| SWE Atlas: Refactoring | Not measured | 42.4% | Only GLM 5.2 measured |
| SWE Atlas: Test Writing | Not measured | 41.5% | Only GLM 5.2 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.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.6 | 33.7 | Gemini 3.7 Flash |
| Epoch Capabilities Index | 158.0 | 151.9 | Gemini 3.7 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index101
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 38.4 | Only GLM 5.2 measured |
| Design Arena: agents building web apps | 1223 | 1222 | Gemini 3.7 Flash |
| Design Arena: agents building full-stack apps | 1208 | 1241 | GLM 5.2 |
| Design Arena: agents building mobile apps | 1230 | 1159 | Gemini 3.7 Flash |
| Design Arena: agents building Android apps | 1242 | 1177 | Gemini 3.7 Flash |
| Design Arena: agents building Godot games | 1264 | 1142 | Gemini 3.7 Flash |
| Design Arena: agents building games | 1235 | 1206 | Gemini 3.7 Flash |
| Design Arena: HTML slides | Not measured | 1114 | Only GLM 5.2 measured |
| Design Arena: PowerPoint slides | Not measured | 1167 | Only GLM 5.2 measured |
| Design Arena: spreadsheets | 1094 | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench research | 76.5% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench browser | 56.0% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench long agentic | 28.3% | Not measured | Only Gemini 3.7 Flash measured |
| SREBench (Vals AI) | 4.6% | 0.0% | Gemini 3.7 Flash |
| Finance Agent (Vals AI) | 59.0% | 49.7% | Gemini 3.7 Flash |
| Tax Agent Bench (Vals AI) | 22.8% | Not measured | Only Gemini 3.7 Flash measured |
| Legal Research Bench (Vals AI) | 34.6% | 31.3% | Gemini 3.7 Flash |
| Excel Modeling Benchmark (Vals AI) | 71.3% | 61.5% | Gemini 3.7 Flash |
| Terminal-Bench-Science (Vals AI) | 7.1% | Not measured | Only Gemini 3.7 Flash measured |
| τ²-Bench Telecom | Not measured | 99.1% | Only GLM 5.2 measured |
| APEX-Agents | 67.8% | 45.2% | Gemini 3.7 Flash |
| Remote Labor Index | 5.0% | Not measured | Only Gemini 3.7 Flash measured |
| PostTrainBench | Not measured | 31.7% | Only GLM 5.2 measured |
| Vending-Bench 2 | Not measured | $8,314 | Only GLM 5.2 measured |
| MCP Atlas | Not measured | 77.8% | Only GLM 5.2 measured |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| GPQA Diamond | 93.9% | 85.6% | Gemini 3.7 Flash |
| LiveBench reasoning | 87.8% | Not measured | Only Gemini 3.7 Flash measured |
| MMMU Pro (Vals AI) | 89.0% | Not measured | Only Gemini 3.7 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 94.5% | 89.5% | Gemini 3.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 47.9% | 41.1% | Gemini 3.7 Flash |
| GPQA Diamond (Epoch AI run) | 94.8% | 91.9% | Gemini 3.7 Flash |
| ARC-AGI | 95.5% | 77.0% | Gemini 3.7 Flash |
| ARC-AGI-2 | 84.6% | 22.8% | Gemini 3.7 Flash |
| SimpleBench | Not measured | 58.8% | Only GLM 5.2 measured |
| Chess puzzles | 66.0% | 22.0% | Gemini 3.7 Flash |
| Mystery game puzzles | 37.0% | 19.0% | Gemini 3.7 Flash |
| EBR-bench | Not measured | 9.5% | Only GLM 5.2 measured |
| LMArena Text: hard prompts | 1495 | 1481 | Gemini 3.7 Flash |
| LMArena Text: expert | 1512 | 1487 | Gemini 3.7 Flash |
| LMArena Text: hard prompts in English | 1487 | 1481 | Gemini 3.7 Flash |
| LMArena Vision: diagrams | 1329 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: homework | 1320 | Not measured | Only Gemini 3.7 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 index70
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 97.2% | 86.4% | Gemini 3.7 Flash |
| FrontierMath, tiers 1 to 3 | 71.6% | 59.2% | Gemini 3.7 Flash |
| FrontierMath, tier 4 | 36.6% | 29.3% | Gemini 3.7 Flash |
| ProofBench | 58.0% | 35.0% | Gemini 3.7 Flash |
| LMArena Text: math | 1511 | 1483 | Gemini 3.7 Flash |
| LMArena Text: mathematical work | 1502 | 1489 | Gemini 3.7 Flash |
| MathArena | 25.9% | 22.7% | Gemini 3.7 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| MMLU Pro | 90.1% | 86.7% | Gemini 3.7 Flash |
| LegalBench (Vals AI) | 87.3% | 84.1% | Gemini 3.7 Flash |
| CorpFin (Vals AI) | Not measured | 66.1% | Only GLM 5.2 measured |
| TaxEval (Vals AI) | 74.7% | 73.3% | Gemini 3.7 Flash |
| MortgageTax (Vals AI) | 66.7% | Not measured | Only Gemini 3.7 Flash measured |
| MedCode (Vals AI) | 53.4% | 40.8% | Gemini 3.7 Flash |
| SimpleQA Verified | 69.2% | 34.2% | Gemini 3.7 Flash |
| LMArena Text: science | 1511 | 1489 | Gemini 3.7 Flash |
| LMArena Text: medicine and healthcare | 1494 | 1475 | Gemini 3.7 Flash |
| LMArena Text: legal and government | 1496 | 1486 | Gemini 3.7 Flash |
| LMArena Text: business and finance | 1479 | 1451 | Gemini 3.7 Flash |
| FACTS Benchmark Suite | 71.2% | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 8 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1303 | 1285 | Gemini 3.7 Flash |
| Design Arena: UI components | 1295 | 1294 | Gemini 3.7 Flash |
| Design Arena: game dev | 1317 | 1267 | Gemini 3.7 Flash |
| Design Arena: data viz | 1315 | 1286 | Gemini 3.7 Flash |
| Design Arena: 3D | 1306 | 1287 | Gemini 3.7 Flash |
| Design Arena: all code categories | 1307 | 1287 | Gemini 3.7 Flash |
| Design Arena: SVG | 1284 | 1213 | Gemini 3.7 Flash |
| Design Arena: ASCII art | 1278 | 1191 | Gemini 3.7 Flash |
| LiveBench design | 73.2% | Not measured | Only Gemini 3.7 Flash measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index210
| Benchmark | Gemini 3.7 Flash | GLM 5.2 | Leader |
|---|---|---|---|
| LiveBench data analysis | 68.0% | Not measured | Only Gemini 3.7 Flash measured |
| SAGE (Vals AI) | 49.2% | Not measured | Only Gemini 3.7 Flash measured |
| MedScribe (Vals AI) | 83.9% | 83.5% | Gemini 3.7 Flash |
| IFBench | Not measured | 73.3% | Only GLM 5.2 measured |
| Long context reasoning (AA-LCR) | 83.0% | 78.3% | Gemini 3.7 Flash |
| DTBench | 96.8% | 93.6% | Gemini 3.7 Flash |
| LMCA | 50.4% | 45.8% | Gemini 3.7 Flash |
| Surface Evolver Bench | Not measured | 55.6% | Only GLM 5.2 measured |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text | 1489 | 1470 | Gemini 3.7 Flash |
| LMArena Text: instruction following | 1484 | 1466 | Gemini 3.7 Flash |
| LMArena Text: creative writing | 1488 | 1463 | Gemini 3.7 Flash |
| LMArena Vision | 1314 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: English | 1483 | 1475 | Gemini 3.7 Flash |
| LMArena Text: non-English | 1487 | 1459 | Gemini 3.7 Flash |
| LMArena Text: Chinese | 1552 | 1522 | Gemini 3.7 Flash |
| LMArena Text: German | 1506 | 1470 | Gemini 3.7 Flash |
| LMArena Text: Japanese | 1511 | 1450 | Gemini 3.7 Flash |
| LMArena Text: Korean | 1481 | 1440 | Gemini 3.7 Flash |
| LMArena Text: French | 1500 | 1479 | Gemini 3.7 Flash |
| LMArena Text: Spanish | 1495 | 1478 | Gemini 3.7 Flash |
| LMArena Text: Russian | 1515 | 1468 | Gemini 3.7 Flash |
| LMArena Text: Polish | 1503 | 1456 | Gemini 3.7 Flash |
| LMArena Text: multi-turn | 1485 | 1469 | Gemini 3.7 Flash |
| LMArena Text: longer queries | 1492 | 1480 | Gemini 3.7 Flash |
| LMArena Text: writing and language | 1491 | 1463 | Gemini 3.7 Flash |
| LMArena Text: entertainment and media | 1477 | 1450 | Gemini 3.7 Flash |
| LMArena Vision: English | 1309 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: Chinese | 1394 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: reading text | 1322 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: humor | 1299 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: creative writing | 1312 | Not measured | Only Gemini 3.7 Flash measured |
| EQ-Bench 4 | Not measured | 1222 | Only GLM 5.2 measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.7 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
Gemini 3.7 Flash costs less
Repository review
50K input + 3K output tokens
Gemini 3.7 Flash costs less
Agent loop
200K input + 10K output tokens
Gemini 3.7 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.7 Flash | Z.ai GLM 5.2 |
|---|---|---|
| Maker | Z.ai | |
| Weights | No public weights listed | Open weights |
| Released | August 13, 2026 | June 16, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $0.75 | $1.40 |
| Output $/Mtok | $3.75 | $4.40 |
| Coding index | 58.0 | 61.1 |
| Independent measurements behind it | 6 | 4 |
| Cost per solved task | $1.78 | $0.86 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.7 Flash better than GLM 5.2 for coding?
Pick GLM 5.2 for coding: it scores 61.1 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash, though on 4 benchmarks against 6. Pick Gemini 3.7 Flash for output tokens 1.2x cheaper ($3.75 vs $4.40 per million) and work measured by AA Coding Index or LiveCodeBench (Vals AI), where it leads.
Which is cheaper, Gemini 3.7 Flash or GLM 5.2?
Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; GLM 5.2 costs $1.40 and $4.40. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and GLM 5.2 $0.86.
Which has the bigger context window, Gemini 3.7 Flash or GLM 5.2?
Neither: both take 1.05M tokens.
How many benchmarks is the Gemini 3.7 Flash vs GLM 5.2 comparison based on?
85 benchmarks have a result for both models as of October 22, 2026. Gemini 3.7 Flash's coding index rests on 6 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.