DeepSeek R1 Distill Qwen 14B

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

reasoningchatcoding

In short

DeepSeek R1 Distill Qwen 14B is an open model from DeepSeek with 14.8B parameters. At mlx-3bit, DeepSeek R1 Distill Qwen 14B needs about 8 GB of memory at 8k context and 19 GB at 64k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs DeepSeek R1 Distill Qwen 14B fully in memory at 64k context is the AMD Radeon RX 7900 XTX, 1.555 € at eBay, at about 23 tok/s (estimated).

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

What to run it on in Germany

Fully in memory at 64k 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 Tesla P40Q5_K_Mfits9 tok/s369 €24.9
Intel Arc Pro B60Q5_K_Mfits10 tok/s1.074 €9.0
AMD Radeon RX 7900 XTXQ5_K_Mfits23 tok/s1.555 €14.5
NVIDIA GeForce RTX 3090Q5_K_Mfits25 tok/s1.850 €13.4
AMD Radeon AI PRO R9700Q8_0fits12 tok/s1.867 €6.6
NVIDIA GeForce RTX 3090 TiQ5_K_Mfits27 tok/s2.500 €10.7
Mac mini M4 Pro 48GBQ8_0fits6 tok/s2.699 €2.3
Mac mini M4 Pro 64GBQ8_0fits6 tok/s2.799 €2.2
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s3.700 €1.3
NVIDIA GeForce RTX 4090Q5_K_Mfits27 tok/s3.955 €6.8
Mac Studio M4 Max 64GBQ8_0fits12 tok/s4.183 €3.0
Mac Studio M4 Max 128GBQ8_0fits12 tok/s5.800 €2.1
Mac Studio M3 Ultra 96GBQ8_0fits19 tok/s5.999 €3.1
NVIDIA GeForce RTX 5090Q8_0fits39 tok/s6.028 €6.5
NVIDIA DGX Spark 128GBQ8_0fits6 tok/s8.313 €0.7
ASUS Ascent GX10 128GBQ8_0fits6 tok/s8.623 €0.7
Mac Studio M3 Ultra 256GBQ8_0fits19 tok/s15.555 €1.2
Mac Studio M3 Ultra 512GBQ8_0fits19 tok/s18.995 €1.0
NVIDIA RTX PRO 6000 BlackwellQ8_0fits39 tok/s19.076 €2.0
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits5 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits5 tok/s––
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload4 tok/s309 €12.9
Intel Arc B580Q4_K_Moffload4 tok/s360 €10.8
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload4 tok/s500 €7.8
AMD Radeon RX 9060 XT 16GBQ4_K_Moffload5 tok/s550 €8.5
Intel Arc A770 16GBQ4_K_Moffload6 tok/s646 €8.5
NVIDIA GeForce RTX 4060 Ti 16GBQ4_K_Moffload5 tok/s650 €7.4
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload4 tok/s707 €5.9
NVIDIA GeForce RTX 5060 Ti 16GBQ4_K_Moffload6 tok/s739 €7.7
AMD Radeon RX 9070 XTQ4_K_Moffload6 tok/s778 €7.6
NVIDIA GeForce RTX 5070Q4_K_Moffload4 tok/s798 €5.5
AMD Radeon RX 7600 XTQ4_K_Moffload5 tok/s813 €5.5
AMD Radeon RX 7900 XTQ4_K_Moffload11 tok/s855 €12.9
AMD Radeon RX 7800 XTQ4_K_Moffload6 tok/s1.002 €5.9
NVIDIA GeForce RTX 4080 SuperQ4_K_Moffload7 tok/s1.100 €5.9
NVIDIA GeForce RTX 5070 TiQ4_K_Moffload7 tok/s1.149 €5.8
NVIDIA GeForce RTX 4070 Ti SuperQ4_K_Moffload6 tok/s1.247 €5.1
NVIDIA GeForce RTX 5080Q4_K_Moffload7 tok/s1.500 €4.5

2 other cards and machines 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-3bitmlx6.0 GB8.3 GB12.9 GB19.1 GB31.5 GB
mlx-4bitmlx7.7 GB10.0 GB14.6 GB20.8 GB33.2 GB
Q4_K_Mgguf8.4 GB10.6 GB15.3 GB21.4 GB33.8 GB
Q5_K_Mgguf9.8 GB12.0 GB16.7 GB22.9 GB35.2 GB
mlx-6bitmlx11.2 GB13.4 GB18.1 GB24.3 GB36.6 GB
Q6_Kgguf11.3 GB13.5 GB18.2 GB24.4 GB36.7 GB
mlx-8bitmlx14.6 GB16.9 GB21.5 GB27.7 GB40.1 GB
Q8_0gguf14.6 GB16.9 GB21.5 GB27.7 GB40.1 GB

Run it

Copy a command for the runtime you use.

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

Notes

Distilled from DeepSeek-R1 onto Qwen2.5-14B (originally Apache 2.0); card says to avoid system prompts and use temperature 0.6. Card recommends forcing output to start with "<think>\n".

Questions

How much VRAM does DeepSeek R1 Distill Qwen 14B need?
At mlx-3bit, DeepSeek R1 Distill Qwen 14B needs about 8 GB of memory at 8k context and 19 GB at 64k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running DeepSeek R1 Distill Qwen 14B locally?
The cheapest hardware in Germany that runs DeepSeek R1 Distill Qwen 14B fully in memory at 64k context is the AMD Radeon RX 7900 XTX, 1.555 € at eBay, at about 23 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 39 tok/s.
Can I run DeepSeek R1 Distill Qwen 14B on a 16 GB GPU?
Only partly: at 64k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 5 tok/s on the AMD Radeon RX 9060 XT 16GB (estimated).
Can I run DeepSeek R1 Distill Qwen 14B on a 24 GB GPU?
Yes: at Q5_K_M it fits fully in 24 GB at 64k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 27 tok/s (estimated).
How do I run DeepSeek R1 Distill Qwen 14B locally?
With Ollama: ollama run hf.co/unsloth/DeepSeek-R1-Distill-Qwen-14B-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 14B released under?
MIT License, which allows commercial use.