Enter opens the highlighted result. Esc closes.

GLM 5 vs Llama 4 Maverick

GLM 5 leads Llama 4 Maverick on the Artificial Analysis Intelligence Index, 27.9 to 9.3, and Llama 4 Maverick costs 3.2x less per output token ($1.00 vs $3.20 per million). Updated October 21, 2026; 57 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
57
Llama 4 MaverickMeta Llama
Coding
No data
Overall
21.8
Output $/M
$1.00
0
vs boards won of 57 shared

GLM 5 or Llama 4 Maverick: which to pick

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

Pick Llama 4 Maverick for output tokens 3.2x cheaper ($1.00 vs $3.20 per million) and a larger context window (524K against 205K tokens).

Shared results
57
GLM 5 only
19
Llama 4 Maverick only
28
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 Maverick not benchmarked.
Widest category
Agentic work, 80.4 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 5 98.2% against Llama 4 Maverick 17.8%, 80.4 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against Llama 4 Maverick $1.00 per million output tokens, 3.2x apart.
Context window
GLM 5 takes 205K tokens, Llama 4 Maverick 524K.

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 MaverickTies
Coding70
Intelligence20
Agentic work10
Reasoning100
Math30
Knowledge90
Web design60
General190
All shared boards570
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
Aider polyglotNot measured15.6%Only Llama 4 Maverick measured
SWE-bench Verified72.8%21.0%GLM 5
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev1435Not measuredOnly GLM 5 measured
AA Coding IndexNot measured16.3Only Llama 4 Maverick measured
LiveCodeBench (Vals AI)81.9%47.3%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 measured39.7%Only Llama 4 Maverick measured
SciCodeNot measured31.7%Only Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)43.2%6.8%GLM 5
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
WeirdML48.2%24.5%GLM 5
ALE-Bench765.6173.0GLM 5
LMArena Text: coding14611301GLM 5
LMArena Text: software and IT14601299GLM 5
LMArena WebDev: React1424Not measuredOnly GLM 5 measured
LMArena WebDev: HTML1450Not measuredOnly GLM 5 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
AA Intelligence Index27.99.3GLM 5
Epoch Capabilities Index145.8132.2GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
AA Agentic IndexNot measured0.6Only Llama 4 Maverick 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 apps1146Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1148Not measuredOnly GLM 5 measured
τ²-Bench Telecom98.2%17.8%GLM 5
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
Reasoning benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
GPQA Diamond83.3%69.4%GLM 5
MMMU Pro (Vals AI)Not measured71.7%Only Llama 4 Maverick measured
GPQA Diamond (Artificial Analysis run)82.0%67.1%GLM 5
Humanity's Last Exam (Artificial Analysis run)29.3%4.9%GLM 5
GPQA Diamond (Epoch AI run)87.8%Not measuredOnly GLM 5 measured
ARC-AGI44.7%4.4%GLM 5
ARC-AGI-24.9%0.0%GLM 5
SimpleBench53.2%27.7%GLM 5
LMArena Text: hard prompts14521281GLM 5
LMArena Text: expert14541259GLM 5
LMArena Text: hard prompts in English14601295GLM 5
LMArena Vision: diagramsNot measured1134Only Llama 4 Maverick measured
LMArena Vision: homeworkNot measured1164Only Llama 4 Maverick measured
Kagi LLM Benchmark75.0%55.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 index30
Math benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
AIME91.7%25.2%GLM 5
MATH 500 (Vals AI)Not measured85.2%Only Llama 4 Maverick measured
MGSM (Vals AI)Not measured92.4%Only Llama 4 Maverick measured
AA Math IndexNot measured19.3Only Llama 4 Maverick measured
AIME 2025 (Artificial Analysis run)Not measured19.3%Only Llama 4 Maverick measured
OTIS Mock AIME80.0%Not measuredOnly GLM 5 measured
LMArena Text: math14401299GLM 5
LMArena Text: mathematical work14511295GLM 5
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
Knowledge benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
MMLU Pro86.0%79.4%GLM 5
LegalBench (Vals AI)84.1%77.8%GLM 5
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%49.7%GLM 5
TaxEval (Vals AI)70.0%66.6%GLM 5
MortgageTax (Vals AI)Not measured58.5%Only Llama 4 Maverick measured
MedQA (Vals AI)94.3%43.3%GLM 5
MedCode (Vals AI)Not measured36.5%Only Llama 4 Maverick measured
MMLU Pro (Artificial Analysis run)Not measured80.9%Only Llama 4 Maverick measured
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: science14601288GLM 5
LMArena Text: medicine and healthcare14551275GLM 5
LMArena Text: legal and government14531286GLM 5
LMArena Text: business and finance14301260GLM 5
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for GLM 5 and Llama 4 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
Design Arena: websites1247871GLM 5
Design Arena: UI components1230899GLM 5
Design Arena: game dev1234838GLM 5
Design Arena: data viz1228882GLM 5
Design Arena: 3D1229901GLM 5
Design Arena: all code categories1246880GLM 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 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
SAGE (Vals AI)Not measured35.7%Only Llama 4 Maverick measured
MedScribe (Vals AI)Not measured54.2%Only Llama 4 Maverick measured
IFBench72.3%43.0%GLM 5
Long context reasoning (AA-LCR)75.7%50.0%GLM 5
DTBenchNot measured61.9%Only Llama 4 Maverick measured
LMCANot measured15.9%Only Llama 4 Maverick measured
Fiction.LiveBenchNot measured46.2%Only Llama 4 Maverick measured
Creative writing (Lech Mazur)Not measured62.0%Only Llama 4 Maverick measured
CL-bench18.7%Not measuredOnly GLM 5 measured
LMArena Text14461287GLM 5
LMArena Text: instruction following14281267GLM 5
LMArena Text: creative writing14381266GLM 5
LMArena VisionNot measured1142Only Llama 4 Maverick measured
LMArena Text: English14581303GLM 5
LMArena Text: non-English14301269GLM 5
LMArena Text: Chinese15111277GLM 5
LMArena Text: German14471291GLM 5
LMArena Text: Japanese14161206GLM 5
LMArena Text: Korean14231203GLM 5
LMArena Text: French14561259GLM 5
LMArena Text: Spanish14541293GLM 5
LMArena Text: Russian14361286GLM 5
LMArena Text: Polish14341275GLM 5
LMArena Text: multi-turn14561289GLM 5
LMArena Text: longer queries14461280GLM 5
LMArena Text: writing and language14371277GLM 5
LMArena Text: entertainment and media14261250GLM 5
LMArena Vision: EnglishNot measured1150Only Llama 4 Maverick measured
LMArena Vision: ChineseNot measured1141Only Llama 4 Maverick measured
LMArena Vision: reading textNot measured1143Only Llama 4 Maverick measured
LMArena Vision: humorNot measured1100Only Llama 4 Maverick measured
LMArena Vision: creative writingNot measured1099Only Llama 4 Maverick measured
Neither model has a result on the other 14 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 Maverick
BenchmarkGLM 5Llama 4 MaverickLeader
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 Maverick$0.0008Fits in one request

Llama 4 Maverick costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
Llama 4 Maverick$0.021Fits in one request

Llama 4 Maverick costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
Llama 4 Maverick$0.080Fits in one request

Llama 4 Maverick 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 Maverick
SpecificationZ.ai GLM 5Meta Llama 4 Maverick
MakerZ.aiMeta Llama
WeightsOpen weightsOpen weights
ReleasedFebruary 11, 2026April 5, 2025
Context window205K524K
Input $/Mtok$1.00$0.35
Output $/Mtok$3.20$1.00
Coding index41.7Not benchmarked
Independent measurements behind it30
Cost per solved task$0.63$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than Llama 4 Maverick for coding?

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

Which is cheaper, GLM 5 or Llama 4 Maverick?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and Llama 4 Maverick $1.491.

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

Llama 4 Maverick, with 524K tokens against 205K.

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

57 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 3 independent benchmarks and Llama 4 Maverick's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next