DeepSeek R1 Distill Qwen 7B

7.6B parameters · 128k context · MIT License · released 2025-01-20

reasoningchatcoding

In short

DeepSeek R1 Distill Qwen 7B is an open model from DeepSeek with 7.6B parameters. At mlx-3bit, DeepSeek R1 Distill Qwen 7B needs about 4 GB of memory at 8k context and 4 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs DeepSeek R1 Distill Qwen 7B fully in memory at 8k context is the NVIDIA GeForce RTX 3060 12GB, 309 € at Amazon, at about 26 tok/s (estimated).

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

What to run it on in Germany

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
NVIDIA GeForce RTX 3060 12GBQ8_0fits26 tok/s309 €84.1
Intel Arc B580Q8_0fits27 tok/s360 €74.0
NVIDIA Tesla P40Q8_0fits25 tok/s369 €67.8
NVIDIA GeForce RTX 3080 10GBQ8_0fits55 tok/s500 €110.0
AMD Radeon RX 9060 XT 16GBQ8_0fits21 tok/s550 €37.3
Intel Arc A770 16GBQ8_0fits33 tok/s646 €50.6
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits21 tok/s650 €32.0
NVIDIA GeForce RTX 4070 SuperQ8_0fits37 tok/s707 €51.6
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits32 tok/s739 €43.8
AMD Radeon RX 9070 XTQ8_0fits41 tok/s778 €52.8
NVIDIA GeForce RTX 5070Q8_0fits49 tok/s798 €60.9
Mac mini M4 16GBQ8_0fits9 tok/s800 €11.4
AMD Radeon RX 7600 XTQ8_0fits19 tok/s813 €22.7
AMD Radeon RX 7900 XTQ8_0fits51 tok/s855 €60.1
AMD Radeon RX 7800 XTQ8_0fits40 tok/s1.002 €40.0
Intel Arc Pro B60Q8_0fits27 tok/s1.074 €24.8
NVIDIA GeForce RTX 4080 SuperQ8_0fits53 tok/s1.100 €48.5
NVIDIA GeForce RTX 5070 TiQ8_0fits65 tok/s1.149 €56.4
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits49 tok/s1.247 €39.0
Mac mini M4 32GBQ8_0fits9 tok/s1.400 €6.5
NVIDIA GeForce RTX 5080Q8_0fits70 tok/s1.500 €46.3
AMD Radeon RX 7900 XTXQ8_0fits62 tok/s1.555 €39.6
NVIDIA GeForce RTX 3090Q8_0fits68 tok/s1.850 €36.6
AMD Radeon AI PRO R9700Q8_0fits41 tok/s1.867 €22.0
NVIDIA GeForce RTX 3090 TiQ8_0fits73 tok/s2.500 €29.2
Mac mini M4 Pro 48GBQ8_0fits21 tok/s2.699 €7.7
Mac mini M4 Pro 64GBQ8_0fits21 tok/s2.799 €7.4
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits16 tok/s3.700 €4.4
NVIDIA GeForce RTX 4090Q8_0fits73 tok/s3.955 €18.4
Mac Studio M4 Max 64GBQ8_0fits41 tok/s4.183 €9.9
Mac Studio M4 Max 128GBQ8_0fits41 tok/s5.800 €7.1
Mac Studio M3 Ultra 96GBQ8_0fits62 tok/s5.999 €10.4
NVIDIA GeForce RTX 5090Q8_0fits130 tok/s6.028 €21.5
NVIDIA DGX Spark 128GBQ8_0fits20 tok/s8.313 €2.4
ASUS Ascent GX10 128GBQ8_0fits20 tok/s8.623 €2.3
Mac Studio M3 Ultra 256GBQ8_0fits62 tok/s15.555 €4.0
Mac Studio M3 Ultra 512GBQ8_0fits62 tok/s18.995 €3.3
NVIDIA RTX PRO 6000 BlackwellQ8_0fits130 tok/s19.076 €6.8
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits16 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits16 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.1 GB4.3 GB5.7 GB7.7 GB11.6 GB
mlx-4bitmlx4.0 GB5.2 GB6.6 GB8.6 GB12.4 GB
Q4_K_Mgguf4.4 GB5.5 GB7.0 GB8.9 GB12.8 GB
Q5_K_Mgguf5.1 GB6.3 GB7.7 GB9.6 GB13.5 GB
mlx-6bitmlx5.8 GB6.9 GB8.4 GB10.3 GB14.2 GB
Q6_Kgguf5.8 GB7.0 GB8.5 GB10.4 GB14.3 GB
mlx-8bitmlx7.5 GB8.7 GB10.2 GB12.1 GB16.0 GB
Q8_0gguf7.5 GB8.7 GB10.2 GB12.1 GB16.0 GB

Run it

Copy a command for the runtime you use.

  • mlx-3bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Qwen-7B-3bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Qwen-7B-3bit
  • mlx-4bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Qwen-7B-4bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Qwen-7B-4bit
  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
  • Q5_K_M
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q5_K_M
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF@q5_k_m
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q5_K_M
  • mlx-6bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Qwen-7B-6bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Qwen-7B-6bit
  • Q6_K
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q6_K
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF@q6_k
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q6_K
  • mlx-8bit
    • LM Studiolms get mlx-community/DeepSeek-R1-Distill-Qwen-7B-8bit
    • MLXmlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Qwen-7B-8bit
  • Q8_0
    • Ollamaollama run hf.co/unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q8_0
    • LM Studiolms get unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q8_0

Notes

Distilled from DeepSeek-R1 onto Qwen2.5-Math-7B (Qwen2.5 series is Apache 2.0); the card licenses the weights under MIT. Use temperature 0.5-0.7, no system prompt, and start output with "<think>\n".

Questions

How much VRAM does DeepSeek R1 Distill Qwen 7B need?
At mlx-3bit, DeepSeek R1 Distill Qwen 7B needs about 4 GB of memory at 8k context and 4 GB at 8k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running DeepSeek R1 Distill Qwen 7B locally?
The cheapest hardware in Germany that runs DeepSeek R1 Distill Qwen 7B fully in memory at 8k context is the NVIDIA GeForce RTX 3060 12GB, 309 € at Amazon, at about 26 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 55 tok/s for 500 €). The fastest we price is the NVIDIA GeForce RTX 5090, at about 130 tok/s.
Can I run DeepSeek R1 Distill Qwen 7B 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 70 tok/s (estimated).
Can I run DeepSeek R1 Distill Qwen 7B 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 73 tok/s (estimated).
How do I run DeepSeek R1 Distill Qwen 7B locally?
With Ollama: ollama run hf.co/unsloth/DeepSeek-R1-Distill-Qwen-7B-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 Qwen 7B released under?
MIT License, which allows commercial use.