DeepSeek R1 Distill Llama 8B is Llama 3.1 8B fine-tuned on reasoning traces from the full DeepSeek R1 model. DeepSeek released it in January 2025. It writes out its thinking before answering, which helps with maths and logic questions.
It is the same size as Llama 3.1 8B: about 6.5 GB at Q4_K_M with an 8K conversation. Its answers are long, so the conversation (and the KV cache) grows faster than with a chat model.
ollama run deepseek-r1:8b-llama-distill-q4_K_MCareful: deepseek-r1:8b in Ollama now downloads the newer R1 0528 Qwen3 8B, a different model. Licence: MIT for DeepSeek's work, plus the Llama 3.1 Community License of the base model.
Last reviewed · How we calculate
deepseek-r1:8b-llama-distill-q4_K_MThe upright line marks the memory your device can give the model. Everything left of it runs on the GPU.
At Q4_K_M the longest conversation this device can hold is about 16K tokens.
Total memory for weights, conversation cache and runtime. Pick the row your card can hold at the length you need.
| Quantization | File size | 4K | 8K | 16K | 32K | Quality |
|---|---|---|---|---|---|---|
| Q4_K_Mrecommended | 4.9 GB | 6.0 GB | 6.5 GB | 7.6 GB | 9.8 GB | Small loss, best default |
| Q5_K_M | 5.7 GB | 6.8 GB | 7.4 GB | 8.5 GB | 10.6 GB | Very close to Q8 |
| Q6_K | 6.6 GB | 7.7 GB | 8.3 GB | 9.3 GB | 11.5 GB | Hard to tell from Q8 |
| Q8_0 | 8.5 GB | 9.7 GB | 10.2 GB | 11.3 GB | 13.4 GB | Near full quality |
| F16 | 16.1 GB | 17.2 GB | 17.7 GB | 18.8 GB | 21.0 GB | Full quality |
| Device | At Q4_K_M | At Q8_0 | Memory | Speed | Longest chat |
|---|---|---|---|---|---|
| RTX 4060 8GB | Runs well | Slow, uses RAM | about 36 tok/s | 16K | |
| RTX 3060 12GB | Runs well | Runs well | about 48 tok/s | 45K | |
| RTX 4070 12GB | Runs well | Runs well | about 67 tok/s | 45K | |
| RTX 4060 Ti 16GB | Runs well | Runs well | about 38 tok/s | 74K | |
| Radeon RX 7600 XT 16GB | Runs well | Runs well | about 38 tok/s | 74K | |
| RTX 5060 Ti 16GB | Runs well | Runs well | about 60 tok/s | 74K | |
| Intel Arc A770 16GB | Runs well | Runs well | about 75 tok/s | 74K | |
| Radeon RX 9070 XT 16GB | Runs well | Runs well | about 85 tok/s | 74K | |
| RTX 4070 Ti Super 16GB | Runs well | Runs well | about 90 tok/s | 74K | |
| RTX 4080 Super 16GB | Runs well | Runs well | about 98 tok/s | 74K | |
| RTX 5080 16GB | Runs well | Runs well | about 128 tok/s | 74K | |
| RTX 3090 24GB | Runs well | Runs well | about 125 tok/s | 128K, full | |
| Radeon RX 7900 XTX 24GB | Runs well | Runs well | about 128 tok/s | 128K, full | |
| RTX 4090 24GB | Runs well | Runs well | about 135 tok/s | 128K, full | |
| RTX 5090 32GB | Runs well | Runs well | about 239 tok/s | 128K, full | |
| Mac mini M4 16GB | Runs well | Runs, tight | about 16 tok/s | 40K | |
| Mac M4 Pro 24GB | Runs well | Runs well | about 36 tok/s | 80K | |
| Mac M4 Pro 48GB | Runs well | Runs well | about 36 tok/s | 128K, full | |
| Mac M4 Max 64GB | Runs well | Runs well | about 73 tok/s | 128K, full | |
| Mac M4 Max 128GB | Runs well | Runs well | about 73 tok/s | 128K, full |
These apps use the same GGUF files, so the memory numbers above apply to each.
ollama run deepseek-r1:8b-llama-distill-q4_K_M
Downloads the Q4_K_M file on first run. For a longer conversation type /set parameter num_ctx 16384 inside the chat.
The speeds on this page are estimates from memory bandwidth. Run the model, note the tokens per second your app reports, and your number replaces the estimate for everyone with your hardware.
Add the first benchmarkUse ollama run deepseek-r1:8b-llama-distill-q4_K_M. The plain deepseek-r1:8b tag now downloads DeepSeek R1 0528 Qwen3 8B, a newer model on a different base.
No. The full DeepSeek R1 is a 671B mixture-of-experts model. This is Llama 3.1 8B trained on R1's reasoning answers, so it copies R1's style at a size a normal PC can run.
DeepSeek recommends temperature 0.6 (0.5 to 0.7), no system prompt, and putting every instruction in the user message. For maths, ask it to put the final answer in a box.
Yes. DeepSeek's changes are MIT licensed, and the Llama 3.1 base keeps its Community License, which allows commercial use for companies under 700 million monthly users.
It writes its reasoning inside think tags before the final answer. That improves maths and logic, but uses more tokens and more KV-cache memory than a normal chat model.
About 6.5 GB at Q4_K_M with an 8K conversation, 7.4 GB at Q5_K_M, 10.2 GB at Q8_0 and 17.7 GB at full F16 precision. Longer conversations add about 1.1 GB for every 8,000 tokens.
Yes. The RTX 4060 8GB runs DeepSeek R1 Distill Llama 8B fully on the GPU at Q4_K_M at about 36 tokens a second.
Yes. The RTX 3060 12GB runs DeepSeek R1 Distill Llama 8B fully on the GPU at Q4_K_M at about 48 tokens a second.
Yes. The RTX 4060 Ti 16GB runs DeepSeek R1 Distill Llama 8B fully on the GPU at Q4_K_M at about 38 tokens a second.
Yes. A Mac with 16 GB of memory runs it comfortably at Q4. macOS keeps about a third of memory for the system, so smaller Macs may only manage short conversations.