GLM 5.2 vs Qwen3.5 397B A17B

API pricing, context window and capabilities for GLM 5.2 and Qwen3.5 397B A17B, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.

Verdict

computed from the published numbers

GLM 5.2 wins on coding and on intelligence. Qwen3.5 397B A17B wins on price.

Price
Qwen3.5 397B A17B
Coding
GLM 5.2
Intelligence
GLM 5.2
Context window
Tied

Key takeaways

who wins on what, from the published numbers

GLM 5.2 wins

  • Higher max output (262K vs 66K)

Qwen3.5 397B A17B wins

  • Cheaper input ($1.40 vs $0.60 /1M)
  • Cheaper output ($4.40 vs $3.60 /1M)
  • More serving providers (1 vs 3)
  • Supports vision
  • Supports structured output
Cheaper overall
Qwen3.5 397B A17B
$0.60 + $3.60 /1M
Larger context
Tied
More providers
Qwen3.5 397B A17B
3 providers

Pricing & specs

cheapest serving route · per 1M tokens
GLM 5.2Qwen3.5 397B A17B
Input $/1M$1.40 $0.60 best
Output $/1M$4.40 $3.60 best
Context window262K 262K
Max output262K best66K
Serving providers1 3 best
Released2026-06-13 2026-02-16

Benchmarks

Artificial Analysis indices, side by side
GLM 5.2Qwen3.5 397B A17B
Intelligence51.1 best33.7
Coding68.8 best48.2
GPQA Diamond89% 89%
Output speed200 t/s best61 t/s
Latency (TTFT)6.32s best9.37s

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
GLM 5.2
via Cloudflare
$11
Qwen3.5 397B A17B
via OpenRouter
$6.60

Capabilities

feature support, side by side
FeatureGLM 5.2Qwen3.5 397B A17B
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, GLM 5.2 or Qwen3.5 397B A17B?
Qwen3.5 397B A17B is cheaper for input ($1.40 vs $0.60 per 1M tokens). Qwen3.5 397B A17B is cheaper for output ($4.40 vs $3.60 per 1M tokens).
What is the context window difference between GLM 5.2 and Qwen3.5 397B A17B?
Both GLM 5.2 and Qwen3.5 397B A17B have about a 262K-token context window.
How do GLM 5.2 and Qwen3.5 397B A17B compare on benchmarks?
On the tracked Artificial Analysis indices, GLM 5.2 leads on coding, and GLM 5.2 leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI