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 5 GB at 8k, 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 8k context is the Intel Arc B570, $304 at eBay, at about 25 tok/s (estimated).

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

Cheapest way to run it in the US today

Intel Arc B570, new at eBay

Runs DeepSeek R1 Distill Llama 8B at Q6_K fully in memory at 8k context, about 25 tok/sest.

$304

In stock, checked

What to run it on in the US

Fully in memory at 8k 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
Intel Arc B570Q6_Kfits25 tok/s$30481.6
NVIDIA RTX PRO 4000 BlackwellQ8_0fits43 tok/s$339127.7
NVIDIA GeForce RTX 5050Q5_K_Mfits29 tok/s$35981.1
NVIDIA GeForce RTX 3060 12GBQ8_0fits23 tok/s$38859.8
NVIDIA GeForce RTX 4060Q5_K_Mfits25 tok/s$40062.0
Intel Arc B580Q8_0fits24 tok/s$42555.8
NVIDIA GeForce RTX 5060Q5_K_Mfits41 tok/s$43593.8
NVIDIA Tesla P40Q8_0fits22 tok/s$44949.7
Mac mini M4 16GBQ8_0fits8 tok/s$49016.5
NVIDIA GeForce RTX 3080 10GBQ6_Kfits61 tok/s$500122.8
NVIDIA GeForce RTX 5060 Ti 8GBQ5_K_Mfits41 tok/s$51179.8
NVIDIA GeForce RTX 4060 Ti 8GBQ5_K_Mfits26 tok/s$53648.9
NVIDIA GeForce RTX 4070Q8_0fits33 tok/s$57057.0
Intel Arc Pro B50Q8_0fits12 tok/s$60019.3
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits29 tok/s$61846.8
AMD Radeon RX 9060 XT 16GBQ8_0fits18 tok/s$72025.4
Intel Arc A770 16GBQ8_0fits29 tok/s$74539.1
AMD Radeon RX 7800 XTQ8_0fits36 tok/s$75747.1
NVIDIA RTX PRO 2000 BlackwellQ8_0fits19 tok/s$79523.4
NVIDIA GeForce RTX 4070 SuperQ8_0fits33 tok/s$80040.6
AMD Radeon RX 9070 XTQ8_0fits37 tok/s$81045.2
AMD Radeon RX 9070Q8_0fits37 tok/s$86042.6
AMD Radeon RX 7900 XTQ8_0fits46 tok/s$88052.0
Intel Arc Pro B60Q8_0fits24 tok/s$89926.4
NVIDIA GeForce RTX 5070Q8_0fits43 tok/s$90048.1
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits19 tok/s$91820.3
AMD Radeon RX 7600 XTQ8_0fits17 tok/s$95917.2
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits43 tok/s$1,14038.0
Mac mini M4 32GBQ8_0fits8 tok/s$1,1996.8
NVIDIA GeForce RTX 5070 TiQ8_0fits58 tok/s$1,30044.5
AMD Radeon RX 7900 XTXQ8_0fits55 tok/s$1,40039.2
NVIDIA GeForce RTX 4080 SuperQ8_0fits48 tok/s$1,46932.3
AMD Radeon AI PRO R9700Q8_0fits37 tok/s$1,70021.5
Intel Arc Pro B70Q8_0fits32 tok/s$1,80017.6
NVIDIA GeForce RTX 5080Q8_0fits62 tok/s$1,90032.6
NVIDIA GeForce RTX 3090Q8_0fits60 tok/s$1,97930.5
Mac mini M4 Pro 48GBQ8_0fits19 tok/s$2,0259.1
NVIDIA GeForce RTX 3090 TiQ8_0fits65 tok/s$2,03332.0
NVIDIA GeForce RTX 4090Q8_0fits65 tok/s$2,07331.3
Mac mini M4 Pro 64GBQ8_0fits19 tok/s$2,3997.7
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits28 tok/s$2,9809.4
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits15 tok/s$3,5004.2
Mac Studio M4 Max 64GBQ8_0fits37 tok/s$3,50010.5
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits15 tok/s$3,8003.8
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits15 tok/s$3,9593.7
NVIDIA RTX PRO 4500 BlackwellQ8_0fits58 tok/s$4,00014.5
AMD Radeon PRO W7900Q8_0fits49 tok/s$4,00012.4
Mac Studio M3 Ultra 96GBQ8_0fits55 tok/s$4,75811.6
Mac Studio M4 Max 128GBQ8_0fits37 tok/s$5,4006.8
NVIDIA RTX A6000Q8_0fits50 tok/s$5,9898.3
ASUS Ascent GX10 128GBQ8_0fits18 tok/s$6,1002.9
NVIDIA GeForce RTX 5090Q8_0fits116 tok/s$6,49517.8
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits87 tok/s$6,99912.4
NVIDIA DGX Spark 128GBQ8_0fits18 tok/s$7,8002.3
NVIDIA RTX 6000 Ada GenerationQ8_0fits62 tok/s$8,4957.3
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits87 tok/s$8,49910.2
Mac Studio M3 Ultra 256GBQ8_0fits55 tok/s$9,5005.8
NVIDIA RTX PRO 6000 BlackwellQ8_0fits116 tok/s$16,0007.2
Mac Studio M3 Ultra 512GBQ8_0fits55 tok/s$30,0001.8
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits15 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits15 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits18 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits18 tok/s––

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 5 GB at 8k, 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 8k context is the Intel Arc B570, $304 at eBay, at about 25 tok/s (estimated). The best value is the NVIDIA RTX PRO 4000 Blackwell (about 43 tok/s for $339). The fastest we price is the NVIDIA GeForce RTX 5090, at about 116 tok/s.
What is the cheapest way to run DeepSeek R1 Distill Llama 8B in the US today?
The Intel Arc B570, $304 new at eBay, in stock: it runs DeepSeek R1 Distill Llama 8B at Q6_K fully in memory at 8k context, at about 25 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 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 62 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 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 65 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