DeepSeek · 8.03B
Can I run DeepSeek R1 Distill Llama 8B locally?
DeepSeek R1 Distill Llama 8B needs about 6.3 GB at Q4_K_M with 8K context, so it fits fully on a 8 GB GPU.
Model facts
| Parameters | 8.03B params |
|---|---|
| Max context | 131,072 tokens |
| Attention | 32 full-attention layers, 8 KV heads (grouped-query) |
| Good for | Reasoning |
| Source | deepseek-ai/DeepSeek-R1-Distill-Llama-8B |
Quick answer
Smallest GPU that holds it fully: 8 GB (Q4_K_M, 8K context)
Consumer GPUs that fit it fully: 38 of 39
With partial offload (32 GB RAM): 1 more
Fitting fully is what you want: offloading works, but generation speed drops to what your system RAM can deliver.
Memory needed by quant and context
Total estimate: weights + KV cache (FP16) + runtime buffer. Pick a row whose number is below your VRAM (or about 2/3 of a Mac's memory). To try another quant, context length or KV cache precision, open DeepSeek R1 Distill Llama 8B in the VRAM calculator.
- Q8_09.8 GB
- Q6_K7.9 GB
- Q5_K_M7.1 GB
- Q4_K_M6.3 GB
- Q3_K_M5.5 GB
Dashed lines mark common card or memory sizes in GB.
| Quant | 4K ctx | 8K ctx | 32K ctx | 128K ctx |
|---|---|---|---|---|
| Q8_0 | 9.3 GB | 9.8 GB | 12.8 GB | 24.8 GB |
| Q6_K | 7.4 GB | 7.9 GB | 10.9 GB | 22.9 GB |
| Q5_K_M | 6.6 GB | 7.1 GB | 10.1 GB | 22.1 GB |
| Q4_K_M | 5.8 GB | 6.3 GB | 9.3 GB | 21.3 GB |
| Q3_K_M | 5.0 GB | 5.5 GB | 8.5 GB | 20.5 GB |
GPUs that run DeepSeek R1 Distill Llama 8B
At 8K context with 32 GB of DDR5 system RAM for offload. Speeds are estimates.
| GPU | VRAM | Verdict | Quant | Speed (est.) |
|---|---|---|---|---|
| GeForce RTX 5090 | 32 GB | Fits on GPU | Q8_0 | 95–150 tok/s |
| GeForce RTX 5080 | 16 GB | Fits on GPU | Q8_0 | 50–80 tok/s |
| GeForce RTX 5070 Ti | 16 GB | Fits on GPU | Q8_0 | 50–75 tok/s |
| GeForce RTX 5070 | 12 GB | Fits on GPU | Q8_0 | 35–60 tok/s |
| GeForce RTX 5060 Ti 16GB | 16 GB | Fits on GPU | Q8_0 | 25–40 tok/s |
| GeForce RTX 5060 Ti 8GB | 8 GB | Fits on GPU | Q5_K_M | 35–55 tok/s |
| GeForce RTX 5060 | 8 GB | Fits on GPU | Q5_K_M | 35–55 tok/s |
| GeForce RTX 4090 | 24 GB | Fits on GPU | Q8_0 | 55–85 tok/s |
| GeForce RTX 4080 Super | 16 GB | Fits on GPU | Q8_0 | 40–65 tok/s |
| GeForce RTX 4080 | 16 GB | Fits on GPU | Q8_0 | 40–60 tok/s |
| GeForce RTX 4070 Ti Super | 16 GB | Fits on GPU | Q8_0 | 35–60 tok/s |
| GeForce RTX 4070 Ti | 12 GB | Fits on GPU | Q8_0 | 30–45 tok/s |
| GeForce RTX 4070 Super | 12 GB | Fits on GPU | Q8_0 | 30–45 tok/s |
| GeForce RTX 4070 | 12 GB | Fits on GPU | Q8_0 | 30–45 tok/s |
| GeForce RTX 4060 Ti 16GB | 16 GB | Fits on GPU | Q8_0 | 16–25 tok/s |
| GeForce RTX 4060 Ti 8GB | 8 GB | Fits on GPU | Q5_K_M | 25–35 tok/s |
| GeForce RTX 4060 | 8 GB | Fits on GPU | Q5_K_M | 20–35 tok/s |
| GeForce RTX 3090 Ti | 24 GB | Fits on GPU | Q8_0 | 55–85 tok/s |
| GeForce RTX 3090 | 24 GB | Fits on GPU | Q8_0 | 50–80 tok/s |
| GeForce RTX 3080 Ti | 12 GB | Fits on GPU | Q8_0 | 50–80 tok/s |
| GeForce RTX 3080 10GB | 10 GB | Fits on GPU | Q6_K | 50–85 tok/s |
| GeForce RTX 3070 | 8 GB | Fits on GPU | Q5_K_M | 35–55 tok/s |
| GeForce RTX 3060 Ti | 8 GB | Fits on GPU | Q5_K_M | 35–55 tok/s |
| GeForce RTX 3060 12GB | 12 GB | Fits on GPU | Q8_0 | 20–30 tok/s |
| GeForce RTX 2080 Ti | 11 GB | Fits on GPU | Q8_0 | 35–55 tok/s |
| GeForce RTX 2060 6GB | 6 GB | Partial offload | Q4_K_M | 20–35 tok/s |
| Radeon RX 9070 XT | 16 GB | Fits on GPU | Q8_0 | 30–50 tok/s |
| Radeon RX 9070 | 16 GB | Fits on GPU | Q8_0 | 30–50 tok/s |
| Radeon RX 9060 XT 16GB | 16 GB | Fits on GPU | Q8_0 | 14–25 tok/s |
| Radeon RX 7900 XTX | 24 GB | Fits on GPU | Q8_0 | 40–70 tok/s |
| Radeon RX 7900 XT | 20 GB | Fits on GPU | Q8_0 | 35–60 tok/s |
| Radeon RX 7900 GRE | 16 GB | Fits on GPU | Q8_0 | 25–45 tok/s |
| Radeon RX 7800 XT | 16 GB | Fits on GPU | Q8_0 | 25–45 tok/s |
| Radeon RX 7700 XT | 12 GB | Fits on GPU | Q8_0 | 19–35 tok/s |
| Radeon RX 7600 | 8 GB | Fits on GPU | Q5_K_M | 18–30 tok/s |
| Radeon RX 6800 XT | 16 GB | Fits on GPU | Q8_0 | 20–40 tok/s |
| Radeon RX 6700 XT | 12 GB | Fits on GPU | Q8_0 | 17–30 tok/s |
| Arc B580 | 12 GB | Fits on GPU | Q8_0 | 18–30 tok/s |
| Arc A770 16GB | 16 GB | Fits on GPU | Q8_0 | 20–35 tok/s |
Macs and unified-memory PCs
The smallest memory configuration that holds it fully at 8K context.
| Chip | Memory needed | Quant | Speed (est.) |
|---|---|---|---|
| Apple M1 | 16 GB | Q8_0 | 2.6–6 tok/s |
| Apple M1 Pro | 16 GB | Q8_0 | 8–16 tok/s |
| Apple M1 Max | 32 GB | Q8_0 | 15–35 tok/s |
| Apple M1 Ultra | 64 GB | Q8_0 | 30–65 tok/s |
| Apple M2 | 16 GB | Q8_0 | 4–8 tok/s |
| Apple M2 Pro | 16 GB | Q8_0 | 8–16 tok/s |
| Apple M2 Max | 32 GB | Q8_0 | 15–35 tok/s |
| Apple M2 Ultra | 64 GB | Q8_0 | 30–65 tok/s |
| Apple M3 | 16 GB | Q8_0 | 4–8 tok/s |
| Apple M3 Pro | 18 GB | Q8_0 | 6–12 tok/s |
| Apple M3 Max (40-core GPU) | 48 GB | Q8_0 | 15–35 tok/s |
| Apple M3 Ultra | 96 GB | Q8_0 | 30–65 tok/s |
| Apple M4 | 16 GB | Q8_0 | 5–10 tok/s |
| Apple M4 Pro | 24 GB | Q8_0 | 11–20 tok/s |
| Apple M4 Max (16-core CPU) | 48 GB | Q8_0 | 20–45 tok/s |
| Apple M5 | 16 GB | Q8_0 | 6–13 tok/s |
| AMD Ryzen AI Max+ 395 | 64 GB | Q8_0 | 11–20 tok/s |
| NVIDIA DGX Spark | 128 GB | Q8_0 | 15–25 tok/s |
Parameter count and architecture come from the model's Hugging Face page and config.json. Memory and speed are calculated; see methodology.