DeepSeek-V2 vs GLM-4.5
DeepSeek-V2 (235.7B parameters) and GLM-4.5 (358.3B parameters) side by side: the memory each needs at every precision, what it costs to run on a live GPU, and the context window, KV cache and license where they are published. Numbers are computed from the models' published specs; this page does not rank quality.
Side by side
| Fact | DeepSeek-V2 | GLM-4.5 |
|---|---|---|
| Parameters | 235.7B | 358.3B |
| Architecture | Multi-head latent attention; mixture of 160 experts, 6 active per token | Grouped-query attention; mixture of 160 experts, 8 active per token |
| Context length | 163,840 tokens | 131,072 tokens |
| License | – | – |
| Published precision | BF16 | BF16 |
| VRAM needed, As published | 527 GB | 801 GB |
| VRAM needed, FP8 | 263 GB | 400 GB |
| VRAM needed, INT4 | 132 GB | 200 GB |
| Cheapest live fit, As published | RTX PRO 6000 × 6 · $8.25/hr | No live fit |
| Cheapest live fit, FP8 | RTX PRO 6000 × 3 · $4.13/hr | RTX PRO 6000 × 5 · $6.88/hr |
| Cheapest live fit, INT4 | RTX A5000 × 6 · $1.06/hr | RTX A6000 × 5 · $1.81/hr |
| KV cache per token (16-bit) | 68 KB | 368 KB |
| KV cache at 32k tokens | 2.11 GB | 11.5 GB |
| KV cache at 128k tokens | 8.44 GB | 46.0 GB |
VRAM is the weight size at each precision times a flat 1.2 overhead; see the methodology. The FP8 and INT4 rows need a quantized checkpoint or an engine that quantizes on load. The fit is the lowest-priced single GPU type that holds the model at that precision, or the lowest-priced multi-GPU set (up to 8) when none does. KV cache is for one sequence at 16-bit, computed from each model's config where the attention layout is known.
Which to pick
- DeepSeek-V2 needs less VRAM at its published precision (527 GB against 801 GB), so it fits on a smaller GPU.
- DeepSeek-V2 lists the longer context window (163,840 tokens against 131,072).
- DeepSeek-V2 caches less per sequence at 32k tokens (2.1 GB against 11.5 GB), leaving more memory for batching.
These follow only from the facts in the table above. Whether either model does your task well is a separate question this page does not answer.
Keep reading
- DeepSeek-V2: full VRAM table and live GPU fit
- GLM-4.5: full VRAM table and live GPU fit
- The DeepSeek model series
- The GLM model series
Other comparisons