GLM 5.2 vs Qwen4 35B A3B
Qwen4 35B A3B leads GLM 5.2 on coding, 67.4 to 59.7 on the Vibe Coding Index, and Qwen4 35B A3B costs 12.2x less per output token ($0.36 vs $4.40 per million). Updated December 6, 2026; 8 benchmarks have a result for both.
GLM 5.2 or Qwen4 35B A3B: which to pick
Pick Qwen4 35B A3B for coding: it scores 67.4 on the Vibe Coding Index against 59.7 for GLM 5.2, though on 2 benchmarks against 3.
Pick GLM 5.2 for work measured by LMArena WebDev or LMArena WebDev: React, where it leads.
- Shared results
- 8
- GLM 5.2 only
- 103
- Qwen4 35B A3B only
- 10
- Like-for-like categories
- 4 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
Qwen4 35B A3B
Qwen4 35B A3B scores 67.4 against 59.7.
3 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only Qwen4 35B A3B has a AA Intelligence Index result, 25.0.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.2 has a GPQA Diamond result, 85.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.2 has a MMLU Pro result, 86.7%.
Directional only
Web design
Design Arena: websites
No call
Only GLM 5.2 has a Design Arena: websites result, 1323.
Directional only
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen4 35B A3B
GLM 5.2 $0.0036, Qwen4 35B A3B $0.0002 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.2 has the number, $0.86.
Directional only
At a glance
- Coding index
- GLM 5.2 59.7 from 3 benchmarks, Qwen4 35B A3B 67.4 from 2 benchmarks.
- Widest category
- Reasoning, 6.6 points apart on average over 1 shared benchmark.
- Widest single gap
- Design Arena: 3D: GLM 5.2 1247 against Qwen4 35B A3B 1185, 7.8 points apart on a 0 to 100 scale.
- Output price
- GLM 5.2 $4.40 against Qwen4 35B A3B $0.36 per million output tokens, 12.2x apart.
- Context window
- Both take 1.05M tokens.
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.2 | Bars | Qwen4 35B A3B | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Reasoning | 1 | 0 | ||
| Knowledge | 0 | 1 | ||
| Web design | 1 | 2 | ||
| All shared boards | 5 | 3 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 77.8% | Only Qwen4 35B A3B measured |
| LMArena WebDev | 1608 | 1563 | GLM 5.2 |
| LiveCodeBench (Vals AI) | 69.5% | Not measured | Only GLM 5.2 measured |
| SWE-bench Verified (Vals AI) | 82.8% | Not measured | Only GLM 5.2 measured |
| Code migration (Vals AI) | 37.9% | Not measured | Only GLM 5.2 measured |
| ProgramBench (Vals AI) | 0.5% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.8% | Not measured | Only GLM 5.2 measured |
| SkillsBench (Vals AI) | 45.1% | Not measured | Only GLM 5.2 measured |
| SciCode | 51.2% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 50.8% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | 1.0% | Not measured | Only GLM 5.2 measured |
| FrontierCode 2.0 | Not measured | 16.1% | Only Qwen4 35B A3B measured |
| FrontierCode | 24.5% | Not measured | Only GLM 5.2 measured |
| WeirdML | 70.1% | Not measured | Only GLM 5.2 measured |
| MirrorCode | 36.7% | Not measured | Only GLM 5.2 measured |
| ALE-Bench | 1047.0 | Not measured | Only GLM 5.2 measured |
| LMArena Text: coding | 1488 | Not measured | Only GLM 5.2 measured |
| LMArena Text: software and IT | 1487 | Not measured | Only GLM 5.2 measured |
| LMArena WebDev: React | 1621 | 1579 | GLM 5.2 |
| LMArena WebDev: HTML | 1567 | 1566 | GLM 5.2 |
| SWE Atlas: Codebase QnA | 48.1% | Not measured | Only GLM 5.2 measured |
| SWE Atlas: Refactoring | 42.4% | Not measured | Only GLM 5.2 measured |
| SWE Atlas: Test Writing | 41.5% | Not measured | Only GLM 5.2 measured |
| GameBench 2 | 49.9 | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 3.0 | 4.6% | Not measured | Only GLM 5.2 measured |
| ProgramBench | 0.0% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 26 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 25.0 | Only Qwen4 35B A3B measured |
| Epoch Capabilities Index | 153.0 | Not measured | Only GLM 5.2 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1184 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building full-stack apps | 1288 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building mobile apps | 1152 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building Android apps | 1162 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building Godot games | 1142 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building games | 1156 | Not measured | Only GLM 5.2 measured |
| Design Arena: HTML slides | 1077 | Not measured | Only GLM 5.2 measured |
| Design Arena: PowerPoint slides | 1157 | Not measured | Only GLM 5.2 measured |
| Design Arena: spreadsheets | 1123 | Not measured | Only GLM 5.2 measured |
| LiveBench research | Not measured | 77.5% | Only Qwen4 35B A3B measured |
| LiveBench browser | Not measured | 49.9% | Only Qwen4 35B A3B measured |
| LiveBench long agentic | Not measured | 24.7% | Only Qwen4 35B A3B measured |
| SREBench (Vals AI) | 0.0% | Not measured | Only GLM 5.2 measured |
| Finance Agent (Vals AI) | 49.7% | Not measured | Only GLM 5.2 measured |
| Legal Research Bench (Vals AI) | 31.3% | Not measured | Only GLM 5.2 measured |
| Excel Modeling Benchmark (Vals AI) | 61.5% | Not measured | Only GLM 5.2 measured |
| τ²-Bench Telecom | 99.1% | Not measured | Only GLM 5.2 measured |
| APEX-Agents | 45.2% | Not measured | Only GLM 5.2 measured |
| PostTrainBench | 30.4% | Not measured | Only GLM 5.2 measured |
| Vending-Bench 2 | $8,314 | Not measured | Only GLM 5.2 measured |
| MCP Atlas | 77.8% | Not measured | Only GLM 5.2 measured |
| Toolathlon-Verified | 59.9% | Not measured | Only GLM 5.2 measured |
| τ³-Banking | 37.1% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 21 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | Not measured | Only GLM 5.2 measured |
| LiveBench reasoning | Not measured | 75.8% | Only Qwen4 35B A3B measured |
| GPQA Diamond (Artificial Analysis run) | 89.5% | Not measured | Only GLM 5.2 measured |
| Humanity's Last Exam (Artificial Analysis run) | 41.1% | Not measured | Only GLM 5.2 measured |
| HLE-Diamond (Artificial Analysis run) | 17.7% | 11.1% | GLM 5.2 |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 13.5% | Only Qwen4 35B A3B measured |
| GPQA Diamond (Epoch AI run) | 91.9% | Not measured | Only GLM 5.2 measured |
| ARC-AGI | 77.0% | Not measured | Only GLM 5.2 measured |
| ARC-AGI-2 | 22.8% | Not measured | Only GLM 5.2 measured |
| SimpleBench | 58.8% | Not measured | Only GLM 5.2 measured |
| Chess puzzles | 22.0% | Not measured | Only GLM 5.2 measured |
| Mystery game puzzles | 19.0% | Not measured | Only GLM 5.2 measured |
| EBR-bench | 9.5% | Not measured | Only GLM 5.2 measured |
| LMArena Text: hard prompts | 1481 | Not measured | Only GLM 5.2 measured |
| LMArena Text: expert | 1488 | Not measured | Only GLM 5.2 measured |
| LMArena Text: hard prompts in English | 1481 | Not measured | Only GLM 5.2 measured |
| Kagi LLM Benchmark | 62.6% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 9 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| OTIS Mock AIME | 86.4% | Not measured | Only GLM 5.2 measured |
| FrontierMath, tiers 1 to 3 | 59.2% | Not measured | Only GLM 5.2 measured |
| FrontierMath, tier 4 | 29.3% | Not measured | Only GLM 5.2 measured |
| ProofBench | 35.0% | Not measured | Only GLM 5.2 measured |
| LMArena Text: math | 1485 | Not measured | Only GLM 5.2 measured |
| LMArena Text: mathematical work | 1490 | Not measured | Only GLM 5.2 measured |
| MathArena | 21.1% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| MMLU Pro | 86.7% | Not measured | Only GLM 5.2 measured |
| LegalBench (Vals AI) | 84.1% | Not measured | Only GLM 5.2 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only GLM 5.2 measured |
| TaxEval (Vals AI) | 73.3% | Not measured | Only GLM 5.2 measured |
| MedCode (Vals AI) | 40.8% | Not measured | Only GLM 5.2 measured |
| AA-Omniscience | 0.6 | 2.4 | Qwen4 35B A3B |
| SimpleQA Verified | 34.2% | Not measured | Only GLM 5.2 measured |
| LMArena Text: science | 1489 | Not measured | Only GLM 5.2 measured |
| LMArena Text: medicine and healthcare | 1476 | Not measured | Only GLM 5.2 measured |
| LMArena Text: legal and government | 1490 | Not measured | Only GLM 5.2 measured |
| LMArena Text: business and finance | 1450 | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 10 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index12
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| Design Arena: websites | 1323 | Not measured | Only GLM 5.2 measured |
| Design Arena: UI components | 1271 | 1299 | Qwen4 35B A3B |
| Design Arena: game dev | 1234 | 1243 | Qwen4 35B A3B |
| Design Arena: data viz | 1275 | Not measured | Only GLM 5.2 measured |
| Design Arena: 3D | 1247 | 1185 | GLM 5.2 |
| Design Arena: all code categories | 1328 | Not measured | Only GLM 5.2 measured |
| Design Arena: SVG | 1245 | Not measured | Only GLM 5.2 measured |
| Design Arena: ASCII art | 1174 | Not measured | Only GLM 5.2 measured |
| LiveBench design | Not measured | 71.1% | Only Qwen4 35B A3B measured |
GeneralDirectional onlyPublic boards, shown as published, kept out of the index26 boards, none shared
| Benchmark | GLM 5.2 | Qwen4 35B A3B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 74.2% | Only Qwen4 35B A3B measured |
| MedScribe (Vals AI) | 83.5% | Not measured | Only GLM 5.2 measured |
| IFBench | 73.3% | Not measured | Only GLM 5.2 measured |
| Long context reasoning (AA-LCR) | 78.3% | Not measured | Only GLM 5.2 measured |
| GDPval-AA | 1383 | Not measured | Only GLM 5.2 measured |
| DTBench | 93.6% | Not measured | Only GLM 5.2 measured |
| LMCA | 45.8% | Not measured | Only GLM 5.2 measured |
| Surface Evolver Bench | 55.6% | Not measured | Only GLM 5.2 measured |
| LMArena Text | 1470 | Not measured | Only GLM 5.2 measured |
| LMArena Text: instruction following | 1467 | Not measured | Only GLM 5.2 measured |
| LMArena Text: creative writing | 1460 | Not measured | Only GLM 5.2 measured |
| LMArena Text: English | 1475 | Not measured | Only GLM 5.2 measured |
| LMArena Text: non-English | 1458 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Chinese | 1523 | Not measured | Only GLM 5.2 measured |
| LMArena Text: German | 1467 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Japanese | 1452 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Korean | 1430 | Not measured | Only GLM 5.2 measured |
| LMArena Text: French | 1477 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Spanish | 1480 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Russian | 1466 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Polish | 1459 | Not measured | Only GLM 5.2 measured |
| LMArena Text: multi-turn | 1470 | Not measured | Only GLM 5.2 measured |
| LMArena Text: longer queries | 1479 | Not measured | Only GLM 5.2 measured |
| LMArena Text: writing and language | 1462 | Not measured | Only GLM 5.2 measured |
| LMArena Text: entertainment and media | 1448 | Not measured | Only GLM 5.2 measured |
| EQ-Bench 4 | 1208 | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 23 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.2 | Qwen4 35B A3B | 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 35B A3B costs less
Repository review
50K input + 3K output tokens
Qwen4 35B A3B costs less
Agent loop
200K input + 10K output tokens
Qwen4 35B A3B 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.2 | Qwen4 35B A3B |
|---|---|---|
| Maker | Z.ai | Qwen |
| Weights | Open weights | Open weights |
| Released | June 16, 2026 | December 4, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.40 | $0.06 |
| Output $/Mtok | $4.40 | $0.36 |
| Coding index | 59.7 | 67.4 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | $0.86 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.2 better than Qwen4 35B A3B for coding?
Pick Qwen4 35B A3B for coding: it scores 67.4 on the Vibe Coding Index against 59.7 for GLM 5.2, though on 2 benchmarks against 3. Pick GLM 5.2 for work measured by LMArena WebDev or LMArena WebDev: React, where it leads.
Which is cheaper, GLM 5.2 or Qwen4 35B A3B?
GLM 5.2 costs $1.40 per million input tokens and $4.40 per million output tokens; Qwen4 35B A3B costs $0.06 and $0.36. Cost per solved task is known for GLM 5.2 only.
Which has the bigger context window, GLM 5.2 or Qwen4 35B A3B?
Neither: both take 1.05M tokens.
How many benchmarks is the GLM 5.2 vs Qwen4 35B A3B comparison based on?
8 benchmarks have a result for both models as of December 6, 2026. GLM 5.2's coding index rests on 3 independent benchmarks and Qwen4 35B A3B's on 2. Where only one model has a result, the page says so instead of naming a winner.