How to Deploy DeepSeek R1 Distill Qwen 14B Locally
DeepSeek R1 Distill Qwen 14B is a 14B reasoning model that DeepSeek released in January 2025, trained on samples generated by R1. It is built on Qwen2.5 14B and thinks before every answer. At 4-bit with 8K of context it takes about 11.7 GB, so a single 12GB card holds it, but thinking eats context, and a 16GB card tops out at about 35K. Stronger models of the same size are out now, so for a new setup, look at R1 Qwen3 8B or Gemma 4 12B first.
DeepSeek R1 Distill Qwen 14B details
- Min VRAM at 4-bit12 GB · 8K
- Parameters14.8B
- Max context128K
- Architecture
- Dense
- License
- MIT
- Launch date
- Jan 20, 2025
- Vendor
- DeepSeek
- Hugging Face repo
- deepseek-ai/DeepSeek-R1-Distill-Qwen-14B
- MLX repo (Apple)
- mlx-community/DeepSeek-R1-Distill-Qwen-14B-4bit
- Ollama tag
- deepseek-r1:14b
- Layers
- 48
- Hidden size
- 5,120
- KV heads
- 8
- Head dim
- 128
How much VRAM does DeepSeek R1 Distill Qwen 14B need for local deployment?
| Quantization | WeightsGB | 8K contextGB | 32K contextGB | 128K context (max)GB |
|---|---|---|---|---|
| 1-bit | 3.7est. | 6.4 | 11.2 | 30.6 |
| 2-bit | 6.5GGUF | 9.2 | 14 | 33.3 |
| 3-bit | 8.6GGUF | 11.3 | 16.1 | 35.4 |
| 4-bit | 9GGUF | 11.7 | 16.5 | 35.8 |
| 5-bit | 10.5GGUF | 13.2 | 18 | 37.3 |
| 8-bit | 15.7GGUF | 18.4 | 23.2 | 42.5 |
| BF16/FP16 | 29.5GGUF | 32.2 | 37 | 56.3 |
Full calculation rules are on the Methodology page.
Can a single GPU run DeepSeek R1 Distill Qwen 14B?
Yes, a 12GB card runs it, but how much VRAM you have decides how long it can think. The 4-bit weights are only 9 GB; context is what eats memory. It uses a conventional attention design, so every extra stretch of context takes more VRAM, and at the full 128K that extra is more than twice the size of the weights. On a 16GB card such as the RTX 5060 Ti 16GB, 4-bit tops out around 35K, which gets tight on long reasoning problems. A 24GB card reaches about 77K and runs smoothly on an RTX 3090. 3-bit frees up almost nothing, and 8-bit only shrinks your context, so put the VRAM toward context instead.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $37024 listings | 83.6 | 47K | |
| $86958 listings | 44.2 | 47K | |
| $89518 listings | 83.6 | 128K | |
| Radeon RX 7900 XTX24 GB | $1,25029 listings | 88.5 | 90K |
| $1,799107 listings | 86.5 | 90K | |
| $3,75868 listings | 92.3 | 90K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,46420 listings | 25.9 | 128K |
| $4,89916 listings | 72.6 | 128K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $7,27412 listings | 109.4 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,54920 listings | 59.2 | 128K |
| $8,24022 listings | 27.6 | 128K | |
| $8,395123 listings | 149.1 | 128K | |
| $22,50011 listings | 149.1 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $37024 listings | 64.2 | 35K | |
| $86958 listings | 33.4 | 35K | |
| $89518 listings | 64.2 | 120K | |
| Radeon RX 7900 XTX24 GB | $1,25029 listings | 68 | 77K |
| $1,799107 listings | 66.5 | 77K | |
| $3,75868 listings | 71.1 | 77K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,46420 listings | 19.5 | 128K |
| $4,89916 listings | 55.5 | 128K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $7,27412 listings | 84.8 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,54920 listings | 45.1 | 128K |
| $8,24022 listings | 20.8 | 128K | |
| $8,395123 listings | 117.3 | 120K | |
| $22,50011 listings | 117.3 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $89518 listings | 39.5 | 87K | |
| Radeon RX 7900 XTX24 GB | $1,25029 listings | 42 | 44K |
| $1,799107 listings | 41 | 44K | |
| $3,75868 listings | 44 | 44K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,46420 listings | 11.7 | 128K |
| $4,89916 listings | 34 | 128K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $7,27412 listings | 52.9 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,54920 listings | 27.4 | 128K |
| $8,24022 listings | 12.5 | 128K | |
| $8,395123 listings | 74.6 | 87K | |
| $22,50011 listings | 74.6 | 128K |
Only common GPUs and systems are listed, one set for models under 50B and another for larger ones, sorted by price from low to high.
What to know before running DeepSeek R1 Distill Qwen 14B locally
Follow the official prompting guidance
DeepSeek makes three recommendations. Set
temperaturebetween 0.5 and 0.7 (0.6 recommended); higher values tend to cause endless repetition or incoherent output. Don't use a system prompt; put every instruction in the user message. For math problems, add “Please reason step by step, and put your final answer within \boxed{}” to the prompt.It sometimes skips thinking
R1-series models occasionally output an empty thinking block and answer directly, which hurts quality. DeepSeek recommends forcing every response to start with “<think>” followed by a newline. Versions from 0528 onward (such as R1 Qwen3 8B) no longer need this step.
Context, not weights, is the bottleneck
It uses standard attention, so the KV cache that holds the context grows linearly as context gets longer. At 4-bit, going from 8K to 128K adds about 24.1 GB, more than twice the size of the weights themselves. So on a 16GB card, what limits it is context length; before tackling long reasoning problems, work out how much room to leave.
Which framework to use
It is simply the Qwen2.5 architecture, so llama.cpp, Ollama, vLLM and SGLang all support it directly. The Ollama tag is deepseek-r1:14b (4-bit, about a 9 GB download). DeepSeek says it made small changes to the config and tokenizer, so deploy with the files from DeepSeek's repository.
Launch commands
Ollama
- Windows
- macOS
- Linux
ollama run deepseek-r1:14bllama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server -hf bartowski/DeepSeek-R1-Distill-Qwen-14B-GGUF:Q4_K_M \ -c 8192
vLLM
- Linux
- NVIDIA
- AMD
vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-14BMLX
- Apple Silicon
On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.
mlx_lm.server --model mlx-community/DeepSeek-R1-Distill-Qwen-14B-4bitFile names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
Other models in the DeepSeek family
| Model | Total params | Active params | 4-bit size |
|---|---|---|---|
| 8.2B | 8.2B | 5 GB | |
| 32.8B | 32.8B | 19.9 GB | |
| 284B | 13B | 155.1 GB | |
| 671B | 37B | 405.4 GB | |
| 763B | 8 / 16B | 444.7 GB | |
| 1,600B | 49B | 849.7 GB |