Enter opens the highlighted result. Esc closes.

GLM 4.5 vs Llama 4 Maverick

Updated October 21, 2026. 59 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GLM 4.5Z.ai
Coding
64.2
Overall
12.8
Output $/M
$2.20
57
Llama 4 MaverickMeta Llama
Coding
18.1
Overall
9.3
Output $/M
$0.6525
2
vs boards won of 59 shared

Decision reading

Pick GLM 4.5 for coding: it scores 64.2 on the Vibe Coding Index against 18.1 for Llama 4 Maverick, though on 1 benchmark against 2.

Pick Llama 4 Maverick when output tokens cost 3.4x less, or when the context window is larger, 524K against 131K tokens.

Shared results
59
GLM 4.5 only
1
Llama 4 Maverick only
25
Like-for-like categories
8 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.

At a glance

Coding index
GLM 4.5 64.2 from 1 benchmark, Llama 4 Maverick 18.1 from 2 benchmarks.
Widest category
Web design, 35.0 points apart on average over 6 shared benchmarks.
Widest single gap
AIME: GLM 4.5 86.7% against Llama 4 Maverick 25.2%, 61.5 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against Llama 4 Maverick $0.6525 per million output tokens, 3.4x apart.
Context window
GLM 4.5 takes 131K 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 4.5BarsLlama 4 MaverickTies
Coding80
Intelligence10
Agentic work10
Reasoning60
Math61
Knowledge91
Web design60
General200
All shared boards572
CodingLike-for-likeFour of these boards feed the Vibe Coding Index80
Coding benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
Aider polyglotNot measured15.6%Only Llama 4 Maverick measured
SWE-bench Verified64.2%21.0%GLM 4.5
AA Coding IndexNot measured16.3Only Llama 4 Maverick measured
LiveCodeBench (Vals AI)67.5%47.3%GLM 4.5
LiveCodeBench (Artificial Analysis run)73.8%39.7%GLM 4.5
SciCodeNot measured31.7%Only Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)22.0%6.8%GLM 4.5
WeirdML40.6%24.5%GLM 4.5
ALE-Bench344.8173.0GLM 4.5
LMArena Text: coding14341301GLM 4.5
LMArena Text: software and IT14401299GLM 4.5
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
AA Intelligence Index12.89.3GLM 4.5
Epoch Capabilities IndexNot measured132.2Only Llama 4 Maverick measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
AA Agentic IndexNot measured0.6Only Llama 4 Maverick measured
τ²-Bench Telecom43.0%17.8%GLM 4.5
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
GPQA Diamond72.2%69.4%GLM 4.5
MMMU Pro (Vals AI)Not measured71.7%Only Llama 4 Maverick measured
GPQA Diamond (Artificial Analysis run)78.2%67.1%GLM 4.5
Humanity's Last Exam (Artificial Analysis run)13.0%4.9%GLM 4.5
ARC-AGINot measured4.4%Only Llama 4 Maverick measured
ARC-AGI-2Not measured0.0%Only Llama 4 Maverick measured
SimpleBenchNot measured27.7%Only Llama 4 Maverick measured
LMArena Text: hard prompts14291281GLM 4.5
LMArena Text: expert14331259GLM 4.5
LMArena Text: hard prompts in English14291295GLM 4.5
LMArena Vision: diagramsNot measured1134Only Llama 4 Maverick measured
LMArena Vision: homeworkNot measured1164Only Llama 4 Maverick measured
Neither model has a result on the other 9 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index61
Math benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
AIME86.7%25.2%GLM 4.5
MATH 500 (Vals AI)94.0%85.2%GLM 4.5
MGSM (Vals AI)90.8%92.4%Llama 4 Maverick
AA Math Index73.719.3GLM 4.5
AIME 2025 (Artificial Analysis run)73.7%19.3%GLM 4.5
LMArena Text: math14271299GLM 4.5
LMArena Text: mathematical work14301295GLM 4.5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index91
Knowledge benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
MMLU Pro81.2%79.4%GLM 4.5
LegalBench (Vals AI)75.6%77.8%Llama 4 Maverick
CorpFin (Vals AI)61.0%49.7%GLM 4.5
TaxEval (Vals AI)72.4%66.6%GLM 4.5
MortgageTax (Vals AI)Not measured58.5%Only Llama 4 Maverick measured
MedQA (Vals AI)90.0%43.3%GLM 4.5
MedCode (Vals AI)Not measured36.5%Only Llama 4 Maverick measured
MMLU Pro (Artificial Analysis run)83.5%80.9%GLM 4.5
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: science14441288GLM 4.5
LMArena Text: medicine and healthcare14551275GLM 4.5
LMArena Text: legal and government14381286GLM 4.5
LMArena Text: business and finance14201260GLM 4.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 4.5 and Llama 4 Maverick
BenchmarkGLM 4.5Llama 4 MaverickLeader
Design Arena: websites1170871GLM 4.5
Design Arena: UI components1144899GLM 4.5
Design Arena: game dev1145838GLM 4.5
Design Arena: data viz1159882GLM 4.5
Design Arena: 3D1170901GLM 4.5
Design Arena: all code categories1165880GLM 4.5
Design Arena: SVG1096Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
General benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.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
IFBench44.1%43.0%GLM 4.5
Long context reasoning (AA-LCR)52.7%50.0%GLM 4.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)73.4%62.0%GLM 4.5
LMArena Text14301287GLM 4.5
LMArena Text: instruction following14041267GLM 4.5
LMArena Text: creative writing13951266GLM 4.5
LMArena VisionNot measured1142Only Llama 4 Maverick measured
LMArena Text: English14371303GLM 4.5
LMArena Text: non-English14171269GLM 4.5
LMArena Text: Chinese14651277GLM 4.5
LMArena Text: German14071291GLM 4.5
LMArena Text: Japanese14151206GLM 4.5
LMArena Text: Korean13801203GLM 4.5
LMArena Text: French14181259GLM 4.5
LMArena Text: Spanish14541293GLM 4.5
LMArena Text: Russian14131286GLM 4.5
LMArena Text: Polish14221275GLM 4.5
LMArena Text: multi-turn14151289GLM 4.5
LMArena Text: longer queries14121280GLM 4.5
LMArena Text: writing and language14031277GLM 4.5
LMArena Text: entertainment and media14041250GLM 4.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 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.5 and Llama 4 Maverick
BenchmarkGLM 4.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 4.5$0.0017Fits in one request
Llama 4 Maverick$0.0005Fits in one request

Llama 4 Maverick costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
Llama 4 Maverick$0.011Fits in one request

Llama 4 Maverick costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
Llama 4 Maverick$0.044Fits 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 4.5 and Llama 4 Maverick
SpecificationZ.ai GLM 4.5Meta Llama 4 Maverick
MakerZ.aiMeta Llama
WeightsOpen weightsOpen weights
ReleasedJuly 25, 2025April 5, 2025
Context window131K524K
Input $/Mtok$0.60$0.1875
Output $/Mtok$2.20$0.6525
Coding index64.218.1
Independent measurements behind it12
Cost per solved taskNot computable$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than Llama 4 Maverick for coding?

Pick GLM 4.5 for coding: it scores 64.2 on the Vibe Coding Index against 18.1 for Llama 4 Maverick, though on 1 benchmark against 2. Pick Llama 4 Maverick when output tokens cost 3.4x less, or when the context window is larger, 524K against 131K tokens.

Which is cheaper, GLM 4.5 or Llama 4 Maverick?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; Llama 4 Maverick costs $0.1875 and $0.6525. Cost per solved task is known for Llama 4 Maverick only.

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

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

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

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

Compare next