GLM 4.7 Flash vs Llama 4 Scout
GLM 4.7 Flash leads Llama 4 Scout on the Artificial Analysis Intelligence Index, 14.9 to 6.5, and GLM 4.7 Flash costs 1.3x less per output token ($0.40 vs $0.50 per million). Updated October 22, 2026; 41 benchmarks have a result for both.
GLM 4.7 Flash or Llama 4 Scout: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick GLM 4.7 Flash for output tokens 1.3x cheaper ($0.40 vs $0.50 per million) and work measured by GPQA Diamond (Artificial Analysis run), where it leads.
- Shared results
- 41
- GLM 4.7 Flash only
- 2
- Llama 4 Scout only
- 41
- 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
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
GLM 4.7 Flash
GLM 4.7 Flash leads, 14.9 against 6.5.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Llama 4 Scout has a AA Agentic Index result, 0.5.
Directional only
Reasoning
GPQA Diamond
No call
Only Llama 4 Scout has a GPQA Diamond result, 47.0%.
Directional only
Math
AIME
No call
Only Llama 4 Scout has a AIME result, 19.0%.
Directional only
Knowledge
MMLU Pro
No call
Only Llama 4 Scout has a MMLU Pro result, 69.6%.
Directional only
Web design
Design Arena: websites
GLM 4.7 Flash
GLM 4.7 Flash leads, 1194 against 750.
Same board, both measured
Long documents
Listed context window
Llama 4 Scout
Llama 4 Scout takes 1.31M tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7 Flash
GLM 4.7 Flash $0.0003, Llama 4 Scout $0.0004 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Llama 4 Scout has the number, $1.276.
Directional only
At a glance
- Coding index
- GLM 4.7 Flash not benchmarked, Llama 4 Scout not benchmarked.
- Widest category
- Agentic work, 83.3 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: GLM 4.7 Flash 98.8% against Llama 4 Scout 15.5%, 83.3 points apart on a 0 to 100 scale.
- Output price
- GLM 4.7 Flash $0.40 against Llama 4 Scout $0.50 per million output tokens, 1.3x apart.
- Context window
- GLM 4.7 Flash takes 200K tokens, Llama 4 Scout 1.31M.
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 | Llama 4 Scout | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 5 | 1 | ||
| Math | 3 | 0 | ||
| Knowledge | 4 | 0 | ||
| Web design | 5 | 0 | ||
| General | 18 | 0 | ||
| All shared boards | 40 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 9.1% | Only Llama 4 Scout measured |
| AA Coding Index | Not measured | 8.2 | Only Llama 4 Scout measured |
| LiveCodeBench (Vals AI) | Not measured | 38.5% | Only Llama 4 Scout measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 29.9% | Only Llama 4 Scout measured |
| SciCode | Not measured | 21.3% | Only Llama 4 Scout measured |
| Terminal-Bench Hard (Artificial Analysis run) | 22.0% | 1.5% | GLM 4.7 Flash |
| LMArena Text: coding | 1382 | 1286 | GLM 4.7 Flash |
| LMArena Text: software and IT | 1389 | 1286 | GLM 4.7 Flash |
| Neither model has a result on the other 31 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Intelligence Index | 14.9 | 6.5 | GLM 4.7 Flash |
| Epoch Capabilities Index | Not measured | 129.6 | Only Llama 4 Scout measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.5 | Only Llama 4 Scout measured |
| τ²-Bench Telecom | 98.8% | 15.5% | GLM 4.7 Flash |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 28.1% | Only Llama 4 Scout measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 47.0% | Only Llama 4 Scout measured |
| MMMU Pro (Vals AI) | Not measured | 58.8% | Only Llama 4 Scout measured |
| GPQA Diamond (Artificial Analysis run) | 58.1% | 58.7% | Llama 4 Scout |
| Humanity's Last Exam (Artificial Analysis run) | 7.6% | 3.8% | GLM 4.7 Flash |
| GPQA Diamond (Epoch AI run) | 60.5% | 51.8% | GLM 4.7 Flash |
| ARC-AGI | Not measured | 0.5% | Only Llama 4 Scout measured |
| ARC-AGI-2 | Not measured | 0.0% | Only Llama 4 Scout measured |
| LMArena Text: hard prompts | 1356 | 1266 | GLM 4.7 Flash |
| LMArena Text: expert | 1357 | 1235 | GLM 4.7 Flash |
| LMArena Text: hard prompts in English | 1369 | 1293 | GLM 4.7 Flash |
| LMArena Vision: diagrams | Not measured | 1125 | Only Llama 4 Scout measured |
| LMArena Vision: homework | Not measured | 1148 | Only Llama 4 Scout measured |
| Kagi LLM Benchmark | Not measured | 36.9% | Only Llama 4 Scout measured |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| AIME | Not measured | 19.0% | Only Llama 4 Scout measured |
| MATH 500 (Vals AI) | Not measured | 79.2% | Only Llama 4 Scout measured |
| MGSM (Vals AI) | Not measured | 88.0% | Only Llama 4 Scout measured |
| AA Math Index | Not measured | 14.0 | Only Llama 4 Scout measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 14.0% | Only Llama 4 Scout measured |
| OTIS Mock AIME | 58.3% | 7.8% | GLM 4.7 Flash |
| MATH level 5 | Not measured | 62.3% | Only Llama 4 Scout measured |
| LMArena Text: math | 1355 | 1287 | GLM 4.7 Flash |
| LMArena Text: mathematical work | 1369 | 1286 | GLM 4.7 Flash |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 69.6% | Only Llama 4 Scout measured |
| LegalBench (Vals AI) | Not measured | 72.0% | Only Llama 4 Scout measured |
| CorpFin (Vals AI) | Not measured | 46.8% | Only Llama 4 Scout measured |
| TaxEval (Vals AI) | Not measured | 55.2% | Only Llama 4 Scout measured |
| MortgageTax (Vals AI) | Not measured | 57.8% | Only Llama 4 Scout measured |
| MedQA (Vals AI) | Not measured | 50.9% | Only Llama 4 Scout measured |
| MedCode (Vals AI) | Not measured | 23.3% | Only Llama 4 Scout measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 75.2% | Only Llama 4 Scout measured |
| LMArena Text: science | 1358 | 1278 | GLM 4.7 Flash |
| LMArena Text: medicine and healthcare | 1343 | 1275 | GLM 4.7 Flash |
| LMArena Text: legal and government | 1357 | 1285 | GLM 4.7 Flash |
| LMArena Text: business and finance | 1343 | 1257 | GLM 4.7 Flash |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| Design Arena: websites | 1194 | 750 | GLM 4.7 Flash |
| Design Arena: UI components | 1205 | 765 | GLM 4.7 Flash |
| Design Arena: game dev | 1134 | 772 | GLM 4.7 Flash |
| Design Arena: data viz | 1123 | 896 | GLM 4.7 Flash |
| Design Arena: 3D | 1120 | Not measured | Only GLM 4.7 Flash measured |
| Design Arena: all code categories | 1177 | 789 | GLM 4.7 Flash |
| Design Arena: SVG | 1037 | Not measured | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 34.8% | Only Llama 4 Scout measured |
| MedScribe (Vals AI) | Not measured | 50.6% | Only Llama 4 Scout measured |
| IFBench | 60.8% | 39.5% | GLM 4.7 Flash |
| Long context reasoning (AA-LCR) | 41.7% | 27.7% | GLM 4.7 Flash |
| DTBench | Not measured | 57.9% | Only Llama 4 Scout measured |
| LMCA | Not measured | 12.0% | Only Llama 4 Scout measured |
| Fiction.LiveBench | Not measured | 36.0% | Only Llama 4 Scout measured |
| LMArena Text | 1351 | 1279 | GLM 4.7 Flash |
| LMArena Text: instruction following | 1327 | 1248 | GLM 4.7 Flash |
| LMArena Text: creative writing | 1296 | 1249 | GLM 4.7 Flash |
| LMArena Vision | Not measured | 1118 | Only Llama 4 Scout measured |
| LMArena Text: English | 1373 | 1304 | GLM 4.7 Flash |
| LMArena Text: non-English | 1330 | 1252 | GLM 4.7 Flash |
| LMArena Text: Chinese | 1403 | 1255 | GLM 4.7 Flash |
| LMArena Text: German | 1336 | 1273 | GLM 4.7 Flash |
| LMArena Text: Japanese | Not measured | 1206 | Only Llama 4 Scout measured |
| LMArena Text: Korean | 1283 | 1207 | GLM 4.7 Flash |
| LMArena Text: French | 1332 | 1283 | GLM 4.7 Flash |
| LMArena Text: Spanish | 1350 | 1278 | GLM 4.7 Flash |
| LMArena Text: Russian | 1333 | 1263 | GLM 4.7 Flash |
| LMArena Text: Polish | 1291 | 1265 | GLM 4.7 Flash |
| LMArena Text: multi-turn | 1342 | 1280 | GLM 4.7 Flash |
| LMArena Text: longer queries | 1345 | 1265 | GLM 4.7 Flash |
| LMArena Text: writing and language | 1320 | 1269 | GLM 4.7 Flash |
| LMArena Text: entertainment and media | 1304 | 1242 | GLM 4.7 Flash |
| LMArena Vision: English | Not measured | 1143 | Only Llama 4 Scout measured |
| LMArena Vision: Chinese | Not measured | 1106 | Only Llama 4 Scout measured |
| LMArena Vision: reading text | Not measured | 1117 | Only Llama 4 Scout measured |
| LMArena Vision: humor | Not measured | 1102 | Only Llama 4 Scout measured |
| LMArena Vision: creative writing | Not measured | 1126 | Only Llama 4 Scout measured |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 4.7 Flash | Llama 4 Scout | 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 | Meta Llama 4 Scout |
|---|---|---|
| Maker | Z.ai | Meta Llama |
| Weights | Open weights | Open weights |
| Released | January 19, 2026 | April 5, 2025 |
| Context window | 200K | 1.31M |
| Input $/Mtok | $0.0653 | $0.175 |
| Output $/Mtok | $0.40 | $0.50 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | $1.276 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 4.7 Flash better than Llama 4 Scout for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GLM 4.7 Flash for output tokens 1.3x cheaper ($0.40 vs $0.50 per million) and work measured by GPQA Diamond (Artificial Analysis run), where it leads.
Which is cheaper, GLM 4.7 Flash or Llama 4 Scout?
GLM 4.7 Flash costs $0.0653 per million input tokens and $0.40 per million output tokens; Llama 4 Scout costs $0.175 and $0.50. Cost per solved task is known for Llama 4 Scout only.
Which has the bigger context window, GLM 4.7 Flash or Llama 4 Scout?
Llama 4 Scout, with 1.31M tokens against 200K.
How many benchmarks is the GLM 4.7 Flash vs Llama 4 Scout comparison based on?
41 benchmarks have a result for both models as of October 22, 2026. GLM 4.7 Flash's coding index rests on 0 independent benchmarks and Llama 4 Scout's on 0. Where only one model has a result, the page says so instead of naming a winner.