GLM 4.7 Flash vs Grok 4.5
Updated October 21, 2026. 40 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Only Grok 4.5 has a coding score, 58.6 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding.
GLM 4.7 Flash has the edge where output tokens cost 15.0x less.
- Shared results
- 40
- GLM 4.7 Flash only
- 3
- Grok 4.5 only
- 80
- Like-for-like categories
- 7 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, six public coding benchmarks
No call
Only Grok 4.5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Grok 4.5
Grok 4.5 leads, 38.8 against 14.9.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Grok 4.5 has a AA Agentic Index result, 41.2.
Directional only
Reasoning
GPQA Diamond
No call
Only Grok 4.5 has a GPQA Diamond result, 92.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Grok 4.5 has a MMLU Pro result, 89.2%.
Directional only
Web design
Design Arena: websites
Grok 4.5
Grok 4.5 leads, 1281 against 1194.
Same board, both measured
Long documents
Listed context window
Grok 4.5
Grok 4.5 takes 500K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7 Flash
GLM 4.7 Flash $0.0003, Grok 4.5 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Grok 4.5 has the number, $0.62.
Directional only
At a glance
- Coding index
- GLM 4.7 Flash not benchmarked, Grok 4.5 58.6 from 6 benchmarks.
- Widest category
- Reasoning, 25.7 points apart on average over 6 shared benchmarks.
- Widest single gap
- OTIS Mock AIME: GLM 4.7 Flash 58.3% against Grok 4.5 97.8%, 39.4 points apart on a 0 to 100 scale.
- Output price
- GLM 4.7 Flash $0.40 against Grok 4.5 $6.00 per million output tokens, 15.0x apart.
- Context window
- GLM 4.7 Flash takes 200K tokens, Grok 4.5 500K.
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 | GLM 4.7 Flash | Bars | Grok 4.5 | Ties |
|---|---|---|---|---|
| Coding | 0 | 2 | ||
| Intelligence | 0 | 1 | ||
| Reasoning | 0 | 6 | ||
| Math | 0 | 3 | ||
| Knowledge | 0 | 4 | ||
| Web design | 0 | 7 | ||
| General | 0 | 17 | ||
| All shared boards | 0 | 40 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 94.3% | Only Grok 4.5 measured |
| LMArena WebDev | Not measured | 1553 | Only Grok 4.5 measured |
| AA Coding Index | Not measured | 72.4 | Only Grok 4.5 measured |
| LiveCodeBench (Vals AI) | Not measured | 87.3% | Only Grok 4.5 measured |
| SWE-bench Verified (Vals AI) | Not measured | 86.6% | Only Grok 4.5 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 8.6% | Only Grok 4.5 measured |
| Vibe Code Bench (Vals AI) | Not measured | 69.0% | Only Grok 4.5 measured |
| Code migration (Vals AI) | Not measured | 36.6% | Only Grok 4.5 measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Grok 4.5 measured |
| IOI (Vals AI) | Not measured | 40.6% | Only Grok 4.5 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 67.8% | Only Grok 4.5 measured |
| SkillsBench (Vals AI) | Not measured | 66.0% | Only Grok 4.5 measured |
| CyberBench (Vals AI) | Not measured | 71.0% | Only Grok 4.5 measured |
| SciCode | Not measured | 55.0% | Only Grok 4.5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 22.0% | Not measured | Only GLM 4.7 Flash measured |
| FrontierCode | Not measured | 42.4% | Only Grok 4.5 measured |
| WeirdML | Not measured | 46.4% | Only Grok 4.5 measured |
| ALE-Bench | Not measured | 1309.3 | Only Grok 4.5 measured |
| LMArena Text: coding | 1382 | 1474 | Grok 4.5 |
| LMArena Text: software and IT | 1389 | 1471 | Grok 4.5 |
| LMArena WebDev: React | Not measured | 1556 | Only Grok 4.5 measured |
| LMArena WebDev: HTML | Not measured | 1567 | Only Grok 4.5 measured |
| LMArena WebDev: from an image | Not measured | 1562 | Only Grok 4.5 measured |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 14.9 | 38.8 | Grok 4.5 |
| Epoch Capabilities Index | Not measured | 154.1 | Only Grok 4.5 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 41.2 | Only Grok 4.5 measured |
| Design Arena: agents building web apps | Not measured | 1218 | Only Grok 4.5 measured |
| Design Arena: agents building full-stack apps | Not measured | 1249 | Only Grok 4.5 measured |
| Design Arena: agents building mobile apps | Not measured | 1221 | Only Grok 4.5 measured |
| Design Arena: agents building Android apps | Not measured | 1242 | Only Grok 4.5 measured |
| Design Arena: agents building Godot games | Not measured | 1229 | Only Grok 4.5 measured |
| Design Arena: agents building games | Not measured | 1236 | Only Grok 4.5 measured |
| Design Arena: HTML slides | Not measured | 1204 | Only Grok 4.5 measured |
| Design Arena: PowerPoint slides | Not measured | 1233 | Only Grok 4.5 measured |
| LiveBench research | Not measured | 85.9% | Only Grok 4.5 measured |
| LiveBench browser | Not measured | 44.0% | Only Grok 4.5 measured |
| LiveBench long agentic | Not measured | 27.9% | Only Grok 4.5 measured |
| SREBench (Vals AI) | Not measured | 0.8% | Only Grok 4.5 measured |
| Finance Agent (Vals AI) | Not measured | 48.4% | Only Grok 4.5 measured |
| Tax Agent Bench (Vals AI) | Not measured | 24.9% | Only Grok 4.5 measured |
| Legal Research Bench (Vals AI) | Not measured | 38.0% | Only Grok 4.5 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 52.9% | Only Grok 4.5 measured |
| Time Horizon Index (Vals AI) | Not measured | 6.3% | Only Grok 4.5 measured |
| τ²-Bench Telecom | 98.8% | Not measured | Only GLM 4.7 Flash measured |
| APEX-Agents | Not measured | 56.2% | Only Grok 4.5 measured |
| PostTrainBench | Not measured | 23.4% | Only Grok 4.5 measured |
| Vending-Bench 2 | Not measured | $3,887 | Only Grok 4.5 measured |
| LMArena Search | Not measured | 1216 | Only Grok 4.5 measured |
| Neither model has a result on the other 16 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 92.9% | Only Grok 4.5 measured |
| LiveBench reasoning | Not measured | 87.2% | Only Grok 4.5 measured |
| MMMU Pro (Vals AI) | Not measured | 61.8% | Only Grok 4.5 measured |
| GPQA Diamond (Artificial Analysis run) | 58.1% | 93.1% | Grok 4.5 |
| Humanity's Last Exam (Artificial Analysis run) | 7.6% | 42.7% | Grok 4.5 |
| GPQA Diamond (Epoch AI run) | 60.5% | 93.4% | Grok 4.5 |
| ARC-AGI | Not measured | 87.2% | Only Grok 4.5 measured |
| ARC-AGI-2 | Not measured | 52.6% | Only Grok 4.5 measured |
| SimpleBench | Not measured | 70.0% | Only Grok 4.5 measured |
| Chess puzzles | Not measured | 35.0% | Only Grok 4.5 measured |
| LMArena Text: hard prompts | 1356 | 1462 | Grok 4.5 |
| LMArena Text: expert | 1357 | 1465 | Grok 4.5 |
| LMArena Text: hard prompts in English | 1369 | 1464 | Grok 4.5 |
| LMArena Vision: diagrams | Not measured | 1304 | Only Grok 4.5 measured |
| LMArena Vision: homework | Not measured | 1295 | Only Grok 4.5 measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 58.3% | 97.8% | Grok 4.5 |
| FrontierMath, tiers 1 to 3 | Not measured | 57.2% | Only Grok 4.5 measured |
| FrontierMath, tier 4 | Not measured | 24.4% | Only Grok 4.5 measured |
| ProofBench | Not measured | 31.0% | Only Grok 4.5 measured |
| LMArena Text: math | 1355 | 1460 | Grok 4.5 |
| LMArena Text: mathematical work | 1369 | 1482 | Grok 4.5 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 89.2% | Only Grok 4.5 measured |
| LegalBench (Vals AI) | Not measured | 86.0% | Only Grok 4.5 measured |
| CorpFin (Vals AI) | Not measured | 67.4% | Only Grok 4.5 measured |
| TaxEval (Vals AI) | Not measured | 71.7% | Only Grok 4.5 measured |
| MortgageTax (Vals AI) | Not measured | 61.8% | Only Grok 4.5 measured |
| MedCode (Vals AI) | Not measured | 43.3% | Only Grok 4.5 measured |
| SimpleQA Verified | Not measured | 48.3% | Only Grok 4.5 measured |
| LMArena Text: science | 1358 | 1464 | Grok 4.5 |
| LMArena Text: medicine and healthcare | 1343 | 1440 | Grok 4.5 |
| LMArena Text: legal and government | 1357 | 1463 | Grok 4.5 |
| LMArena Text: business and finance | 1343 | 1441 | Grok 4.5 |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| Design Arena: websites | 1194 | 1281 | Grok 4.5 |
| Design Arena: UI components | 1208 | 1279 | Grok 4.5 |
| Design Arena: game dev | 1135 | 1263 | Grok 4.5 |
| Design Arena: data viz | 1123 | 1266 | Grok 4.5 |
| Design Arena: 3D | 1121 | 1257 | Grok 4.5 |
| Design Arena: all code categories | 1178 | 1275 | Grok 4.5 |
| Design Arena: SVG | 1038 | 1215 | Grok 4.5 |
| Design Arena: ASCII art | Not measured | 1257 | Only Grok 4.5 measured |
| LiveBench design | Not measured | 78.1% | Only Grok 4.5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
| Benchmark | GLM 4.7 Flash | Grok 4.5 | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 73.0% | Only Grok 4.5 measured |
| SAGE (Vals AI) | Not measured | 35.0% | Only Grok 4.5 measured |
| MedScribe (Vals AI) | Not measured | 86.9% | Only Grok 4.5 measured |
| Vals Multimodal Index | Not measured | 63.4% | Only Grok 4.5 measured |
| IFBench | 60.8% | Not measured | Only GLM 4.7 Flash measured |
| Long context reasoning (AA-LCR) | 41.7% | 79.3% | Grok 4.5 |
| DTBench | Not measured | 96.5% | Only Grok 4.5 measured |
| LMCA | Not measured | 45.2% | Only Grok 4.5 measured |
| Surface Evolver Bench | Not measured | 74.4% | Only Grok 4.5 measured |
| Furniture assembly | Not measured | 22.5% | Only Grok 4.5 measured |
| LMArena Text | 1351 | 1448 | Grok 4.5 |
| LMArena Text: instruction following | 1327 | 1445 | Grok 4.5 |
| LMArena Text: creative writing | 1296 | 1442 | Grok 4.5 |
| LMArena Vision | Not measured | 1287 | Only Grok 4.5 measured |
| LMArena Text: English | 1373 | 1453 | Grok 4.5 |
| LMArena Text: non-English | 1330 | 1440 | Grok 4.5 |
| LMArena Text: Chinese | 1403 | 1495 | Grok 4.5 |
| LMArena Text: German | 1336 | 1448 | Grok 4.5 |
| LMArena Text: Japanese | Not measured | 1430 | Only Grok 4.5 measured |
| LMArena Text: Korean | 1283 | 1406 | Grok 4.5 |
| LMArena Text: French | 1332 | 1457 | Grok 4.5 |
| LMArena Text: Spanish | 1350 | 1451 | Grok 4.5 |
| LMArena Text: Russian | 1333 | 1449 | Grok 4.5 |
| LMArena Text: Polish | 1291 | 1432 | Grok 4.5 |
| LMArena Text: multi-turn | 1342 | 1456 | Grok 4.5 |
| LMArena Text: longer queries | 1345 | 1462 | Grok 4.5 |
| LMArena Text: writing and language | 1320 | 1445 | Grok 4.5 |
| LMArena Text: entertainment and media | 1304 | 1434 | Grok 4.5 |
| LMArena Vision: English | Not measured | 1285 | Only Grok 4.5 measured |
| LMArena Vision: Chinese | Not measured | 1345 | Only Grok 4.5 measured |
| LMArena Vision: reading text | Not measured | 1293 | Only Grok 4.5 measured |
| LMArena Vision: humor | Not measured | 1276 | Only Grok 4.5 measured |
| LMArena Vision: creative writing | Not measured | 1293 | Only Grok 4.5 measured |
| LMArena Document | Not measured | 1452 | Only Grok 4.5 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 | GLM 4.7 Flash | Grok 4.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 4.7 Flash costs less
Repository review
50K input + 3K output tokens
GLM 4.7 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 4.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 | Z.ai GLM 4.7 Flash | SpaceXAI Grok 4.5 |
|---|---|---|
| Maker | Z.ai | xAI |
| Weights | Open weights | No public weights listed |
| Released | January 19, 2026 | July 8, 2026 |
| Context window | 200K | 500K |
| Input $/Mtok | $0.0653 | $2.00 |
| Output $/Mtok | $0.40 | $6.00 |
| Coding index | Not benchmarked | 58.6 |
| Independent measurements behind it | 0 | 6 |
| Cost per solved task | Not computable | $0.62 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 4.7 Flash better than Grok 4.5 for coding?
Only Grok 4.5 has a coding score, 58.6 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding. GLM 4.7 Flash has the edge where output tokens cost 15.0x less.
Which is cheaper, GLM 4.7 Flash or Grok 4.5?
GLM 4.7 Flash costs $0.0653 per million input tokens and $0.40 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Cost per solved task is known for Grok 4.5 only.
Which has the bigger context window, GLM 4.7 Flash or Grok 4.5?
Grok 4.5, with 500K tokens against 200K.
How many benchmarks is the GLM 4.7 Flash vs Grok 4.5 comparison based on?
40 benchmarks have a result for both models as of October 21, 2026. GLM 4.7 Flash's coding index rests on 0 independent benchmarks and Grok 4.5's on 6. Where only one model has a result, the page says so instead of naming a winner.