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 12 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs DeepSeek R1 Distill Qwen 7B fully in memory at 128k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 27 tok/s (estimated).

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

Cheapest way to run it in the US today

NVIDIA RTX PRO 4000 Blackwell, new at Amazon

Runs DeepSeek R1 Distill Qwen 7B at Q8_0 fully in memory at 128k context, about 27 tok/sest.

$339

In stock, checked

What to run it on in the US

Fully in memory at 128k 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 RTX PRO 4000 BlackwellQ8_0fits27 tok/s$33978.8
NVIDIA Tesla P40Q8_0fits14 tok/s$44930.5
Intel Arc Pro B50Q6_Kfits8 tok/s$60013.5
NVIDIA GeForce RTX 5060 Ti 16GBQ6_Kfits20 tok/s$61832.7
AMD Radeon RX 9060 XT 16GBQ6_Kfits13 tok/s$72017.8
Intel Arc A770 16GBQ6_Kfits20 tok/s$74527.2
AMD Radeon RX 7800 XTQ6_Kfits25 tok/s$75732.9
NVIDIA RTX PRO 2000 BlackwellQ6_Kfits13 tok/s$79516.4
AMD Radeon RX 9070 XTQ6_Kfits26 tok/s$81031.6
AMD Radeon RX 9070Q6_Kfits26 tok/s$86029.8
AMD Radeon RX 7900 XTQ8_0fits28 tok/s$88032.0
Intel Arc Pro B60Q8_0fits15 tok/s$89916.2
NVIDIA GeForce RTX 4060 Ti 16GBQ6_Kfits13 tok/s$91814.2
AMD Radeon RX 7600 XTQ6_Kfits12 tok/s$95912.0
NVIDIA GeForce RTX 4070 Ti SuperQ6_Kfits30 tok/s$1,14026.6
Mac mini M4 32GBQ8_0fits5 tok/s$1,1994.2
NVIDIA GeForce RTX 5070 TiQ6_Kfits40 tok/s$1,30031.0
AMD Radeon RX 7900 XTXQ8_0fits34 tok/s$1,40024.1
NVIDIA GeForce RTX 4080 SuperQ6_Kfits33 tok/s$1,46922.5
AMD Radeon AI PRO R9700Q8_0fits23 tok/s$1,70013.2
Intel Arc Pro B70Q8_0fits20 tok/s$1,80010.8
NVIDIA GeForce RTX 5080Q6_Kfits43 tok/s$1,90022.7
NVIDIA GeForce RTX 3090Q8_0fits37 tok/s$1,97918.8
Mac mini M4 Pro 48GBQ8_0fits11 tok/s$2,0255.6
NVIDIA GeForce RTX 3090 TiQ8_0fits40 tok/s$2,03319.7
NVIDIA GeForce RTX 4090Q8_0fits40 tok/s$2,07319.3
Mac mini M4 Pro 64GBQ8_0fits11 tok/s$2,3994.8
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits17 tok/s$2,9805.8
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits9 tok/s$3,5002.6
Mac Studio M4 Max 64GBQ8_0fits23 tok/s$3,5006.5
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits9 tok/s$3,8002.4
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits9 tok/s$3,9592.3
NVIDIA RTX PRO 4500 BlackwellQ8_0fits36 tok/s$4,0008.9
AMD Radeon PRO W7900Q8_0fits30 tok/s$4,0007.6
Mac Studio M3 Ultra 96GBQ8_0fits34 tok/s$4,7587.2
Mac Studio M4 Max 128GBQ8_0fits23 tok/s$5,4004.2
NVIDIA RTX A6000Q8_0fits31 tok/s$5,9895.1
ASUS Ascent GX10 128GBQ8_0fits11 tok/s$6,1001.8
NVIDIA GeForce RTX 5090Q8_0fits71 tok/s$6,49511.0
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits53 tok/s$6,9997.6
NVIDIA DGX Spark 128GBQ8_0fits11 tok/s$7,8001.4
NVIDIA RTX 6000 Ada GenerationQ8_0fits38 tok/s$8,4954.5
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits53 tok/s$8,4996.3
Mac Studio M3 Ultra 256GBQ8_0fits34 tok/s$9,5003.6
NVIDIA RTX PRO 6000 BlackwellQ8_0fits71 tok/s$16,0004.5
Mac Studio M3 Ultra 512GBQ8_0fits34 tok/s$30,0001.1
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits9 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits9 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits11 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits11 tok/s––
Intel Arc B570Q4_K_Moffload9 tok/s$30428.0
NVIDIA GeForce RTX 5050Q4_K_Moffload7 tok/s$35919.8
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload13 tok/s$38833.7
NVIDIA GeForce RTX 4060Q4_K_Moffload7 tok/s$40017.3
Intel Arc B580Q4_K_Moffload13 tok/s$42529.6
NVIDIA GeForce RTX 5060Q4_K_Moffload8 tok/s$43517.5
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload12 tok/s$50023.2
NVIDIA GeForce RTX 5060 Ti 8GBQ4_K_Moffload8 tok/s$51114.9
NVIDIA GeForce RTX 4060 Ti 8GBQ4_K_Moffload7 tok/s$53613.1
NVIDIA GeForce RTX 4070Q4_K_Moffload16 tok/s$57028.1
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload16 tok/s$80020.0
NVIDIA GeForce RTX 5070Q4_K_Moffload19 tok/s$90020.7

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.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 12 GB at 128k, 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 the US that runs DeepSeek R1 Distill Qwen 7B fully in memory at 128k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 27 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 71 tok/s.
What is the cheapest way to run DeepSeek R1 Distill Qwen 7B in the US today?
The NVIDIA RTX PRO 4000 Blackwell, $339 new at Amazon, in stock: it runs DeepSeek R1 Distill Qwen 7B at Q8_0 fully in memory at 128k context, at about 27 tok/s (estimated).
Can I run DeepSeek R1 Distill Qwen 7B on a 16 GB GPU?
Yes: at Q6_K it fits fully in 16 GB at 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 43 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 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 40 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.

More hardware for local AI