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.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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Level: 72.7 against 74.0, inside 2 points.
2 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only Qwen4 Max has a AA Intelligence Index result, 43.0.
Directional only
General
Vals Index
No call
Only Qwen4 Max has a Vals Index result, 61.7%.
Directional only
Long documents
Listed context window
GLM 5.4
GLM 5.4 takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen4 Max
GLM 5.4 $0.0036, Qwen4 Max $0.0036 per turn.
List prices
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.
| Category | GLM 5.4 | Bars | Qwen4 Max | Ties |
|---|---|---|---|---|
| Coding | 1 | 3 | ||
| Agentic work | 1 | 2 | ||
| Reasoning | 0 | 1 | ||
| Web design | 0 | 1 | ||
| General | 0 | 1 | ||
| All shared boards | 2 | 8 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index13
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| LiveBench coding | 74.5% | 69.8% | GLM 5.4 |
| LMArena WebDev | 1690 | 1750 | Qwen4 Max |
| Terminal-Bench 4 (Vals AI) | Not measured | 48.5% | Only Qwen4 Max measured |
| Vibe Code Bench (Vals AI) | Not measured | 86.7% | Only Qwen4 Max measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | Not measured | 48.5% | Only Qwen4 Max measured |
| FrontierCode 2.0 | Not measured | 26.5% | Only Qwen4 Max measured |
| MirrorCode | Not measured | 47.8% | Only Qwen4 Max measured |
| ALE-Bench | Not measured | 1831.0 | Only Qwen4 Max measured |
| LMArena WebDev: React | 1739 | 1782 | Qwen4 Max |
| LMArena WebDev: HTML | 1675 | 1750 | Qwen4 Max |
| LMArena WebDev: from an image | Not measured | 1676 | Only Qwen4 Max measured |
| GameBench 2 | Not measured | 82.4 | Only 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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 43.0 | Only Qwen4 Max measured |
| Epoch Capabilities Index | Not measured | 159.8 | Only Qwen4 Max measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index12
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| LiveBench research | 86.0% | 84.7% | GLM 5.4 |
| LiveBench browser | 64.5% | 80.7% | Qwen4 Max |
| LiveBench long agentic | 41.3% | 46.6% | Qwen4 Max |
| Tax Agent Bench (Vals AI) | Not measured | 40.4% | Only Qwen4 Max measured |
| Legal Research Bench (Vals AI) | Not measured | 41.4% | Only Qwen4 Max measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 21.3% | Only Qwen4 Max measured |
| APEX-Agents | Not measured | 67.4% | Only Qwen4 Max measured |
| PostTrainBench | Not measured | 36.7% | Only Qwen4 Max measured |
| SpireClimb | Not measured | 0.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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| LiveBench reasoning | 85.2% | 92.2% | Qwen4 Max |
| HLE-Diamond (Artificial Analysis run) | Not measured | 44.9% | Only Qwen4 Max measured |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 43.0% | Only Qwen4 Max measured |
| GPQA Diamond (Epoch AI run) | Not measured | 94.0% | Only Qwen4 Max measured |
| Chess puzzles | Not measured | 36.0% | Only Qwen4 Max measured |
| Mystery game puzzles | Not measured | 36.0% | Only Qwen4 Max measured |
| EBR-bench | Not measured | 40.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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 100.0% | Only Qwen4 Max measured |
| FrontierMath, tiers 1 to 3 | Not measured | 78.6% | Only Qwen4 Max measured |
| FrontierMath, tier 4 | Not measured | 53.7% | Only Qwen4 Max measured |
| MathArena | Not measured | 48.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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| AA-Omniscience | Not measured | 27.7 | Only Qwen4 Max measured |
| SimpleQA Verified | Not measured | 54.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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| LiveBench design | 74.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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| Vals Index | Not measured | 61.7% | Only Qwen4 Max measured |
| LiveBench data analysis | 72.2% | 83.4% | Qwen4 Max |
| GDPval-AA | Not measured | 1806 | Only Qwen4 Max measured |
| Furniture assembly | Not measured | 34.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
| Benchmark | GLM 5.4 | Qwen4 Max | Leader |
|---|---|---|---|
| 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
Qwen4 Max costs less
Repository review
50K input + 3K output tokens
GLM 5.4 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Z.ai GLM 5.4 | Qwen4 Max |
|---|---|---|
| Maker | Z.ai | Qwen |
| Weights | Open weights | No public weights listed |
| Released | December 2, 2026 | November 16, 2026 |
| Context window | 1.05M | 1M |
| Input $/Mtok | $1.40 | $1.425 |
| Output $/Mtok | $4.40 | $4.275 |
| Coding index | 72.7 | 74.0 |
| Independent measurements behind it | 2 | 4 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter 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.