DeepSeek-R1-Distill-Llama-8B GGUF size and VRAM requirements

License: llama3.1 ⬇ 38,470 ❤ 311
Parameters8.03B
Context131,072

unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF is a large reasoning-focused model with 8.03 billion parameters, built on the llama architecture. It is released under the llama3.1 license and has been downloaded 38,470 times.

Under the hood it uses 32 transformer layers, a hidden size of 4,096, 32 attention heads. It uses grouped-query attention (32 query heads sharing 8 key/value heads), which already trims KV-cache memory compared with full multi-head attention.

To run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF locally at a 4,096-token context, its quantized versions need between 3.32 GB (IQ1_S, lowest quality) and 16.27 GB (F16, highest quality) of memory, weights plus KV cache and a system margin included. Context length drives that memory directly: at 4,096 tokens the KV cache for DeepSeek-R1-Distill-Llama-8B-GGUF is about 0.5 GB, rising to roughly 16.0 GB at its full 131,072-token context. Shorter prompts free up memory for a higher-quality quantization.

For most users the best balance is Q6_K, needing about 7.44 GB. That means unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF fits entirely in the VRAM of a 6 GB GPU or larger, running fully on the GPU.

Available GGUF quantizations for unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF include IQ1_S, IQ1_M, IQ2_XXS, IQ2_M, Q2_K, Q2_K_L, IQ3_XXS, Q2_K_XL, Q3_K_S, Q3_K_M, Q3_K_XL, IQ4_XS, Q4_0, IQ4_NL, Q4_K_S, Q4_K_M, Q4_K_XL, Q4_1, Q5_K_S, Q5_K_M, Q5_K_XL, Q6_K, Q6_K_XL, Q8_0, Q8_K_XL, F16, BF16. The model supports a native context length of up to 131,072 tokens; a longer context grows the KV cache and the memory needed.

→ Guide: How much VRAM do you need?

GGUF file size and memory by quantization

Compare real GGUF weight sizes, estimated KV cache and total memory for Q4, Q5, Q8 and every quantization published in this repository.

Quant.Bits QualityWeights KVTotal Speed~Verdict
IQ1_S 2.16 Very low 2.02 GB 0.5 GB 3.32 GB 198.4 t/s Fits in VRAM
IQ1_M 2.28 Very low 2.13 GB 0.5 GB 3.43 GB 187.4 t/s Fits in VRAM
IQ2_XXS 2.5 Very low 2.33 GB 0.5 GB 3.63 GB 171.5 t/s Fits in VRAM
IQ2_M 2.99 Low 2.8 GB 0.5 GB 4.1 GB 143.0 t/s Fits in VRAM
Q2_K 3.17 Low 2.96 GB 0.5 GB 4.26 GB 135.1 t/s Fits in VRAM
Q2_K_L 3.29 Low 3.08 GB 0.5 GB 4.38 GB 130.1 t/s Fits in VRAM
IQ3_XXS 3.31 Fair 3.09 GB 0.5 GB 4.39 GB 129.3 t/s Fits in VRAM
Q2_K_XL 3.38 Fair 3.16 GB 0.5 GB 4.46 GB 126.7 t/s Fits in VRAM
Q3_K_S 3.65 Fair 3.41 GB 0.5 GB 4.71 GB 117.2 t/s Fits in VRAM
Q3_K_M 4.0 Fair 3.74 GB 0.5 GB 5.04 GB 106.9 t/s Fits in VRAM
Q3_K_XL 4.18 Fair 3.91 GB 0.5 GB 5.21 GB 102.3 t/s Fits in VRAM
IQ4_XS 4.45 Good 4.16 GB 0.5 GB 5.46 GB 96.2 t/s Fits in VRAM
Q4_0 4.66 Good 4.35 GB 0.5 GB 5.65 GB 91.9 t/s Fits in VRAM
IQ4_NL 4.66 Good 4.36 GB 0.5 GB 5.66 GB 91.8 t/s Fits in VRAM
Q4_K_S 4.67 Good 4.37 GB 0.5 GB 5.67 GB 91.5 t/s Fits in VRAM
Q4_K_M 4.9 Good 4.58 GB 0.5 GB 5.88 GB 87.3 t/s Fits in VRAM
Q4_K_XL 4.98 Good 4.65 GB 0.5 GB 5.95 GB 86.0 t/s Fits in VRAM
Q4_1 5.11 Very good 4.78 GB 0.5 GB 6.08 GB 83.7 t/s Fits in VRAM
Q5_K_S 5.58 Very good 5.21 GB 0.5 GB 6.51 GB 76.7 t/s Fits in VRAM
Q5_K_M 5.71 Very good 5.34 GB 0.5 GB 6.64 GB 74.9 t/s Fits in VRAM
Q5_K_XL 5.72 Very good 5.34 GB 0.5 GB 6.64 GB 74.8 t/s Fits in VRAM
Q6_K 6.57 Excellent 6.14 GB 0.5 GB 7.44 GB 65.1 t/s Fits in VRAM
Q6_K_XL 7.3 Excellent 6.83 GB 0.5 GB 8.13 GB 7.3 t/s Offload
Q8_0 8.51 Excellent 7.95 GB 0.5 GB 9.25 GB 6.3 t/s Offload
Q8_K_XL 10.54 Excellent 9.85 GB 0.5 GB 11.15 GB 5.1 t/s Offload
F16 16.01 Excellent 14.97 GB 0.5 GB 16.27 GB 3.3 t/s Offload
BF16 16.01 Excellent 14.97 GB 0.5 GB 16.27 GB 3.3 t/s Offload

KV cache computed from the model's exact architecture. Speed is a rough estimate bounded by memory bandwidth.

Frequently asked questions

What kind of model is unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF?

unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF is a reasoning-focused model with 8.03 billion parameters, based on the llama architecture. It is released under the llama3.1 license and distributed as GGUF files for local inference.

How much VRAM do you need to run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF?

You need about 5.95 GB of VRAM to run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF entirely on the GPU using the Q4_K_XL quantization (at a 4,096-token context). Smaller quantizations lower the requirement at the cost of quality.

Can I run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF on an 8 GB GPU?

Yes. With 8 GB of VRAM you can run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF fully on the GPU using Q6_K (about 7.44 GB).

Can I run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF on a 16 GB GPU?

Yes. With 16 GB of VRAM you can run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF fully on the GPU using Q8_K_XL (about 11.15 GB).

Can I run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF on a 24 GB GPU?

Yes. With 24 GB of VRAM you can run unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF fully on the GPU using F16 (about 16.27 GB).

What context length does unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF support?

unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF supports a native context length of up to 131,072 tokens. A longer context grows the KV cache, so it increases the memory needed to run the model.

What is the best quantization for unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF?

For unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF, a strong default is Q4_K_M, which needs about 5.88 GB and keeps most of the quality while roughly halving the memory versus 8-bit. With VRAM to spare, Q5_K_M or Q6_K add a little more quality; if you are tight on memory, a smaller quantization still runs. Pick the highest quantization that fits your VRAM.