Enter opens the highlighted result. Esc closes.

GLM 5 vs Llama 4 Scout

GLM 5 leads Llama 4 Scout on the Artificial Analysis Intelligence Index, 27.9 to 6.5, and Llama 4 Scout costs 6.4x less per output token ($0.50 vs $3.20 per million). Updated October 22, 2026; 55 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
55
Llama 4 ScoutMeta Llama
Coding
No data
Overall
24.9
Output $/M
$0.50
0
vs boards won of 55 shared

GLM 5 or Llama 4 Scout: which to pick

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Llama 4 Scout has none, so the two cannot be ranked on coding.

Pick Llama 4 Scout for output tokens 6.4x cheaper ($0.50 vs $3.20 per million) and a larger context window (1.31M against 205K tokens).

Shared results
55
GLM 5 only
21
Llama 4 Scout only
27
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.

At a glance

Coding index
GLM 5 41.7 from 3 benchmarks, Llama 4 Scout not benchmarked.
Widest category
Agentic work, 82.7 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 5 98.2% against Llama 4 Scout 15.5%, 82.7 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against Llama 4 Scout $0.50 per million output tokens, 6.4x apart.
Context window
GLM 5 takes 205K 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.

Boards won, where both have a result
CategoryGLM 5BarsLlama 4 ScoutTies
Coding50
Intelligence20
Agentic work10
Reasoning100
Math40
Knowledge90
Web design50
General190
All shared boards550
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
SWE-bench Verified72.8%9.1%GLM 5
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev1435Not measuredOnly GLM 5 measured
AA Coding IndexNot measured8.2Only Llama 4 Scout measured
LiveCodeBench (Vals AI)81.9%38.5%GLM 5
SWE-bench Verified (Vals AI)71.4%Not measuredOnly GLM 5 measured
Vibe Code Bench (Vals AI)23.4%Not measuredOnly GLM 5 measured
LiveCodeBench (Artificial Analysis run)Not measured29.9%Only Llama 4 Scout measured
SciCodeNot measured21.3%Only Llama 4 Scout measured
Terminal-Bench Hard (Artificial Analysis run)43.2%1.5%GLM 5
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
WeirdML48.2%Not measuredOnly GLM 5 measured
ALE-Bench765.6Not measuredOnly GLM 5 measured
LMArena Text: coding14611286GLM 5
LMArena Text: software and IT14601286GLM 5
LMArena WebDev: React1424Not measuredOnly GLM 5 measured
LMArena WebDev: HTML1450Not measuredOnly GLM 5 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
AA Intelligence Index27.96.5GLM 5
Epoch Capabilities Index145.8129.6GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
AA Agentic IndexNot measured0.5Only Llama 4 Scout measured
Design Arena: agents building full-stack apps1123Not measuredOnly GLM 5 measured
Design Arena: agents building mobile apps1136Not measuredOnly GLM 5 measured
Design Arena: agents building Android apps1147Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1098Not measuredOnly GLM 5 measured
τ²-Bench Telecom98.2%15.5%GLM 5
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured28.1%Only Llama 4 Scout measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
Reasoning benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
GPQA Diamond83.3%47.0%GLM 5
MMMU Pro (Vals AI)Not measured58.8%Only Llama 4 Scout measured
GPQA Diamond (Artificial Analysis run)82.0%58.7%GLM 5
Humanity's Last Exam (Artificial Analysis run)29.3%3.8%GLM 5
GPQA Diamond (Epoch AI run)87.8%51.8%GLM 5
ARC-AGI44.7%0.5%GLM 5
ARC-AGI-24.9%0.0%GLM 5
SimpleBench53.2%Not measuredOnly GLM 5 measured
LMArena Text: hard prompts14521266GLM 5
LMArena Text: expert14541235GLM 5
LMArena Text: hard prompts in English14601293GLM 5
LMArena Vision: diagramsNot measured1125Only Llama 4 Scout measured
LMArena Vision: homeworkNot measured1148Only Llama 4 Scout measured
Kagi LLM Benchmark75.0%36.9%GLM 5
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
AIME91.7%19.0%GLM 5
MATH 500 (Vals AI)Not measured79.2%Only Llama 4 Scout measured
MGSM (Vals AI)Not measured88.0%Only Llama 4 Scout measured
AA Math IndexNot measured14.0Only Llama 4 Scout measured
AIME 2025 (Artificial Analysis run)Not measured14.0%Only Llama 4 Scout measured
OTIS Mock AIME80.0%7.8%GLM 5
MATH level 5Not measured62.3%Only Llama 4 Scout measured
LMArena Text: math14401287GLM 5
LMArena Text: mathematical work14511286GLM 5
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
Knowledge benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
MMLU Pro86.0%69.6%GLM 5
LegalBench (Vals AI)84.1%72.0%GLM 5
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%46.8%GLM 5
TaxEval (Vals AI)70.0%55.2%GLM 5
MortgageTax (Vals AI)Not measured57.8%Only Llama 4 Scout measured
MedQA (Vals AI)94.3%50.9%GLM 5
MedCode (Vals AI)Not measured23.3%Only Llama 4 Scout measured
MMLU Pro (Artificial Analysis run)Not measured75.2%Only Llama 4 Scout measured
LMArena Text: science14601278GLM 5
LMArena Text: medicine and healthcare14551275GLM 5
LMArena Text: legal and government14531285GLM 5
LMArena Text: business and finance14301257GLM 5
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index50
Web design benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
Design Arena: websites1247750GLM 5
Design Arena: UI components1227765GLM 5
Design Arena: game dev1234772GLM 5
Design Arena: data viz1228896GLM 5
Design Arena: 3D1228Not measuredOnly GLM 5 measured
Design Arena: all code categories1246789GLM 5
Design Arena: SVG1168Not measuredOnly GLM 5 measured
Design Arena: ASCII art1147Not measuredOnly GLM 5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
SAGE (Vals AI)Not measured34.8%Only Llama 4 Scout measured
MedScribe (Vals AI)Not measured50.6%Only Llama 4 Scout measured
IFBench72.3%39.5%GLM 5
Long context reasoning (AA-LCR)75.7%27.7%GLM 5
DTBenchNot measured57.9%Only Llama 4 Scout measured
LMCANot measured12.0%Only Llama 4 Scout measured
Fiction.LiveBenchNot measured36.0%Only Llama 4 Scout measured
CL-bench18.7%Not measuredOnly GLM 5 measured
LMArena Text14461279GLM 5
LMArena Text: instruction following14281248GLM 5
LMArena Text: creative writing14381249GLM 5
LMArena VisionNot measured1118Only Llama 4 Scout measured
LMArena Text: English14581304GLM 5
LMArena Text: non-English14301252GLM 5
LMArena Text: Chinese15111255GLM 5
LMArena Text: German14471273GLM 5
LMArena Text: Japanese14161206GLM 5
LMArena Text: Korean14231207GLM 5
LMArena Text: French14561283GLM 5
LMArena Text: Spanish14541278GLM 5
LMArena Text: Russian14361263GLM 5
LMArena Text: Polish14341265GLM 5
LMArena Text: multi-turn14561280GLM 5
LMArena Text: longer queries14461265GLM 5
LMArena Text: writing and language14371269GLM 5
LMArena Text: entertainment and media14261242GLM 5
LMArena Vision: EnglishNot measured1143Only Llama 4 Scout measured
LMArena Vision: ChineseNot measured1106Only Llama 4 Scout measured
LMArena Vision: reading textNot measured1117Only Llama 4 Scout measured
LMArena Vision: humorNot measured1102Only Llama 4 Scout measured
LMArena Vision: creative writingNot measured1126Only Llama 4 Scout 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
Image generation benchmarks for GLM 5 and Llama 4 Scout
BenchmarkGLM 5Llama 4 ScoutLeader
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$0.0026Fits in one request
Llama 4 Scout$0.0004Fits in one request

Llama 4 Scout costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
Llama 4 Scout$0.010Fits in one request

Llama 4 Scout costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
Llama 4 Scout$0.040Fits in one request

Llama 4 Scout 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.

Specifications of GLM 5 and Llama 4 Scout
SpecificationZ.ai GLM 5Meta Llama 4 Scout
MakerZ.aiMeta Llama
WeightsOpen weightsOpen weights
ReleasedFebruary 11, 2026April 5, 2025
Context window205K1.31M
Input $/Mtok$1.00$0.175
Output $/Mtok$3.20$0.50
Coding index41.7Not benchmarked
Independent measurements behind it30
Cost per solved task$0.63$1.276
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than Llama 4 Scout for coding?

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; Llama 4 Scout has none, so the two cannot be ranked on coding. Pick Llama 4 Scout for output tokens 6.4x cheaper ($0.50 vs $3.20 per million) and a larger context window (1.31M against 205K tokens).

Which is cheaper, GLM 5 or Llama 4 Scout?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; Llama 4 Scout costs $0.175 and $0.50. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and Llama 4 Scout $1.276.

Which has the bigger context window, GLM 5 or Llama 4 Scout?

Llama 4 Scout, with 1.31M tokens against 205K.

How many benchmarks is the GLM 5 vs Llama 4 Scout comparison based on?

55 benchmarks have a result for both models as of October 22, 2026. GLM 5's coding index rests on 3 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.

Compare next