GLM 5.3 Flash vs Grok 4.7
Grok 4.7 leads GLM 5.3 Flash on coding, 66.7 to 57.7 on the Vibe Coding Index, and GLM 5.3 Flash costs 12.0x less per output token ($0.50 vs $6.00 per million). Updated October 22, 2026; 86 benchmarks have a result for both.
GLM 5.3 Flash or Grok 4.7: which to pick
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 57.7 for GLM 5.3 Flash, though on 5 benchmarks against 6.
Pick GLM 5.3 Flash for output tokens 12.0x cheaper ($0.50 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
- Shared results
- 86
- GLM 5.3 Flash only
- 16
- Grok 4.7 only
- 13
- 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
Grok 4.7
Grok 4.7 scores 66.7 against 57.7.
6 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 41.8.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GLM 5.3 Flash has a AA Agentic Index result, 50.9.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.3 Flash has a GPQA Diamond result, 86.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.3 Flash has a MMLU Pro result, 86.1%.
Directional only
Web design
Design Arena: websites
GLM 5.3 Flash
GLM 5.3 Flash leads, 1272 against 1255.
Same board, both measured
General
Vals Index
Grok 4.7
Grok 4.7 leads, 58.6% against 50.9%.
Same board, both measured
Long documents
Listed context window
GLM 5.3 Flash
GLM 5.3 Flash takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3 Flash
GLM 5.3 Flash $0.0004, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.3 Flash has the number, $0.02.
Directional only
At a glance
- Coding index
- GLM 5.3 Flash 57.7 from 6 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Coding, 11.2 points apart on average over 17 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): GLM 5.3 Flash 30.8% against Grok 4.7 86.2%, 55.4 points apart on a 0 to 100 scale.
- Output price
- GLM 5.3 Flash $0.50 against Grok 4.7 $6.00 per million output tokens, 12.0x apart.
- Context window
- GLM 5.3 Flash takes 1.05M tokens, Grok 4.7 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 5.3 Flash | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 3 | 14 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 2 | 9 | ||
| Reasoning | 7 | 5 | ||
| Math | 3 | 2 | 1 tie | |
| Knowledge | 4 | 1 | ||
| Web design | 5 | 2 | ||
| General | 22 | 3 | 1 tie | |
| All shared boards | 46 | 38 | 2 ties |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index314
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 80.6% | 84.5% | Grok 4.7 |
| LMArena WebDev | 1607 | 1637 | Grok 4.7 |
| AA Coding Index | 71.5 | Not measured | Only GLM 5.3 Flash measured |
| LiveCodeBench (Vals AI) | 80.5% | Not measured | Only GLM 5.3 Flash measured |
| SWE-bench Verified (Vals AI) | 92.0% | Not measured | Only GLM 5.3 Flash measured |
| Terminal-Bench 4 (Vals AI) | 37.4% | 28.8% | GLM 5.3 Flash |
| Vibe Code Bench (Vals AI) | 30.8% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 20.5% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | Grok 4.7 |
| IOI (Vals AI) | 52.5% | 57.7% | Grok 4.7 |
| Terminal-Bench 2.1 (Vals AI) | 62.9% | 73.4% | Grok 4.7 |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| Vibe Code Bench 1-100 (Vals AI) | 16.0% | Not measured | Only GLM 5.3 Flash measured |
| SkillsBench (Vals AI) | 40.2% | Not measured | Only GLM 5.3 Flash measured |
| CyberBench (Vals AI) | 67.9% | 69.5% | Grok 4.7 |
| SciCode | 51.6% | 57.8% | Grok 4.7 |
| FrontierCode | 31.8% | 47.6% | Grok 4.7 |
| FrontierSWE | 18.1% | 29.5% | Grok 4.7 |
| ALE-Bench | 303.6 | Not measured | Only GLM 5.3 Flash measured |
| LMArena Text: coding | 1507 | 1432 | GLM 5.3 Flash |
| LMArena Text: software and IT | 1500 | 1421 | GLM 5.3 Flash |
| LMArena WebDev: React | 1624 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1577 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1578 | 1586 | Grok 4.7 |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 41.8 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 153.1 | 154.4 | Grok 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index29
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 50.9 | Not measured | Only GLM 5.3 Flash measured |
| LiveBench research | 70.1% | 86.4% | Grok 4.7 |
| LiveBench browser | 84.0% | 60.0% | GLM 5.3 Flash |
| LiveBench long agentic | 28.4% | 50.1% | Grok 4.7 |
| SREBench (Vals AI) | 0.8% | 3.8% | Grok 4.7 |
| Finance Agent (Vals AI) | 57.9% | 52.3% | GLM 5.3 Flash |
| Tax Agent Bench (Vals AI) | 31.6% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 45.2% | 47.1% | Grok 4.7 |
| Harvey's Legal Agent Benchmark (Vals AI) | 10.4% | 18.3% | Grok 4.7 |
| Excel Modeling Benchmark (Vals AI) | 55.9% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | 2.9% | 10.0% | Grok 4.7 |
| Vals Science Index | Not measured | 34.8% | Only Grok 4.7 measured |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| APEX-Agents | 52.8% | 54.6% | Grok 4.7 |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 4.7 measured |
| Neither model has a result on the other 25 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index75
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 86.4% | Not measured | Only GLM 5.3 Flash measured |
| LiveBench reasoning | 77.6% | 82.7% | Grok 4.7 |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| MMMU Pro (Vals AI) | 86.0% | Not measured | Only GLM 5.3 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 91.2% | Not measured | Only GLM 5.3 Flash measured |
| Humanity's Last Exam (Artificial Analysis run) | 39.9% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 90.2% | 92.7% | Grok 4.7 |
| ARC-AGI | 91.0% | 90.2% | GLM 5.3 Flash |
| ARC-AGI-2 | 65.8% | 61.4% | GLM 5.3 Flash |
| Chess puzzles | 21.0% | 41.0% | Grok 4.7 |
| Mystery game puzzles | 8.0% | 29.0% | Grok 4.7 |
| LMArena Text: hard prompts | 1490 | 1415 | GLM 5.3 Flash |
| LMArena Text: expert | 1511 | 1439 | GLM 5.3 Flash |
| LMArena Text: hard prompts in English | 1488 | 1427 | GLM 5.3 Flash |
| LMArena Vision: diagrams | 1317 | 1254 | GLM 5.3 Flash |
| LMArena Vision: homework | 1318 | 1309 | GLM 5.3 Flash |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 93.9% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 55.8% | 53.0% | GLM 5.3 Flash |
| FrontierMath, tier 4 | 17.1% | 17.1% | Tie |
| ProofBench | 21.0% | 26.0% | Grok 4.7 |
| LMArena Text: math | 1503 | 1414 | GLM 5.3 Flash |
| LMArena Text: mathematical work | 1497 | 1435 | GLM 5.3 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 86.1% | Not measured | Only GLM 5.3 Flash measured |
| LegalBench (Vals AI) | 83.9% | 84.4% | Grok 4.7 |
| TaxEval (Vals AI) | 75.6% | Not measured | Only GLM 5.3 Flash measured |
| MedCode (Vals AI) | Not measured | 49.5% | Only Grok 4.7 measured |
| SimpleQA Verified | Not measured | 56.0% | Only Grok 4.7 measured |
| LMArena Text: science | 1484 | 1419 | GLM 5.3 Flash |
| LMArena Text: medicine and healthcare | 1475 | 1395 | GLM 5.3 Flash |
| LMArena Text: legal and government | 1473 | 1423 | GLM 5.3 Flash |
| LMArena Text: business and finance | 1460 | 1389 | GLM 5.3 Flash |
| Neither model has a result on the other 9 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index52
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1272 | 1255 | GLM 5.3 Flash |
| Design Arena: UI components | 1316 | 1275 | GLM 5.3 Flash |
| Design Arena: game dev | 1278 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1262 | 1238 | GLM 5.3 Flash |
| Design Arena: 3D | 1316 | 1274 | GLM 5.3 Flash |
| Design Arena: all code categories | 1282 | 1273 | GLM 5.3 Flash |
| Design Arena: SVG | 1285 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: ASCII art | 1267 | Not measured | Only GLM 5.3 Flash measured |
| LiveBench design | 77.2% | 78.0% | Grok 4.7 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index223
| Benchmark | GLM 5.3 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | 50.9% | 58.6% | Grok 4.7 |
| LiveBench data analysis | 76.4% | 76.9% | Grok 4.7 |
| Public Benefits Bench (Vals AI) | Not measured | 65.6% | Only Grok 4.7 measured |
| SAGE (Vals AI) | Not measured | 40.8% | Only Grok 4.7 measured |
| MedScribe (Vals AI) | 88.9% | 89.4% | Grok 4.7 |
| Long context reasoning (AA-LCR) | 80.0% | 80.0% | Tie |
| DTBench | Not measured | 96.0% | Only Grok 4.7 measured |
| LMCA | Not measured | 49.4% | Only Grok 4.7 measured |
| Surface Evolver Bench | 52.5% | Not measured | Only GLM 5.3 Flash measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1471 | 1399 | GLM 5.3 Flash |
| LMArena Text: instruction following | 1478 | 1406 | GLM 5.3 Flash |
| LMArena Text: creative writing | 1441 | 1381 | GLM 5.3 Flash |
| LMArena Vision | 1294 | 1231 | GLM 5.3 Flash |
| LMArena Text: English | 1474 | 1411 | GLM 5.3 Flash |
| LMArena Text: non-English | 1462 | 1386 | GLM 5.3 Flash |
| LMArena Text: Chinese | 1531 | 1449 | GLM 5.3 Flash |
| LMArena Text: German | 1462 | 1366 | GLM 5.3 Flash |
| LMArena Text: Japanese | 1444 | 1359 | GLM 5.3 Flash |
| LMArena Text: Korean | 1436 | 1383 | GLM 5.3 Flash |
| LMArena Text: French | 1491 | 1431 | GLM 5.3 Flash |
| LMArena Text: Spanish | 1475 | 1406 | GLM 5.3 Flash |
| LMArena Text: Russian | 1465 | 1399 | GLM 5.3 Flash |
| LMArena Text: Polish | 1450 | 1420 | GLM 5.3 Flash |
| LMArena Text: multi-turn | 1469 | 1394 | GLM 5.3 Flash |
| LMArena Text: longer queries | 1481 | 1416 | GLM 5.3 Flash |
| LMArena Text: writing and language | 1455 | 1394 | GLM 5.3 Flash |
| LMArena Text: entertainment and media | 1440 | 1376 | GLM 5.3 Flash |
| LMArena Vision: English | 1295 | 1229 | GLM 5.3 Flash |
| LMArena Vision: Chinese | 1363 | 1250 | GLM 5.3 Flash |
| LMArena Vision: reading text | 1299 | 1241 | GLM 5.3 Flash |
| LMArena Vision: humor | 1279 | Not measured | Only GLM 5.3 Flash measured |
| LMArena Vision: creative writing | 1270 | 1217 | GLM 5.3 Flash |
| 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 | GLM 5.3 Flash | Grok 4.7 | 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.3 Flash costs less
Repository review
50K input + 3K output tokens
GLM 5.3 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 5.3 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 5.3 Flash | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | Z.ai | xAI |
| Weights | Open weights | No public weights listed |
| Released | August 26, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.15 | $2.00 |
| Output $/Mtok | $0.50 | $6.00 |
| Coding index | 57.7 | 66.7 |
| Independent measurements behind it | 6 | 5 |
| Cost per solved task | $0.02 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.3 Flash better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 57.7 for GLM 5.3 Flash, though on 5 benchmarks against 6. Pick GLM 5.3 Flash for output tokens 12.0x cheaper ($0.50 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
Which is cheaper, GLM 5.3 Flash or Grok 4.7?
GLM 5.3 Flash costs $0.15 per million input tokens and $0.50 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for GLM 5.3 Flash only.
Which has the bigger context window, GLM 5.3 Flash or Grok 4.7?
GLM 5.3 Flash, with 1.05M tokens against 500K.
How many benchmarks is the GLM 5.3 Flash vs Grok 4.7 comparison based on?
86 benchmarks have a result for both models as of October 22, 2026. GLM 5.3 Flash's coding index rests on 6 independent benchmarks and Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.