GLM-5.2 vs DeepSeek V4 Pro
Side-by-side comparison of API pricing, specs, benchmarks, and capabilities
|
by Z.AI
2 providers:
Together $1.40/$4.40
Z.AI $1.40/$4.40
|
by DeepSeek
3 providers:
DeepSeek $0.435/$0.870
Fireworks $1.74/$3.48
Together $1.74/$3.48
|
|
|---|---|---|
| Overview | ||
| Status | Current flagship Open weights | Current mid tier |
| Released | Jun 13, 2026 | Apr 24, 2026 |
| Pricing per million tokens | ||
| Input | $1.40/Mtok | $0.435/Mtok |
| Output | $4.40/Mtok | $0.870/Mtok |
| Blended avg | $2.90/Mtok | $0.652/Mtok |
| Cached input | $0.260/Mtok | $0.004/Mtok |
| Specifications | ||
| Context window | 1M tokens | 1M tokens |
| Parameters | Proprietary | Proprietary |
| Speed (TPS) | — | — |
| Modalities | ||
| Input |
text
|
text
|
| Benchmarks from Vellum LLM Leaderboard | ||
| Avg benchmark score | 64.1 | |
| Perf / dollar | 98.2 | |
| GPQA Diamond | 68 | 72 |
| SWE-Bench | 45 | 50 |
| HumanEval | 84 | 88 |
| MATH 500 | 76 | 80 |
| Providers | ||
| Available from |
Together — $1.40/$4.40/Mtok
Z.AI — $1.40/$4.40/Mtok
|
DeepSeek — $0.435/$0.870/Mtok
Fireworks — $1.74/$3.48/Mtok
Together — $1.74/$3.48/Mtok
|
Cost at scale — 1M tokens (50/50 input/output)
| Volume | GLM-5.2 | DeepSeek V4 Pro | Savings |
|---|---|---|---|
| 1M tokens | $2.9 | $0.65 | $2.25 (77.6%) |
| 10M tokens | $29 | $6.53 | $22.48 (77.5%) |
| 100M tokens | $290 | $65.25 | $224.75 (77.5%) |
| 1000M tokens | $2900 | $652.5 | $2247.5 (77.5%) |
Summary
GLM-5.2 by Z.AI costs $1.40/Mtok input and $4.40/Mtok output, with a 1M-token context window. It supports text input and is available from 2 providers.
DeepSeek V4 Pro by DeepSeek costs $0.435/Mtok input and $0.870/Mtok output, with a 1M-token context window. It supports text input and is available from 3 providers.
On a blended cost basis, DeepSeek V4 Pro is 344.4% cheaper than GLM-5.2.
On benchmarks, DeepSeek V4 Pro scores higher (64.1 vs ) on average. In terms of value, DeepSeek V4 Pro has better performance per dollar (98.2 vs ).
Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.