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 numbersGLM 5.2 wins on coding, on intelligence and on context window.
Price
Tied
Coding
GLM 5.2
Intelligence
GLM 5.2
Context window
GLM 5.2
Key takeaways
who wins on what, from the published numbersGLM 5.2 wins
- Cheaper output ($1.98 vs $2.34 /1M)
- Larger context window (1M vs 262K)
- Higher max output (1M vs 66K)
- More serving providers (10 vs 5)
Qwen3.5 397B A17B wins
- Cheaper input ($0.61 vs $0.39 /1M)
- Supports vision
Cheaper overall
GLM 5.2
$0.61 + $1.98 /1M
Larger context
GLM 5.2
1M
More providers
GLM 5.2
10 providers
Pricing & specs
cheapest serving route · per 1M tokens| GLM 5.2 | Qwen3.5 397B A17B | |
|---|---|---|
| Input $/1M | $0.61 | $0.39 best |
| Output $/1M | $1.98 best | $2.34 |
| Context window | 1M best | 262K |
| Max output | 1M best | 66K |
| Serving providers | 10 best | 5 |
| Released | 2026-06-13 | 2026-02-16 |
Benchmarks
Artificial Analysis indices, side by side| GLM 5.2 | Qwen3.5 397B A17B | |
|---|---|---|
| Intelligence | 52.6 best | 34.3 |
| Coding | 68.8 best | 48.2 |
| GPQA Diamond | 89% | 89% |
| Output speed | 70 t/s | 90 t/s best |
| Latency (TTFT) | 1.56s best | 2.27s |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GLM 5.2
via Scx AI
$5.03
Qwen3.5 397B A17B
via OpenRouter
$4.29
Capabilities
feature support, side by side| Feature | GLM 5.2 | Qwen3.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 ($0.61 vs $0.39 per 1M tokens). GLM 5.2 is cheaper for output ($1.98 vs $2.34 per 1M tokens).
What is the context window difference between GLM 5.2 and Qwen3.5 397B A17B?
GLM 5.2 has a 1M-token context window and Qwen3.5 397B A17B has 262K tokens, so GLM 5.2 can take a larger prompt.
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