DeepSeek-R1
deepseek-ai/DeepSeek-R1DeepSeek-R1 at Q4_K_M is exactly 404,430,187,616 bytes (376.65 GiB / 404.43 GB) — an effective 4.726 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_S4 shards | 124.38 GiB | 133,555,673,312 | 1.561 | — | bartowski |
| UD-IQ1_S3 shards | 130.60 GiB | 140,231,438,464 | 1.639 | — | unsloth |
| IQ1_M4 shards | 138.66 GiB | 148,882,856,672 | 1.740 | — | bartowski |
| UD-IQ1_M4 shards | 157.32 GiB | 168,916,283,648 | 1.974 | — | unsloth |
| IQ2_XXS5 shards | 162.45 GiB | 174,428,162,368 | 2.038 | — | bartowski |
| IQ2_XS5 shards | 181.69 GiB | 195,088,277,888 | 2.280 | — | bartowski |
| UD-IQ2_XXS4 shards | 182.69 GiB | 196,162,482,432 | 2.292 | — | unsloth |
| IQ2_S6 shards | 183.47 GiB | 196,996,413,856 | 2.302 | — | bartowski |
| IQ2_M6 shards | 202.50 GiB | 217,432,658,368 | 2.541 | — | bartowski |
| Q2_K5 shards | 227.27 GiB | 244,028,343,936 | 2.852 | — | unsloth |
| Q2_K7 shards | 227.27 GiB | 244,028,344,384 | 2.852 | — | bartowski |
| Q2_K_L5 shards | 227.47 GiB | 244,245,534,336 | 2.854 | — | unsloth |
| Q2_K_L7 shards | 228.11 GiB | 244,933,304,448 | 2.862 | — | bartowski |
| IQ3_XXS7 shards | 240.22 GiB | 257,932,870,176 | 3.014 | — | bartowski |
| Q3_K_S8 shards | 269.23 GiB | 289,082,588,832 | 3.378 | — | bartowski |
| IQ3_M8 shards | 272.03 GiB | 292,090,969,792 | 3.414 | — | bartowski |
| Q3_K_M7 shards | 297.28 GiB | 319,198,395,744 | 3.730 | — | unsloth |
| Q3_K_M9 shards | 297.28 GiB | 319,198,396,224 | 3.730 | — | bartowski |
| Q3_K_L9 shards | 323.58 GiB | 347,446,509,056 | 4.061 | — | lmstudio-community |
| Q3_K_L9 shards | 323.58 GiB | 347,446,509,312 | 4.061 | — | bartowski |
| IQ4_XS10 shards | 332.60 GiB | 357,128,680,864 | 4.174 | — | bartowski |
| IQ4_NL10 shards | 352.10 GiB | 378,065,939,968 | 4.418 | — | bartowski |
| Q4_010 shards | 353.00 GiB | 379,033,906,688 | 4.430 | — | bartowski |
| Q4_K_S10 shards | 353.90 GiB | 380,001,873,408 | 4.441 | — | bartowski |
| Q4_K_M9 shards | 376.65 GiB | 404,430,187,616 | 4.726 | — | unsloth |
| Q4_K_M11 shards | 376.65 GiB | 404,430,187,808 | 4.726 | — | lmstudio-community |
| Q4_K_M11 shards | 376.65 GiB | 404,430,188,064 | 4.726 | — | bartowski |
| Q4_111 shards | 391.10 GiB | 419,940,458,016 | 4.908 | — | bartowski |
| Q5_K_S12 shards | 430.10 GiB | 461,814,976,288 | 5.397 | — | bartowski |
| Q5_K_M10 shards | 442.75 GiB | 475,396,558,144 | 5.556 | — | unsloth |
| Q5_K_M13 shards | 442.75 GiB | 475,396,558,592 | 5.556 | — | bartowski |
| Q6_K15 shards | 512.97 GiB | 550,798,326,880 | 6.437 | — | lmstudio-community |
| Q6_K12 shards | 512.97 GiB | 550,798,326,880 | 6.437 | — | unsloth |
| Q6_K15 shards | 512.97 GiB | 550,798,327,136 | 6.437 | — | bartowski |
| Q8_015 shards | 664.30 GiB | 713,286,514,368 | 8.336 | — | unsloth |
| Q8_020 shards | 664.30 GiB | 713,286,514,944 | 8.336 | — | lmstudio-community |
| Q8_020 shards | 664.30 GiB | 713,286,515,200 | 8.336 | — | bartowski |
| BF1630 shards | 1250.09 GiB | 1,342,273,048,096 | 15.687 | — | 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.65 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-R1 need?
- Q4_K_M is exactly 404,430,187,616 bytes (376.65 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-R1'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-R1 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-R1 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.