$ diff deepseek-v4 glm-5-2
DeepSeek V4 vs GLM-5.2
DeepSeek and Z.ai, side by side. Every value below is the one recorded on the model’s own wiki page, with its citation — nothing is estimated.
DeepSeekDeepSeek V4
- context
- 1M
- weights
- open
- $/M in
- —
- $/M out
- —
- context
- 1M
- weights
- open
- $/M in
- —
- $/M out
- —
What actually differs
- Context window
- Identical — both accept 1M tokens, so context length is not a reason to pick either.
- Weights
- Both publish weights — DeepSeek V4 under MIT (open-weight), GLM-5.2 under MIT (unrestricted, "no regional limits"). Check the licences rather than assuming they permit the same commercial use.
- Recency
- DeepSeek V4 shipped 33 days after GLM-5.2 (2026-07-16 vs 2026-06-13).
Full spec
| Attribute | DeepSeek V4 | GLM-5.2 |
|---|---|---|
| Developer | DeepSeek | Z.ai |
| Released | 2026-07-16 | 2026-06-13 |
| Context window | 1M tokens (384K max output) | 1,000,000 tokens |
| Pricing | Peak: 2× off-peak API rates; off-peak rates not disclosed | not publicly listed as of 2026-07-13 (~1/6th GPT-5.5 API cost per VentureBeat) |
| License | MIT (open-weight) | MIT (unrestricted, "no regional limits") |
| Availability | DeepSeek API, Hugging Face (deepseek-ai/DeepSeek-V4-Pro) | GLM Coding Plan (highest subscription tier), standalone API, open weights, NVIDIA NIM hosted |
Values come from DeepSeek V4 and GLM-5.2, where each is cited to its source. This page states no benchmark result and ranks neither model — it puts two published specifications next to each other. Where a lab has not published a figure, the row says so rather than guessing. How these pages are produced.