DeepSeek R1 Distill Llama 8B

8B parameters · 128k context · MIT License · released 2025-01-20

reasoningcodingchat

In short

DeepSeek R1 Distill Llama 8B is an open model from DeepSeek with 8B parameters. At mlx-3bit, DeepSeek R1 Distill Llama 8B needs about 5 GB of memory at 8k context and 8 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs DeepSeek R1 Distill Llama 8B fully in memory at 32k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 33 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in the US today

NVIDIA RTX PRO 4000 Blackwell, new at Amazon

Runs DeepSeek R1 Distill Llama 8B at Q8_0 fully in memory at 32k context, about 33 tok/sest.

$339

In stock, checked

What to run it on in the US

Fully in memory at 32k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
NVIDIA RTX PRO 4000 BlackwellQ8_0fits33 tok/s$33995.9
NVIDIA GeForce RTX 3060 12GBQ6_Kfits21 tok/s$38852.8
Intel Arc B580Q6_Kfits21 tok/s$42549.2
NVIDIA Tesla P40Q8_0fits17 tok/s$44937.2
Mac mini M4 16GBQ5_K_Mfits8 tok/s$49015.9
NVIDIA GeForce RTX 4070Q6_Kfits29 tok/s$57050.4
Intel Arc Pro B50Q8_0fits9 tok/s$60014.5
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits22 tok/s$61835.0
AMD Radeon RX 9060 XT 16GBQ8_0fits14 tok/s$72019.0
Intel Arc A770 16GBQ8_0fits22 tok/s$74529.3
AMD Radeon RX 7800 XTQ8_0fits27 tok/s$75735.3
NVIDIA RTX PRO 2000 BlackwellQ8_0fits14 tok/s$79517.5
NVIDIA GeForce RTX 4070 SuperQ6_Kfits29 tok/s$80035.9
AMD Radeon RX 9070 XTQ8_0fits27 tok/s$81033.8
AMD Radeon RX 9070Q8_0fits27 tok/s$86031.9
AMD Radeon RX 7900 XTQ8_0fits34 tok/s$88039.0
Intel Arc Pro B60Q8_0fits18 tok/s$89919.8
NVIDIA GeForce RTX 5070Q6_Kfits38 tok/s$90042.6
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits14 tok/s$91815.1
AMD Radeon RX 7600 XTQ8_0fits12 tok/s$95912.8
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits33 tok/s$1,14028.5
Mac mini M4 32GBQ8_0fits6 tok/s$1,1995.1
NVIDIA GeForce RTX 5070 TiQ8_0fits43 tok/s$1,30033.3
AMD Radeon RX 7900 XTXQ8_0fits41 tok/s$1,40029.4
NVIDIA GeForce RTX 4080 SuperQ8_0fits36 tok/s$1,46924.2
AMD Radeon AI PRO R9700Q8_0fits27 tok/s$1,70016.1
Intel Arc Pro B70Q8_0fits24 tok/s$1,80013.2
NVIDIA GeForce RTX 5080Q8_0fits46 tok/s$1,90024.4
NVIDIA GeForce RTX 3090Q8_0fits45 tok/s$1,97922.8
Mac mini M4 Pro 48GBQ8_0fits14 tok/s$2,0256.8
NVIDIA GeForce RTX 3090 TiQ8_0fits49 tok/s$2,03324.0
NVIDIA GeForce RTX 4090Q8_0fits49 tok/s$2,07323.5
Mac mini M4 Pro 64GBQ8_0fits14 tok/s$2,3995.8
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits21 tok/s$2,9807.0
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits11 tok/s$3,5003.1
Mac Studio M4 Max 64GBQ8_0fits28 tok/s$3,5007.9
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits11 tok/s$3,8002.9
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits11 tok/s$3,9592.8
NVIDIA RTX PRO 4500 BlackwellQ8_0fits43 tok/s$4,00010.8
AMD Radeon PRO W7900Q8_0fits37 tok/s$4,0009.3
Mac Studio M3 Ultra 96GBQ8_0fits42 tok/s$4,7588.7
Mac Studio M4 Max 128GBQ8_0fits28 tok/s$5,4005.1
NVIDIA RTX A6000Q8_0fits37 tok/s$5,9896.2
ASUS Ascent GX10 128GBQ8_0fits13 tok/s$6,1002.2
NVIDIA GeForce RTX 5090Q8_0fits87 tok/s$6,49513.3
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits65 tok/s$6,9999.3
NVIDIA DGX Spark 128GBQ8_0fits13 tok/s$7,8001.7
NVIDIA RTX 6000 Ada GenerationQ8_0fits46 tok/s$8,4955.5
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits65 tok/s$8,4997.6
Mac Studio M3 Ultra 256GBQ8_0fits42 tok/s$9,5004.4
NVIDIA RTX PRO 6000 BlackwellQ8_0fits87 tok/s$16,0005.4
Mac Studio M3 Ultra 512GBQ8_0fits42 tok/s$30,0001.4
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits11 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits11 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits13 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits13 tok/s––
Intel Arc B570Q4_K_Moffload19 tok/s$30461.2
NVIDIA GeForce RTX 5050Q4_K_Moffload13 tok/s$35936.5
NVIDIA GeForce RTX 4060Q4_K_Moffload12 tok/s$40030.2
NVIDIA GeForce RTX 5060Q4_K_Moffload15 tok/s$43534.5
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload48 tok/s$50096.2
NVIDIA GeForce RTX 5060 Ti 8GBQ4_K_Moffload15 tok/s$51129.3
NVIDIA GeForce RTX 4060 Ti 8GBQ4_K_Moffload12 tok/s$53623.1

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
mlx-3bitmlx3.3 GB5.0 GB8.2 GB12.3 GB20.7 GB
mlx-4bitmlx4.2 GB6.0 GB9.1 GB13.3 GB21.7 GB
Q4_K_Mgguf4.6 GB6.3 GB9.5 GB13.7 GB22.0 GB
Q5_K_Mgguf5.3 GB7.1 GB10.2 GB14.4 GB22.8 GB
mlx-6bitmlx6.1 GB7.8 GB11.0 GB15.2 GB23.5 GB
Q6_Kgguf6.1 GB7.9 GB11.0 GB15.2 GB23.6 GB
mlx-8bitmlx7.9 GB9.7 GB12.8 GB17.0 GB25.4 GB
Q8_0gguf8.0 GB9.7 GB12.8 GB17.0 GB25.4 GB

Run it

Copy a command for the runtime you use.

  • mlx-3bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Llama-8B-3bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-3bit
  • mlx-4bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Llama-8B-4bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-4bit
  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q4_K_M
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q4_K_M
  • Q5_K_M
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q5_K_M
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q5_k_m
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q5_K_M
  • mlx-6bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Llama-8B-6bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-6bit
  • Q6_K
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q6_K
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q6_k
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q6_K
  • mlx-8bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Llama-8B-8bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-8bit
  • Q8_0
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q8_0
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q8_0

Notes

Hugging Face Transformers is not directly supported; run via the DeepSeek-V3 repo tooling, and avoid system prompts (temperature 0.6 recommended). Distill variants inherit upstream Qwen-2.5 (Apache 2.0) or Llama 3.1/3.3 licences.

Questions

How much VRAM does DeepSeek R1 Distill Llama 8B need?
At mlx-3bit, DeepSeek R1 Distill Llama 8B needs about 5 GB of memory at 8k context and 8 GB at 32k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running DeepSeek R1 Distill Llama 8B locally?
The cheapest hardware in the US that runs DeepSeek R1 Distill Llama 8B fully in memory at 32k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 33 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 87 tok/s.
What is the cheapest way to run DeepSeek R1 Distill Llama 8B in the US today?
The NVIDIA RTX PRO 4000 Blackwell, $339 new at Amazon, in stock: it runs DeepSeek R1 Distill Llama 8B at Q8_0 fully in memory at 32k context, at about 33 tok/s (estimated).
Can I run DeepSeek R1 Distill Llama 8B on a 16 GB GPU?
Yes: at Q8_0 it fits fully in 16 GB at 32k context. On the NVIDIA GeForce RTX 5080 it runs at about 46 tok/s (estimated).
Can I run DeepSeek R1 Distill Llama 8B on a 24 GB GPU?
Yes: at Q8_0 it fits fully in 24 GB at 32k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 49 tok/s (estimated).
How do I run DeepSeek R1 Distill Llama 8B locally?
With Ollama: ollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
What licence is DeepSeek R1 Distill Llama 8B released under?
MIT License, which allows commercial use.

More hardware for local AI