Model Comparison

GLM-5.2 vs Qwen3.5-397B-A17BWhich is better in 2026?

GLM-5.2 significantly outperforms across most benchmarks. Qwen3.5-397B-A17B is 1.1x cheaper per token.

Verdict: GLM-5.2 vs Qwen3.5-397B-A17B — which is better?

GLM-5.2 (by Zhipu AI) and Qwen3.5-397B-A17B (by Alibaba Cloud / Qwen Team) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

GLM-5.2 outperforms in 5 benchmarks (AIME 2026, GPQA, Humanity's Last Exam, IMO-AnswerBench, Toolathlon), while Qwen3.5-397B-A17B is better at 1 benchmark (HMMT 2025). GLM-5.2 significantly outperforms across most benchmarks.

On price, Qwen3.5-397B-A17B is roughly 1.1x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

GLM-5.2 also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Choose GLM-5.2 if…

  • you want the strongest raw capability — it leads on 5 of 6 shared benchmarks
  • you process long inputs — it offers a 1,048,576 token context window
  • you want the most recent training data — it shipped Jun 2026

Choose Qwen3.5-397B-A17B if…

  • cost matters — it's about 1.1x cheaper per token

Performance Benchmarks

Comparative analysis across standard metrics

6 benchmarks

GLM-5.2 outperforms in 5 benchmarks (AIME 2026, GPQA, Humanity's Last Exam, IMO-AnswerBench, Toolathlon), while Qwen3.5-397B-A17B is better at 1 benchmark (HMMT 2025).

GLM-5.2 significantly outperforms across most benchmarks.

Sun Jul 26 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Qwen3.5-397B-A17B costs less

For input processing, GLM-5.2 ($0.95/1M tokens) is 1.6x more expensive than Qwen3.5-397B-A17B ($0.60/1M tokens).

For output processing, GLM-5.2 ($3.00/1M tokens) is 1.2x cheaper than Qwen3.5-397B-A17B ($3.60/1M tokens).

In conclusion, GLM-5.2 is more expensive than Qwen3.5-397B-A17B.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sun Jul 26 2026 • llm-stats.com
Zhipu AI
GLM-5.2
Input tokens$0.95
Output tokens$3.00
Best providerDeepinfra
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input tokens$0.60
Output tokens$3.60
Best providerNovita
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

356.0B diff

GLM-5.2 has 356.0B more parameters than Qwen3.5-397B-A17B, making it 89.7% larger.

Zhipu AI
GLM-5.2
753.0Bparameters
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
397.0Bparameters
753.0B
GLM-5.2
397.0B
Qwen3.5-397B-A17B

Context Window

Maximum input and output token capacity

GLM-5.2 accepts 1,048,576 input tokens compared to Qwen3.5-397B-A17B's 262,144 tokens. GLM-5.2 can generate longer responses up to 131,072 tokens, while Qwen3.5-397B-A17B is limited to 64,000 tokens.

Zhipu AI
GLM-5.2
Input1,048,576 tokens
Output131,072 tokens
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input262,144 tokens
Output64,000 tokens
Sun Jul 26 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Qwen3.5-397B-A17B supports multimodal inputs, whereas GLM-5.2 does not.

Qwen3.5-397B-A17B can handle both text and other forms of data like images, making it suitable for multimodal applications.

GLM-5.2

Text
Images
Audio
Video

Qwen3.5-397B-A17B

Text
Images
Audio
Video

License

Usage and distribution terms

GLM-5.2 is licensed under MIT, while Qwen3.5-397B-A17B uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

GLM-5.2

MIT

Open weights

Qwen3.5-397B-A17B

Apache 2.0

Open weights

Release Timeline

When each model was launched

GLM-5.2 was released on 2026-06-16, while Qwen3.5-397B-A17B was released on 2026-02-16.

GLM-5.2 is 4 months newer than Qwen3.5-397B-A17B.

GLM-5.2

Jun 16, 2026

1 months ago

4mo newer
Qwen3.5-397B-A17B

Feb 16, 2026

5 months ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

GLM-5.2 is available from DeepInfra, Fireworks, FriendliAI, Novita, Together, ZAI. Qwen3.5-397B-A17B is available from Novita.

GLM-5.2

deepinfra logo
Deepinfra
Input Price:Input: $0.95/1MOutput Price:Output: $3.00/1M
fireworks logo
Fireworks
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
friendli logo
FriendliAI
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
novita logo
Novita
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
together logo
Together
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
z logo
Unknown Organization
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M

Qwen3.5-397B-A17B

novita logo
Novita
Input Price:Input: $0.60/1MOutput Price:Output: $3.60/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (1,048,576 tokens)
Less expensive output tokens
Higher AIME 2026 score (99.2% vs 91.3%)
Higher GPQA score (91.2% vs 88.4%)
Higher Humanity's Last Exam score (54.7% vs 28.7%)
Higher IMO-AnswerBench score (91.0% vs 80.9%)
Higher Toolathlon score (48.2% vs 38.3%)
Alibaba Cloud / Qwen Team

Qwen3.5-397B-A17B

View details

Alibaba Cloud / Qwen Team

Supports multimodal inputs
Less expensive input tokens
Higher HMMT 2025 score (94.8% vs 94.4%)

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against GLM-5.2 and Qwen3.5-397B-A17B side-by-side, then vote on the output you prefer.

GLM-5.2
✓ Preferred
Qwen3.5-397B-A17B
Open in Playground
AI Model Comparison Table
Feature
Zhipu AI
GLM-5.2
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B

FAQ

Common questions about GLM-5.2 vs Qwen3.5-397B-A17B.

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

GLM-5.2 significantly outperforms across most benchmarks. GLM-5.2 is made by Zhipu AI and Qwen3.5-397B-A17B is made by Alibaba Cloud / Qwen Team. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does GLM-5.2 compare to Qwen3.5-397B-A17B in benchmarks?

GLM-5.2 scores AIME 2026: 99.2%, HMMT 2025: 94.4%, HMMT Feb 26: 92.5%, GPQA: 91.2%, IMO-AnswerBench: 91.0%. Qwen3.5-397B-A17B scores MMLU-Redux: 94.9%, HMMT 2025: 94.8%, C-Eval: 93.0%, HMMT25: 92.7%, IFEval: 92.6%.

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

Qwen3.5-397B-A17B is 1.6x cheaper for input tokens. GLM-5.2 costs $0.95/M input and $3.00/M output via deepinfra. Qwen3.5-397B-A17B costs $0.60/M input and $3.60/M output via novita.

What are the context window sizes for GLM-5.2 and Qwen3.5-397B-A17B?

GLM-5.2 supports 1.0M tokens and Qwen3.5-397B-A17B supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GLM-5.2 and Qwen3.5-397B-A17B?

Key differences include context window (1.0M vs 262K), input pricing ($0.95 vs $0.60/M), multimodal support (no vs yes), licensing (MIT vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes GLM-5.2 and Qwen3.5-397B-A17B?

GLM-5.2 is developed by Zhipu AI and Qwen3.5-397B-A17B is developed by Alibaba Cloud / Qwen Team.