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 UK that runs DeepSeek R1 Distill Llama 8B fully in memory at 8k context is the Intel Arc A770 16GB, £364 at eBay, at about 29 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the UK today
NVIDIA Tesla P40, used at eBay
Runs DeepSeek R1 Distill Llama 8B at Q8_0 fully in memory at 8k context, about 22 tok/sest.
£280
In stock, checked
What to run it on in the UK
Fully in memory at 8k context, priced at retailers today.
Cheapest
Intel Arc A770 16GB29tok/sest.Q8_0
£364
Best value
NVIDIA GeForce RTX 3080 10GB61tok/sest.Q6_K
£591
Fastest
NVIDIA GeForce RTX 5090116tok/sest.Q8_0
£5,000
Mac
Mac Studio M4 Max 64GB37tok/sest.Q8_0
£3,299
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| mlx-3bitmlx | 3.3 GB | 5.0 GB | 8.2 GB | 12.3 GB | 20.7 GB |
| mlx-4bitmlx | 4.2 GB | 6.0 GB | 9.1 GB | 13.3 GB | 21.7 GB |
| Q4_K_Mgguf | 4.6 GB | 6.3 GB | 9.5 GB | 13.7 GB | 22.0 GB |
| Q5_K_Mgguf | 5.3 GB | 7.1 GB | 10.2 GB | 14.4 GB | 22.8 GB |
| mlx-6bitmlx | 6.1 GB | 7.8 GB | 11.0 GB | 15.2 GB | 23.5 GB |
| Q6_Kgguf | 6.1 GB | 7.9 GB | 11.0 GB | 15.2 GB | 23.6 GB |
| mlx-8bitmlx | 7.9 GB | 9.7 GB | 12.8 GB | 17.0 GB | 25.4 GB |
| Q8_0gguf | 8.0 GB | 9.7 GB | 12.8 GB | 17.0 GB | 25.4 GB |
Run it
Copy a command for the runtime you use.
- mlx-3bit
- LM Studio
lms get mlx-community/DeepSeek-R1-Distill-Llama-8B-3bit - MLX
mlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-3bit
- LM Studio
- mlx-4bit
- LM Studio
lms get mlx-community/DeepSeek-R1-Distill-Llama-8B-4bit - MLX
mlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-4bit
- LM Studio
- Q4_K_M
- Ollama
ollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q4_K_M - LM Studio
lms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q4_k_m - llama.cpp
llama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q5_K_M - LM Studio
lms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q5_k_m - llama.cpp
llama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q5_K_M
- Ollama
- mlx-6bit
- LM Studio
lms get mlx-community/DeepSeek-R1-Distill-Llama-8B-6bit - MLX
mlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-6bit
- LM Studio
- Q6_K
- Ollama
ollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q6_K - LM Studio
lms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q6_k - llama.cpp
llama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q6_K
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/DeepSeek-R1-Distill-Llama-8B-8bit - MLX
mlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Llama-8B-8bit
- LM Studio
- Q8_0
- Ollama
ollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q8_0 - LM Studio
lms get unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF@q8_0 - llama.cpp
llama-server -hf unsloth/DeepSeek-R1-Distill-Llama-8B-GGUF:Q8_0
- Ollama
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 UK that runs DeepSeek R1 Distill Llama 8B fully in memory at 8k context is the Intel Arc A770 16GB, £364 at eBay, at about 29 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 61 tok/s for £591). 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 UK today?
- The NVIDIA Tesla P40, £280 used at eBay, in stock: it runs DeepSeek R1 Distill Llama 8B at Q8_0 fully in memory at 8k context, at about 22 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.