Compare / Qwen3.5-397B-A17B vs GLM-5.2

Qwen3.5-397B-A17B vs GLM-5.2

Which is cheaper, which is more capable, and which does better at each kind of work, from 22 results on 3 sources that measured both models.

AlibabaQwen3.5-397B-A17B Released 13 Feb 2026 · $0.55 in · $3.50 out
Z.aiGLM-5.2 Released 16 Jun 2026 · $1.40 in · $4.40 out
Qwen3.5-397B-A17B wins 1GLM-5.2 wins 21

Of the 22 results both models have, the better value on each. Results whose reported ranges overlap are too close to call.

Results as of 13 October 2026 (catalogue release 2026-10-13-2e2420e3c5cc). See also Alibaba vs Z.ai, every model from both labs.

Qwen3.5-397B-A17B or GLM-5.2? The short answer

Pick GLM-5.2 if quality matters most: it scores higher (Intelligence Index 33.7 against 21.4). Pick Qwen3.5-397B-A17B if cost matters more: it costs 40% less per token.

  • Qwen3.5-397B-A17B is cheaper: $1.29 against $2.15 per million tokens, 40% less.
  • GLM-5.2 scores higher on the Artificial Analysis Intelligence Index: 33.7 against 21.4.
  • GLM-5.2 is newer: released 16 Jun 2026, against 13 Feb 2026 for Qwen3.5-397B-A17B.
  • On third-party benchmarks, on the results both models have: GLM-5.2 does better for agents and tool use, reasoning and knowledge, writing and sticking to the facts.

Head to head

21.4
Intelligence Index
33.7
$1.29
Price per million tokens, blendedlower is better
$2.15
262,144
Context window, tokens
1,048,576

Every fact side by side

Qwen3.5-397B-A17BGLM-5.2
Price per million tokens$0.55 in · $3.50 out$1.40 in · $4.40 out
Blended (3 in : 1 out)$1.29$2.15
Cheapest host, blended$0.88 (Alibaba)$0.64 (Decart, MXFP4)
Cached input, per million–$0.26 cached input
Intelligence Index21.433.7
Spring Prompt overall––
Output speed, tokens a second90–
Context window262,144 tokens1,048,576 tokens
Released13 Feb 202616 Jun 2026 (newer)
WeightsOpenOpen
Developer based inChinaChina

Prices are the developer's list price where we have read it, otherwise the typical host on OpenRouter; see every model's price. Intelligence and speed from Artificial Analysis.

Which is better for what

Each model's rank among the models on sale today, for each kind of work, from our own benchmarks and licensed sources. Further right is better; the better rank is in green.

Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls 70 of 164 40 of 164
Professional workReal tasks from banking, consulting and law, business documents and freelance projects 48 of 51 not measured
Reasoning and knowledgeHard questions across science, maths and general knowledge 73 of 198 43 of 198
WritingWhat people prefer in blind comparisons, and judged writing quality 69 of 188 26 of 188
Sticking to the factsSummarising without inventing things, and factual answers 75 of 152 68 of 152

Every shared result

Each model's best result on every measure both have, grouped by benchmark, with the setting that produced it. Under each measure, every model that benchmark has measured is a grey tick, best to the right, so you can see where the two sit in the field. The headline measures of each benchmark come first; the rest are under "Show all". Green marks the better value; where a source reports ranges that overlap, neither is marked.

MeasureQwen3.5-397B-A17BGLM-5.2
Arena (formerly LMArena) reported by Arena (formerly LMArena) · 3 results
Overall · TextArena rating, higher is better 80 · 27 of 387 measured 1,442 1,476max reasoning
Overall · Text factualityArena rating, higher is better 70 · 36 of 163 measured 1,445 1,463max reasoning
Business, management and finance · TextArena rating, higher is better 73 · 41 of 380 measured 1,446 1,465max reasoning
Artificial Analysis reported by Artificial Analysis · 3 results
Artificial Analysis Intelligence Indexindex score, higher is better 97 · 42 of 243 measured 21.4no reasoning 33.7max reasoning
GPQA Diamond% of questions, higher is better 53 · 49 of 231 measured 89.3% 89.5%max reasoning
Humanity's Last Exam% of questions, higher is better 77 · 35 of 242 measured 29.0% 41.1%max reasoning
UGI Leaderboard reported by UGI Leaderboard · 3 results
Writing score · UGIscore out of 100, higher is better 77 · 21 of 230 measured 50.1no reasoning 67.0thinking reasoning
Requested-length error · UGI% off the requested word count, lower is better 134 · 54 of 230 measured 23.0%no reasoning 12.0%no reasoning
Style adherence · UGIscore from 0 to 1, higher is better 164 · 39 of 230 measured 0.33no reasoning 0.37no reasoning
Show all 22 results (13 more)
MeasureQwen3.5-397B-A17BGLM-5.2
Arena (formerly LMArena) reported by Arena (formerly LMArena) · 4 results
Creative writing · TextArena rating, higher is better 86 · 26 of 385 measured 1,405 1,454max reasoning
Expert prompts · TextArena rating, higher is better 67 · 35 of 338 measured 1,477 1,502max reasoning
Instruction following · TextArena rating, higher is better 78 · 31 of 387 measured 1,434 1,470max reasoning
Writing, literature and language · TextArena rating, higher is better 80 · 31 of 386 measured 1,421 1,459max reasoning
Artificial Analysis reported by Artificial Analysis · 9 results
Terminal-Bench 2.1% of tasks, higher is better 61 · 30 of 130 measured 51.3% 77.9%max reasoning
Terminal-Bench 4.0% of tasks, higher is better 66 · 52 of 112 measured 0.0% 1.0%max reasoning
τ-bench banking% of tasks, higher is better 64 · 27 of 121 measured 13.4% 34.6%max reasoning
Artificial Analysis Coding Indexindex score, higher is better 61 · 30 of 131 measured 48.2 68.8max reasoning
IFBench% of instructions, higher is better 8 · 33 of 195 measured 78.8% 73.3%max reasoning
Long-context reasoning (AA-LCR)% of questions, higher is better 66 · 54 of 233 measured 77.3% 78.3%max reasoning
SciCode% of problems, higher is better 66 · 42 of 113 measured 44.8% 51.2%max reasoning
Terminal-Bench Hard% of tasks, higher is better 34 · 12 of 190 measured 40.9% 50.8%max reasoning
τ²-bench telecom% of tasks, higher is better 16 · 1 of 193 measured 95.6% 99.1%max reasoning

Quick answers

Is Qwen3.5-397B-A17B better than GLM-5.2?

Pick GLM-5.2 if quality matters most: it scores higher (Intelligence Index 33.7 against 21.4). Pick Qwen3.5-397B-A17B if cost matters more: it costs 40% less per token.

Which is cheaper, Qwen3.5-397B-A17B or GLM-5.2?

Qwen3.5-397B-A17B is cheaper: $1.29 against $2.15 per million tokens, 40% less.

Which is better for agents and tool use, Qwen3.5-397B-A17B or GLM-5.2?

GLM-5.2 ranks 40 of 164 models on sale for multi-step tasks with tools: support desks, coding agents, function calls, against 70 for Qwen3.5-397B-A17B.

Which is better for reasoning and knowledge, Qwen3.5-397B-A17B or GLM-5.2?

GLM-5.2 ranks 43 of 198 models on sale for hard questions across science, maths and general knowledge, against 73 for Qwen3.5-397B-A17B.

Which is better for writing, Qwen3.5-397B-A17B or GLM-5.2?

GLM-5.2 ranks 26 of 188 models on sale for what people prefer in blind comparisons, and judged writing quality, against 69 for Qwen3.5-397B-A17B.

Which is better for sticking to the facts, Qwen3.5-397B-A17B or GLM-5.2?

GLM-5.2 ranks 68 of 152 models on sale for summarising without inventing things, and factual answers, against 75 for Qwen3.5-397B-A17B.

Which has the bigger context window, Qwen3.5-397B-A17B or GLM-5.2?

GLM-5.2: 1,048,576 tokens, against 262,144 for Qwen3.5-397B-A17B.

Run Qwen3.5-397B-A17B and GLM-5.2 on your own prompt

Benchmarks aren't your data. Try both side by side in the playground, with the cost of every answer.