Enter opens the highlighted result. Esc closes.

GLM 5.1 vs Llama 4 Maverick

GLM 5.1 leads Llama 4 Maverick on the Artificial Analysis Intelligence Index, 26.1 to 9.3, and Llama 4 Maverick costs 4.4x less per output token ($1.00 vs $4.40 per million). Updated October 22, 2026; 57 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
57
Llama 4 MaverickMeta Llama
Coding
No data
Overall
21.8
Output $/M
$1.00
0
vs boards won of 57 shared

GLM 5.1 or Llama 4 Maverick: which to pick

Only GLM 5.1 has a coding score, 49.2 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 4.4x cheaper ($1.00 vs $4.40 per million) and a larger context window (524K against 205K tokens).

Shared results
57
GLM 5.1 only
32
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.1 49.2 from 3 benchmarks, Llama 4 Maverick not benchmarked.
Widest category
Web design, 53.2 points apart on average over 6 shared benchmarks.
Widest single gap
τ²-Bench Telecom: GLM 5.1 97.7% against Llama 4 Maverick 17.8%, 79.8 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against Llama 4 Maverick $1.00 per million output tokens, 4.4x apart.
Context window
GLM 5.1 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 5.1BarsLlama 4 MaverickTies
Coding80
Intelligence20
Agentic work20
Reasoning70
Math30
Knowledge90
Web design60
General200
All shared boards570
CodingLike-for-likeSix of these boards feed the Vibe Coding Index80
Coding benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
Aider polyglotNot measured15.6%Only Llama 4 Maverick measured
SWE-bench VerifiedNot measured21.0%Only Llama 4 Maverick measured
LMArena WebDev1508Not measuredOnly GLM 5.1 measured
AA Coding Index55.816.3GLM 5.1
LiveCodeBench (Vals AI)81.4%47.3%GLM 5.1
SWE-bench Verified (Vals AI)76.4%Not measuredOnly GLM 5.1 measured
Vibe Code Bench (Vals AI)31.5%Not measuredOnly GLM 5.1 measured
Code migration (Vals AI)25.8%Not measuredOnly GLM 5.1 measured
ProgramBench (Vals AI)0.0%Not measuredOnly GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)56.9%Not measuredOnly GLM 5.1 measured
LiveCodeBench (Artificial Analysis run)Not measured39.7%Only Llama 4 Maverick measured
SciCode44.8%31.7%GLM 5.1
Terminal-Bench Hard (Artificial Analysis run)43.2%6.8%GLM 5.1
WeirdML57.1%24.5%GLM 5.1
ALE-Bench887.1173.0GLM 5.1
LMArena Text: coding14851301GLM 5.1
LMArena Text: software and IT14841299GLM 5.1
LMArena WebDev: React1505Not measuredOnly GLM 5.1 measured
LMArena WebDev: HTML1508Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
AA Intelligence Index26.19.3GLM 5.1
Epoch Capabilities Index149.8132.2GLM 5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
AA Agentic Index23.90.6GLM 5.1
Design Arena: agents building web apps1175Not measuredOnly GLM 5.1 measured
Design Arena: agents building full-stack apps1167Not measuredOnly GLM 5.1 measured
Design Arena: agents building mobile apps1162Not measuredOnly GLM 5.1 measured
Design Arena: agents building Android apps1182Not measuredOnly GLM 5.1 measured
Design Arena: agents building Godot games1053Not measuredOnly GLM 5.1 measured
Design Arena: agents building games1164Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1120Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides1163Not measuredOnly GLM 5.1 measured
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 measured
Finance Agent (Vals AI)44.8%Not measuredOnly GLM 5.1 measured
Legal Research Bench (Vals AI)27.9%Not measuredOnly GLM 5.1 measured
τ²-Bench Telecom97.7%17.8%GLM 5.1
APEX-Agents40.9%Not measuredOnly GLM 5.1 measured
Vending-Bench 2$5,634Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
GPQA Diamond84.5%69.4%GLM 5.1
MMMU Pro (Vals AI)Not measured71.7%Only Llama 4 Maverick measured
GPQA Diamond (Artificial Analysis run)86.8%67.1%GLM 5.1
Humanity's Last Exam (Artificial Analysis run)30.1%4.9%GLM 5.1
GPQA Diamond (Epoch AI run)89.9%Not measuredOnly GLM 5.1 measured
ARC-AGINot measured4.4%Only Llama 4 Maverick measured
ARC-AGI-2Not measured0.0%Only Llama 4 Maverick measured
SimpleBench55.1%27.7%GLM 5.1
Chess puzzles20.0%Not measuredOnly GLM 5.1 measured
LMArena Text: hard prompts14731281GLM 5.1
LMArena Text: expert14781259GLM 5.1
LMArena Text: hard prompts in English14821295GLM 5.1
LMArena Vision: diagramsNot measured1134Only Llama 4 Maverick measured
LMArena Vision: homeworkNot measured1164Only Llama 4 Maverick measured
Kagi LLM BenchmarkNot measured55.9%Only Llama 4 Maverick measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
AIME91.9%25.2%GLM 5.1
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 AIME93.3%Not measuredOnly GLM 5.1 measured
FrontierMath, tiers 1 to 336.8%Not measuredOnly GLM 5.1 measured
ProofBench22.2%Not measuredOnly GLM 5.1 measured
LMArena Text: math14731299GLM 5.1
LMArena Text: mathematical work14701295GLM 5.1
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index90
Knowledge benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
MMLU Pro86.9%79.4%GLM 5.1
LegalBench (Vals AI)84.4%77.8%GLM 5.1
CaseLaw (Vals AI)51.5%Not measuredOnly GLM 5.1 measured
CorpFin (Vals AI)64.5%49.7%GLM 5.1
TaxEval (Vals AI)71.2%66.6%GLM 5.1
MortgageTax (Vals AI)Not measured58.5%Only Llama 4 Maverick measured
MedQA (Vals AI)Not measured43.3%Only Llama 4 Maverick measured
MedCode (Vals AI)41.6%36.5%GLM 5.1
MMLU Pro (Artificial Analysis run)Not measured80.9%Only Llama 4 Maverick measured
SimpleQA Verified34.0%Not measuredOnly GLM 5.1 measured
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: science14781288GLM 5.1
LMArena Text: medicine and healthcare14741275GLM 5.1
LMArena Text: legal and government14651286GLM 5.1
LMArena Text: business and finance14521260GLM 5.1
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
Design Arena: websites1290871GLM 5.1
Design Arena: UI components1292896GLM 5.1
Design Arena: game dev1265837GLM 5.1
Design Arena: data viz1366882GLM 5.1
Design Arena: 3D1336900GLM 5.1
Design Arena: all code categories1268879GLM 5.1
Design Arena: SVG1218Not measuredOnly GLM 5.1 measured
Design Arena: ASCII art1141Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
General benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 4 MaverickLeader
Public Benefits Bench (Vals AI)61.8%Not measuredOnly GLM 5.1 measured
SAGE (Vals AI)Not measured35.7%Only Llama 4 Maverick measured
MedScribe (Vals AI)72.3%54.2%GLM 5.1
IFBench76.3%43.0%GLM 5.1
Long context reasoning (AA-LCR)73.7%50.0%GLM 5.1
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
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631287GLM 5.1
LMArena Text: instruction following14531267GLM 5.1
LMArena Text: creative writing14531266GLM 5.1
LMArena VisionNot measured1142Only Llama 4 Maverick measured
LMArena Text: English14761303GLM 5.1
LMArena Text: non-English14481269GLM 5.1
LMArena Text: Chinese15151277GLM 5.1
LMArena Text: German14671291GLM 5.1
LMArena Text: Japanese14351206GLM 5.1
LMArena Text: Korean14241203GLM 5.1
LMArena Text: French14701259GLM 5.1
LMArena Text: Spanish14681293GLM 5.1
LMArena Text: Russian14541286GLM 5.1
LMArena Text: Polish14491275GLM 5.1
LMArena Text: multi-turn14731289GLM 5.1
LMArena Text: longer queries14671280GLM 5.1
LMArena Text: writing and language14541277GLM 5.1
LMArena Text: entertainment and media14421250GLM 5.1
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 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.1 and Llama 4 Maverick
BenchmarkGLM 5.1Llama 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.1$0.0036Fits 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.1$0.083Fits 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.1$0.324Exceeds 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.1 and Llama 4 Maverick
SpecificationZ.ai GLM 5.1Meta Llama 4 Maverick
MakerZ.aiMeta Llama
WeightsOpen weightsOpen weights
ReleasedApril 7, 2026April 5, 2025
Context window205K524K
Input $/Mtok$1.40$0.35
Output $/Mtok$4.40$1.00
Coding index49.2Not benchmarked
Independent measurements behind it30
Cost per solved task$0.60$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 better than Llama 4 Maverick for coding?

Only GLM 5.1 has a coding score, 49.2 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 4.4x cheaper ($1.00 vs $4.40 per million) and a larger context window (524K against 205K tokens).

Which is cheaper, GLM 5.1 or Llama 4 Maverick?

GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and Llama 4 Maverick $1.491.

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

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

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

57 benchmarks have a result for both models as of October 22, 2026. GLM 5.1'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