DeepSeek-V3.1-Terminus
deepseek-ai/DeepSeek-V3.1-TerminusDeepSeek-V3.1-Terminus at Q4_K_M is exactly 404,494,158,624 bytes (376.71 GiB / 404.49 GB) — an effective 4.727 bits per weight, not the nominal 4. Its KV cache at 32K is 2.14 GiB.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| IQ1_M4 shards | 137.32 GiB | 147,448,002,368 | 1.723 | — | bartowski |
| IQ1_M12 shards | 138.82 GiB | 149,058,761,472 | 1.742 | — | DevQuasar |
| UD-TQ1_0 | 151.97 GiB | 163,172,466,560 | 1.907 | — | unsloth |
| IQ2_XXS5 shards | 152.79 GiB | 164,057,003,968 | 1.917 | — | bartowski |
| IQ2_XXS13 shards | 162.59 GiB | 174,584,078,656 | 2.040 | — | DevQuasar |
| UD-IQ1_S4 shards | 173.84 GiB | 186,660,569,408 | 2.182 | — | unsloth |
| IQ2_XS5 shards | 175.47 GiB | 188,407,101,376 | 2.202 | — | bartowski |
| IQ2_S5 shards | 176.61 GiB | 189,630,566,336 | 2.216 | — | bartowski |
| IQ2_XS15 shards | 181.82 GiB | 195,228,203,616 | 2.282 | — | DevQuasar |
| UD-IQ1_M5 shards | 187.19 GiB | 200,990,474,688 | 2.349 | — | unsloth |
| IQ2_M6 shards | 200.27 GiB | 215,037,628,480 | 2.513 | — | bartowski |
| UD-IQ2_XXS5 shards | 202.23 GiB | 217,141,510,624 | 2.538 | — | unsloth |
| UD-IQ2_M5 shards | 213.17 GiB | 228,885,561,792 | 2.675 | — | unsloth |
| Q2_K7 shards | 221.50 GiB | 237,834,514,592 | 2.780 | — | bartowski |
| Q2_K_L7 shards | 222.34 GiB | 238,739,474,560 | 2.790 | — | bartowski |
| Q2_K20 shards | 227.38 GiB | 244,148,281,536 | 2.853 | — | DevQuasar |
| Q2_K5 shards | 228.82 GiB | 245,696,582,112 | 2.871 | — | unsloth |
| Q2_K_L5 shards | 229.03 GiB | 245,913,772,512 | 2.874 | — | unsloth |
| IQ3_XXS7 shards | 249.25 GiB | 267,630,858,432 | 3.128 | — | bartowski |
| UD-IQ3_XXS6 shards | 254.71 GiB | 273,496,801,888 | 3.196 | — | unsloth |
| IQ3_XS8 shards | 258.11 GiB | 277,146,192,192 | 3.239 | — | bartowski |
| Q3_K_S6 shards | 270.50 GiB | 290,448,357,888 | 3.394 | — | unsloth |
| Q3_K_S8 shards | 273.21 GiB | 293,352,982,816 | 3.428 | — | bartowski |
| IQ3_M8 shards | 286.74 GiB | 307,880,167,744 | 3.598 | — | bartowski |
| Q3_K_M8 shards | 286.78 GiB | 307,929,712,960 | 3.599 | — | bartowski |
| Q3_K_M25 shards | 297.34 GiB | 319,266,363,872 | 3.731 | — | DevQuasar |
| Q3_K_L9 shards | 297.75 GiB | 319,705,876,960 | 3.736 | — | bartowski |
| Q3_K_M7 shards | 298.44 GiB | 320,451,082,944 | 3.745 | — | unsloth |
| IQ4_XS8 shards | 333.74 GiB | 358,347,326,208 | 4.188 | — | unsloth |
| IQ4_XS10 shards | 335.26 GiB | 359,980,474,912 | 4.207 | — | bartowski |
| IQ4_NL8 shards | 353.10 GiB | 379,135,951,648 | 4.431 | — | unsloth |
| Q4_08 shards | 354.00 GiB | 380,100,248,352 | 4.442 | — | unsloth |
| IQ4_NL10 shards | 354.35 GiB | 380,481,241,600 | 4.447 | — | bartowski |
| Q4_K_S8 shards | 354.89 GiB | 381,064,545,056 | 4.453 | — | unsloth |
| Q4_010 shards | 359.88 GiB | 386,422,080,000 | 4.516 | — | bartowski |
| Q4_K_S11 shards | 367.08 GiB | 394,153,886,400 | 4.606 | — | bartowski |
| Q4_K_M31 shards | 376.71 GiB | 404,494,158,624 | 4.727 | — | DevQuasar |
| Q4_K_M9 shards | 377.56 GiB | 405,398,012,864 | 4.738 | — | unsloth |
| Q4_K_M11 shards | 381.12 GiB | 409,227,727,520 | 4.783 | — | bartowski |
| Q4_19 shards | 391.87 GiB | 420,771,120,064 | 4.918 | — | unsloth |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.27 GiB | 19.06 GiB | 71.11× | 61 / 0 / 0 |
| 8,192 | 0.54 GiB | 38.13 GiB | 71.11× | 61 / 0 / 0 |
| 16,384 | 1.07 GiB | 76.25 GiB | 71.11× | 61 / 0 / 0 |
| 32,768 | 2.14 GiB | 152.50 GiB | 71.11× | 61 / 0 / 0 |
| 65,536 | 4.29 GiB | 305.00 GiB | 71.11× | 61 / 0 / 0 |
| 131,072 | 8.58 GiB | 610.00 GiB | 71.11× | 61 / 0 / 0 |
This model uses multi-head latent attention. No V cache is allocated at all, and the K cache stores a 512-wide latent plus 64 rope dimensions — so reading num_key_value_heads from config.json and multiplying, as every calculator does, overstates the cache by well over an order of magnitude.
Compare with
Will it run on your card?
Why other calculators give a different number
A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 358.60 GiB. The real file is 376.71 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: this model allocates no value cache at all, so any formula reading num_key_value_heads overstates it by more than an order of magnitude.
Architecture
Questions people ask
- How much VRAM does DeepSeek-V3.1-Terminus need?
- Q4_K_M is exactly 404,494,158,624 bytes (376.71 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- How large is DeepSeek-V3.1-Terminus's KV cache?
- 2.14 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
- Is DeepSeek-V3.1-Terminus a mixture-of-experts model?
- Yes — 256 experts, 8 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
- Which quantization of DeepSeek-V3.1-Terminus should I use?
- Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.