DeepSeek R1 Distill Qwen 7B is Qwen2.5-Math 7B trained on reasoning output from DeepSeek R1 (January 2025, MIT licence). It writes out its working before each answer.
At Q4_K_M it needs about 5.7 GB with an 8K conversation. It uses only 4 KV heads, so long reasoning chains cost less cache memory than on most 7B to 8B models.
ollama run deepseek-r1:7b-qwen-distill-q4_K_MIts base was a maths model, so for everyday chat a general model such as Qwen3 8B is a better fit.
Last reviewed · How we calculate
deepseek-r1:7b-qwen-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 41K 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.6 GB | 5.5 GB | 5.7 GB | 6.2 GB | 7.1 GB | Small loss, best default |
| Q5_K_M | 5.4 GB | 6.3 GB | 6.5 GB | 7.0 GB | 7.9 GB | Very close to Q8 |
| Q6_K | 6.2 GB | 7.1 GB | 7.3 GB | 7.8 GB | 8.7 GB | Hard to tell from Q8 |
| Q8_0 | 8.1 GB | 8.9 GB | 9.2 GB | 9.6 GB | 10.6 GB | Near full quality |
| F16 | 15.2 GB | 16.1 GB | 16.3 GB | 16.8 GB | 17.7 GB | Full quality |
| Device | At Q4_K_M | At Q8_0 | Memory | Speed | Longest chat |
|---|---|---|---|---|---|
| RTX 4060 8GB | Runs well | Slow, uses RAM | about 38 tok/s | 41K | |
| RTX 3060 12GB | Runs well | Runs well | about 51 tok/s | 107K | |
| RTX 4070 12GB | Runs well | Runs well | about 71 tok/s | 107K | |
| RTX 4060 Ti 16GB | Runs well | Runs well | about 41 tok/s | 128K, full | |
| Radeon RX 7600 XT 16GB | Runs well | Runs well | about 41 tok/s | 128K, full | |
| RTX 5060 Ti 16GB | Runs well | Runs well | about 63 tok/s | 128K, full | |
| Intel Arc A770 16GB | Runs well | Runs well | about 79 tok/s | 128K, full | |
| Radeon RX 9070 XT 16GB | Runs well | Runs well | about 90 tok/s | 128K, full | |
| RTX 4070 Ti Super 16GB | Runs well | Runs well | about 95 tok/s | 128K, full | |
| RTX 4080 Super 16GB | Runs well | Runs well | about 104 tok/s | 128K, full | |
| RTX 5080 16GB | Runs well | Runs well | about 135 tok/s | 128K, full | |
| RTX 3090 24GB | Runs well | Runs well | about 132 tok/s | 128K, full | |
| Radeon RX 7900 XTX 24GB | Runs well | Runs well | about 135 tok/s | 128K, full | |
| RTX 4090 24GB | Runs well | Runs well | about 142 tok/s | 128K, full | |
| RTX 5090 32GB | Runs well | Runs well | about 252 tok/s | 128K, full | |
| Mac mini M4 16GB | Runs well | Runs well | about 17 tok/s | 95K | |
| Mac M4 Pro 24GB | Runs well | Runs well | about 38 tok/s | 128K, full | |
| Mac M4 Pro 48GB | Runs well | Runs well | about 38 tok/s | 128K, full | |
| Mac M4 Max 64GB | Runs well | Runs well | about 77 tok/s | 128K, full | |
| Mac M4 Max 128GB | Runs well | Runs well | about 77 tok/s | 128K, full |
These apps use the same GGUF files, so the memory numbers above apply to each.
ollama run deepseek-r1:7b-qwen-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 benchmarkRun ollama run deepseek-r1:7b-qwen-distill-q4_K_M (also available as deepseek-r1:7b). The download is about 4.7 GB.
The Qwen 7B distill is a little stronger at maths, while the Llama 8B distill is better at general chat. For both, the newer R1 0528 Qwen3 8B is now the better pick.
DeepSeek found the distills follow instructions better when everything is in the user message. A system prompt can make the reasoning drift.
Yes. DeepSeek released DeepSeek R1 Distill Qwen 7B under the MIT licence, and its Qwen2.5 base model is Apache 2.0, so both allow commercial use.
About 5.7 GB at Q4_K_M with an 8K conversation, 6.5 GB at Q5_K_M, 9.2 GB at Q8_0 and 16.3 GB at full F16 precision. Longer conversations add about 0.5 GB for every 8,000 tokens.
Yes. The RTX 4060 8GB runs DeepSeek R1 Distill Qwen 7B fully on the GPU at Q4_K_M at about 38 tokens a second.
Yes. The RTX 3060 12GB runs DeepSeek R1 Distill Qwen 7B fully on the GPU at Q4_K_M at about 51 tokens a second.
Yes. The RTX 4060 Ti 16GB runs DeepSeek R1 Distill Qwen 7B fully on the GPU at Q4_K_M at about 41 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.