Does GLM-5 fit in 8GB of VRAM?
Not at these settings. No indexed quantization of GLM-5 fits 8GB card at any context we compute, with q4_0 KV. The smallest shipped quantization is 164.05 GiB in weights alone, against 7.44 GiB usable. CPU offload can still run it, slowly.
Every quantization at every context
| Quant | Weights● | 4K◐ | 8K◐ | 16K◐ | 32K◐ | 64K◐ | 128K◐ |
|---|---|---|---|---|---|---|---|
| BF16 | 1404.42 GiB | 1405.4 | 1405.5 | 1405.6 | 1406.0 | 1406.8 | 1408.3 |
| Q8_0 | 746.31 GiB | 747.3 | 747.4 | 747.5 | 747.9 | 748.7 | 750.2 |
| Q6_K | 576.84 GiB | 577.8 | 577.9 | 578.1 | 578.5 | 579.2 | 580.8 |
| Q5_K_M | 498.42 GiB | 499.4 | 499.5 | 499.6 | 500.0 | 500.8 | 502.3 |
| Q5_K_S | 484.04 GiB | 485.0 | 485.1 | 485.3 | 485.7 | 486.4 | 488.0 |
| Q4_1 | 440.24 GiB | 441.2 | 441.3 | 441.5 | 441.9 | 442.6 | 444.2 |
| Q4_K_M | 424.57 GiB | 425.5 | 425.6 | 425.8 | 426.2 | 427.0 | 428.5 |
| Q4_K_S | 398.95 GiB | 399.9 | 400.0 | 400.2 | 400.6 | 401.3 | 402.9 |
| Q4_0 | 397.81 GiB | 398.8 | 398.9 | 399.0 | 399.4 | 400.2 | 401.7 |
| IQ4_NL | 396.67 GiB | 397.6 | 397.7 | 397.9 | 398.3 | 399.1 | 400.6 |
| IQ4_XS | 375.23 GiB | 376.2 | 376.3 | 376.5 | 376.8 | 377.6 | 379.2 |
| Q3_K_M | 335.56 GiB | 336.5 | 336.6 | 336.8 | 337.2 | 338.0 | 339.5 |
| Q3_K_S | 303.87 GiB | 304.8 | 304.9 | 305.1 | 305.5 | 306.3 | 307.8 |
| UD-IQ3_XXS | 283.62 GiB | 284.6 | 284.7 | 284.9 | 285.2 | 286.0 | 287.6 |
| Q2_K_L | 257.21 GiB | 258.2 | 258.3 | 258.4 | 258.8 | 259.6 | 261.1 |
| Q2_K | 257.00 GiB | 257.9 | 258.0 | 258.2 | 258.6 | 259.4 | 260.9 |
| UD-IQ2_M | 237.27 GiB | 238.2 | 238.3 | 238.5 | 238.9 | 239.7 | 241.2 |
| UD-IQ2_XXS | 224.52 GiB | 225.5 | 225.6 | 225.8 | 226.1 | 226.9 | 228.5 |
| UD-IQ1_M | 208.48 GiB | 209.4 | 209.5 | 209.7 | 210.1 | 210.9 | 212.4 |
| UD-IQ1_S | 189.71 GiB | 190.7 | 190.8 | 190.9 | 191.3 | 192.1 | 193.6 |
| UD-TQ1_0 | 164.05 GiB | 165.0 | 165.1 | 165.3 | 165.7 | 166.4 | 168.0 |
Figures are GiB of total memory: weights plus KV cache plus compute buffer and backend overhead. Weights and KV are near-exact; the overhead term is modeled. Hover any cell for the breakdown.
Why there are no speeds on this page
A capacity is not a card. Whether a model fits depends only on memory, so every figure above holds for any 8GB accelerator. How fast it runs depends on memory bandwidth, which varies several-fold between cards of the same capacity — so putting a tokens-per-second number here would be inventing one. Pick a specific card from hardware and the speed column appears.
Why other calculators disagree
A parameters × bits ÷ 8 estimate ignores two things that dominate at long context. First, the weights themselves are not the nominal rate — quantizations are mixtures, so the real file is consistently larger than the label implies. Second, this model uses latent attention and allocates no V cache at all, so any formula reading num_key_value_heads overstates its cache by more than an order of magnitude.