Enter opens the highlighted result. Esc closes.

GLM 5.4 vs Qwen4 Max

Qwen4 Max leads GLM 5.4 on coding, 74.0 to 72.7 on the Vibe Coding Index, at about the same output price ($4.275 vs $4.40 per million). Updated December 3, 2026; 10 benchmarks have a result for both.

GLM 5.4Z.ai
Coding
72.7
Overall
No data
Output $/M
$4.40
2
Qwen4 MaxQwen
Coding
74.0
Overall
74.7
Output $/M
$4.275
8
vs boards won of 10 shared

GLM 5.4 or Qwen4 Max: which to pick

GLM 5.4 and Qwen4 Max are level for coding, 72.7 against 74.0 on the Vibe Coding Index, so price and context decide.

Pick GLM 5.4 for a larger context window (1.05M against 1M tokens) and work measured by LiveBench coding or LiveBench research, where it leads. Pick Qwen4 Max for output tokens 1.0x cheaper ($4.275 vs $4.40 per million) and work measured by LMArena WebDev or LMArena WebDev: React, where it leads.

Shared results
10
GLM 5.4 only
0
Qwen4 Max only
31
Like-for-like categories
5 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.4 72.7 from 2 benchmarks, Qwen4 Max 74.0 from 4 benchmarks.
Widest category
General, 11.2 points apart on average over 1 shared benchmark.
Widest single gap
LiveBench browser: GLM 5.4 64.5% against Qwen4 Max 80.7%, 16.2 points apart on a 0 to 100 scale.
Output price
GLM 5.4 $4.40 against Qwen4 Max $4.275 per million output tokens, 1.0x apart.
Context window
GLM 5.4 takes 1.05M tokens, Qwen4 Max 1M.

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.4BarsQwen4 MaxTies
Coding13
Agentic work12
Reasoning01
Web design01
General01
All shared boards28
CodingLike-for-likeSix of these boards feed the Vibe Coding Index13
Coding benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
LiveBench coding74.5%69.8%GLM 5.4
LMArena WebDev16901750Qwen4 Max
Terminal-Bench 4 (Vals AI)Not measured48.5%Only Qwen4 Max measured
Vibe Code Bench (Vals AI)Not measured86.7%Only Qwen4 Max measured
Terminal-Bench 4.0 (Artificial Analysis run)Not measured48.5%Only Qwen4 Max measured
FrontierCode 2.0Not measured26.5%Only Qwen4 Max measured
MirrorCodeNot measured47.8%Only Qwen4 Max measured
ALE-BenchNot measured1831.0Only Qwen4 Max measured
LMArena WebDev: React17391782Qwen4 Max
LMArena WebDev: HTML16751750Qwen4 Max
LMArena WebDev: from an imageNot measured1676Only Qwen4 Max measured
GameBench 2Not measured82.4Only Qwen4 Max measured
Neither model has a result on the other 40 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
AA Intelligence IndexNot measured43.0Only Qwen4 Max measured
Epoch Capabilities IndexNot measured159.8Only Qwen4 Max measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index12
Agentic work benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
LiveBench research86.0%84.7%GLM 5.4
LiveBench browser64.5%80.7%Qwen4 Max
LiveBench long agentic41.3%46.6%Qwen4 Max
Tax Agent Bench (Vals AI)Not measured40.4%Only Qwen4 Max measured
Legal Research Bench (Vals AI)Not measured41.4%Only Qwen4 Max measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured21.3%Only Qwen4 Max measured
APEX-AgentsNot measured67.4%Only Qwen4 Max measured
PostTrainBenchNot measured36.7%Only Qwen4 Max measured
SpireClimbNot measured0.0%Only Qwen4 Max measured
Neither model has a result on the other 35 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index01
Reasoning benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
LiveBench reasoning85.2%92.2%Qwen4 Max
HLE-Diamond (Artificial Analysis run)Not measured44.9%Only Qwen4 Max measured
CritPt v2, hard subset (Artificial Analysis run)Not measured43.0%Only Qwen4 Max measured
GPQA Diamond (Epoch AI run)Not measured94.0%Only Qwen4 Max measured
Chess puzzlesNot measured36.0%Only Qwen4 Max measured
Mystery game puzzlesNot measured36.0%Only Qwen4 Max measured
EBR-benchNot measured40.0%Only Qwen4 Max measured
Neither model has a result on the other 19 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
OTIS Mock AIMENot measured100.0%Only Qwen4 Max measured
FrontierMath, tiers 1 to 3Not measured78.6%Only Qwen4 Max measured
FrontierMath, tier 4Not measured53.7%Only Qwen4 Max measured
MathArenaNot measured48.9%Only Qwen4 Max measured
Neither model has a result on the other 10 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Knowledge benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
AA-OmniscienceNot measured27.7Only Qwen4 Max measured
SimpleQA VerifiedNot measured54.1%Only Qwen4 Max measured
Neither model has a result on the other 19 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index01
Web design benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
LiveBench design74.2%79.1%Qwen4 Max
Neither model has a result on the other 8 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
General benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
Vals IndexNot measured61.7%Only Qwen4 Max measured
LiveBench data analysis72.2%83.4%Qwen4 Max
GDPval-AANot measured1806Only Qwen4 Max measured
Furniture assemblyNot measured34.2%Only Qwen4 Max measured
Neither model has a result on the other 45 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.4 and Qwen4 Max
BenchmarkGLM 5.4Qwen4 MaxLeader
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.4$0.0036Fits in one request
Qwen4 Max$0.0036Fits in one request

Qwen4 Max costs less

Repository review

50K input + 3K output tokens

GLM 5.4$0.083Fits in one request
Qwen4 Max$0.084Fits in one request

GLM 5.4 costs less

Agent loop

200K input + 10K output tokens

GLM 5.4$0.324Fits in one request
Qwen4 Max$0.328Fits in one request

GLM 5.4 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.4 and Qwen4 Max
SpecificationZ.ai GLM 5.4Qwen4 Max
MakerZ.aiQwen
WeightsOpen weightsNo public weights listed
ReleasedDecember 2, 2026November 16, 2026
Context window1.05M1M
Input $/Mtok$1.40$1.425
Output $/Mtok$4.40$4.275
Coding index72.774.0
Independent measurements behind it24
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.4 better than Qwen4 Max for coding?

GLM 5.4 and Qwen4 Max are level for coding, 72.7 against 74.0 on the Vibe Coding Index, so price and context decide. Pick GLM 5.4 for a larger context window (1.05M against 1M tokens) and work measured by LiveBench coding or LiveBench research, where it leads. Pick Qwen4 Max for output tokens 1.0x cheaper ($4.275 vs $4.40 per million) and work measured by LMArena WebDev or LMArena WebDev: React, where it leads.

Which is cheaper, GLM 5.4 or Qwen4 Max?

GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens; Qwen4 Max costs $1.425 and $4.275. Cost per solved task is known for neither of them.

Which has the bigger context window, GLM 5.4 or Qwen4 Max?

GLM 5.4, with 1.05M tokens against 1M.

How many benchmarks is the GLM 5.4 vs Qwen4 Max comparison based on?

10 benchmarks have a result for both models as of December 3, 2026. GLM 5.4's coding index rests on 2 independent benchmarks and Qwen4 Max's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/glm-5-4-vs-qwen4-max" title="GLM 5.4 vs Qwen4 Max, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/glm-5-4-vs-qwen4-max">LLMBenchmark.ai, GLM 5.4 vs Qwen4 Max</a></p>