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 12 GB at 64k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs DeepSeek R1 Distill Llama 8B fully in memory at 64k context is the NVIDIA GeForce RTX 5060 Ti 16GB, $1,130 at Amazon, at about 18 tok/s (estimated).

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

Cheapest way to run it in Canada today

AMD Radeon RX 7800 XT, used at eBay

Runs DeepSeek R1 Distill Llama 8B at Q5_K_M fully in memory at 64k context, about 24 tok/sest.

$1,000

In stock, checked

What to run it on in Canada

Fully in memory at 64k 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
AMD Radeon RX 9060 XT 16GBQ5_K_Mfits12 tok/s$87014.1
NVIDIA GeForce RTX 5060 Ti 16GBQ6_Kfits18 tok/s$1,13016.2
NVIDIA RTX PRO 2000 BlackwellQ6_Kfits12 tok/s$1,14910.3
AMD Radeon RX 9070Q5_K_Mfits25 tok/s$1,20020.5
AMD Radeon RX 9070 XTQ5_K_Mfits25 tok/s$1,28519.2
AMD Radeon RX 7800 XTQ5_K_Mfits24 tok/s$1,42216.9
AMD Radeon RX 7900 XTQ8_0fits26 tok/s$1,43717.9
AMD Radeon RX 7600 XTQ5_K_Mfits11 tok/s$1,4457.7
NVIDIA GeForce RTX 5070 TiQ6_Kfits37 tok/s$1,89019.4
AMD Radeon RX 7900 XTXQ8_0fits31 tok/s$2,04115.1
Intel Arc Pro B60Q8_0fits13 tok/s$2,0796.4
NVIDIA GeForce RTX 3090 TiQ8_0fits37 tok/s$2,50014.6
NVIDIA GeForce RTX 4080 SuperQ6_Kfits30 tok/s$2,50012.0
NVIDIA RTX PRO 4000 BlackwellQ8_0fits24 tok/s$2,8108.6
AMD Radeon AI PRO R9700Q8_0fits21 tok/s$2,8697.1
NVIDIA GeForce RTX 5080Q6_Kfits39 tok/s$2,99913.1
NVIDIA GeForce RTX 3090Q8_0fits34 tok/s$3,30010.3
Intel Arc Pro B70Q8_0fits18 tok/s$4,0884.3
AMD Radeon PRO W7900Q8_0fits28 tok/s$4,9005.7
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits8 tok/s$5,2891.6
NVIDIA RTX PRO 4500 BlackwellQ8_0fits32 tok/s$6,5994.9
ASUS Ascent GX10 128GBQ8_0fits10 tok/s$8,5001.2
NVIDIA GeForce RTX 4090Q8_0fits37 tok/s$9,1604.0
NVIDIA DGX Spark 128GBQ8_0fits10 tok/s$11,1500.9
NVIDIA RTX A6000Q8_0fits28 tok/s$11,4782.4
NVIDIA GeForce RTX 5090Q8_0fits65 tok/s$12,3005.3
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits49 tok/s$13,4373.6
NVIDIA RTX 6000 Ada GenerationQ8_0fits35 tok/s$15,1362.3
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits49 tok/s$20,6502.4
Mac Studio M3 Ultra 512GBQ8_0fits31 tok/s$28,0001.1
Mac Studio M4 Max 128GBQ8_0fits21 tok/s––
Mac mini M4 Pro 64GBQ8_0fits10 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits8 tok/s––
Mac Studio M3 Ultra 256GBQ8_0fits31 tok/s––
Mac mini M4 Pro 48GBQ8_0fits10 tok/s––
NVIDIA GeForce RTX 4060 Ti 16GBQ6_Kfits12 tok/s––
Mac Studio M4 Max 64GBQ8_0fits21 tok/s––
NVIDIA GeForce RTX 4070 Ti SuperQ6_Kfits27 tok/s––
Mac Studio M3 Ultra 96GBQ8_0fits31 tok/s––
NVIDIA RTX PRO 6000 BlackwellQ8_0fits65 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits8 tok/s––
Mac mini M4 32GBQ8_0fits5 tok/s––
NVIDIA Tesla P40Q8_0fits13 tok/s––
Intel Arc A770 16GBQ5_K_Mfits20 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits16 tok/s––
Intel Arc Pro B50Q5_K_Mfits8 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits8 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits10 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits10 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits8 tok/s––
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload11 tok/s$56318.8
NVIDIA GeForce RTX 5050Q4_K_Moffload6 tok/s$57011.1
NVIDIA GeForce RTX 5060 Ti 8GBQ4_K_Moffload7 tok/s$59011.4
NVIDIA GeForce RTX 5060Q4_K_Moffload7 tok/s$60811.0
NVIDIA GeForce RTX 4060Q4_K_Moffload6 tok/s$6759.0
Intel Arc B570Q4_K_Moffload7 tok/s$8019.1
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload10 tok/s$86011.2
NVIDIA GeForce RTX 4060 Ti 8GBQ4_K_Moffload6 tok/s$8647.1
NVIDIA GeForce RTX 5070Q4_K_Moffload14 tok/s$1,20611.5
NVIDIA GeForce RTX 4070Q4_K_Moffload12 tok/s$1,3009.5
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload12 tok/s$2,0965.9
Intel Arc B580Q4_K_Moffload10 tok/s––

1 other card or machine we price cannot hold it at this context.

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 12 GB at 64k, 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 Canada that runs DeepSeek R1 Distill Llama 8B fully in memory at 64k context is the NVIDIA GeForce RTX 5060 Ti 16GB, $1,130 at Amazon, at about 18 tok/s (estimated). The best value is the AMD Radeon RX 9070 (about 25 tok/s for $1,200). The fastest we price is the NVIDIA GeForce RTX 5090, at about 65 tok/s.
What is the cheapest way to run DeepSeek R1 Distill Llama 8B in Canada today?
The AMD Radeon RX 7800 XT, $1,000 used at eBay, in stock: it runs DeepSeek R1 Distill Llama 8B at Q5_K_M fully in memory at 64k context, at about 24 tok/s (estimated).
Can I run DeepSeek R1 Distill Llama 8B on a 16 GB GPU?
Yes: at Q6_K it fits fully in 16 GB at 64k context. On the NVIDIA GeForce RTX 5080 it runs at about 39 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 64k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 37 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