Run DeepSeek R1 Qwen3 8B Locally: VRAM & GPU Requirements
DeepSeek R1 Qwen3 8B is Qwen3 8B trained on R1-0528 reasoning traces, needing about 7.3 GB of VRAM at 4-bit with 8K context so a single 8GB GPU can run it. It is the model Ollama pulls when you run deepseek-r1. Math is a clear step up from the original Qwen3 8B, though it writes out a block of thinking before every answer. For a new local setup, we recommend Qwen3.5 9B, where thinking can be switched on and off.
DeepSeek R1 Qwen3 8B details
- Min VRAM at 4-bit (8K context)8 GB
- Parameters8.2B
- Max context128K
- Architecture
- Dense
- License
- MIT
- Launch date
- May 29, 2025
- Vendor
- DeepSeek
- Hugging Face repo
- deepseek-ai/DeepSeek-R1-0528-Qwen3-8B
- MLX repo (Apple)
- mlx-community/DeepSeek-R1-0528-Qwen3-8B-4bit
- Ollama tag
- deepseek-r1:8b
- Revision
- 0528
- Layers
- 36
- Hidden size
- 4,096
- KV heads
- 8
- Head dim
- 128
How much VRAM does DeepSeek R1 Qwen3 8B need?
| Quantization | WeightsGB | 8K contextGB | 32K contextGB | 128K context (max)GB |
|---|---|---|---|---|
| 1-bit | 2.4GGUF | 4.7 | 8.3 | 22.8 |
| 2-bit | 3.5GGUF | 5.8 | 9.4 | 23.9 |
| 3-bit | 4.3GGUF | 6.6 | 10.2 | 24.7 |
| 4-bit | 5GGUF | 7.3 | 10.9 | 25.4 |
| 5-bit | 5.9GGUF | 8.2 | 11.8 | 26.3 |
| 8-bit | 8.7GGUF | 11 | 14.6 | 29.1 |
| BF16/FP16 | 16.4GGUF | 18.7 | 22.3 | 36.8 |
Full calculation rules are on the Methodology page.
Can a single GPU run DeepSeek R1 Qwen3 8B?
Yes, DeepSeek R1 Qwen3 8B runs on almost any discrete GPU, and the 4-bit build fits even a single 8GB card. What you need to plan around is context. Hard problems can trigger tens of thousands of reasoning tokens before an answer, so leave at least 32K or it gets cut off mid-thought. A 16GB card like the RTX 5060 Ti 16GB can run 8-bit with 32K context at near-original quality. A 24GB RTX 3090 runs 8-bit out to about 105K at roughly 70 tokens/s. Use 4-bit on 12GB cards, as 2-bit saves too little space to be worth it.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $41316 listings | 136.4 | 83K | |
| $88045 listings | 75.1 | 83K | |
| $1,37813 listings | 136.4 | 128K | |
| Radeon RX 7900 XTX24 GB | $1,40027 listings | 143.7 | 128K |
| $1,992116 listings | 140.8 | 128K | |
| $3,82574 listings | 149.4 | 128K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 45 | 128K |
| $4,89925 listings | 119.8 | 128K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 174.1 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 99.1 | 128K |
| $7,385128 listings | 228.4 | 128K | |
| $7,90037 listings | 47.7 | 128K | |
| $18,60020 listings | 228.4 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $41316 listings | 105.2 | 73K | |
| $88045 listings | 56.6 | 73K | |
| $1,37813 listings | 105.2 | 128K | |
| Radeon RX 7900 XTX24 GB | $1,40027 listings | 111.1 | 128K |
| $1,992116 listings | 108.8 | 128K | |
| $3,82574 listings | 115.8 | 128K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 33.5 | 128K |
| $4,89925 listings | 91.8 | 128K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 136.3 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 75.3 | 128K |
| $7,385128 listings | 182.8 | 128K | |
| $7,90037 listings | 35.6 | 128K | |
| $18,60020 listings | 182.8 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| $41316 listings | 67.3 | 49K | |
| $88045 listings | 35.1 | 49K | |
| $1,37813 listings | 67.3 | 128K | |
| Radeon RX 7900 XTX24 GB | $1,40027 listings | 71.3 | 105K |
| $1,992116 listings | 69.7 | 105K | |
| $3,82574 listings | 74.5 | 105K | |
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,02531 listings | 20.5 | 128K |
| $4,89925 listings | 58.2 | 128K | |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $6,7995 listings | 88.8 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,00029 listings | 47.3 | 128K |
| $7,385128 listings | 122.5 | 128K | |
| $7,90037 listings | 21.8 | 128K | |
| $18,60020 listings | 122.5 | 128K |
Only common GPUs and systems are listed, from cheapest to most expensive.
What to know before running DeepSeek R1 Qwen3 8B locally
It isn't the full R1
Despite R1 in the name, it is not the same thing as the full 671B R1. Its architecture is identical to Qwen3 8B; DeepSeek simply post-trained Qwen3 8B on R1-0528's reasoning traces. DeepSeek specifically points out that its tokenizer configuration follows R1-0528, so when you deploy or convert it yourself, take the config files from DeepSeek's repository rather than substituting the original Qwen3 ones.
Which quantization to pick
If you have the VRAM, use 8-bit: the weights are 8.7 GB, and with 32K of context the total is about 14.6 GB, which fits on a 16GB card. On a 12GB card, use 4-bit (about 10.9 GB at 32K). 2-bit is only 1.5 GB smaller than 4-bit, and for an 8B model that saving isn't worth it.
Official recommended settings
DeepSeek's website and app use
temperature0.6, and its evaluations usetop_p0.95. Unlike the 14B and 32B distills from January 2025, the 0528 version supports system prompts and no longer needs the thinking tag added manually at the start of the output.Don't run hard problems at the default context
Default context is often too short, so long thinking gets cut off. Ollama sets its default based on VRAM: only 4K below 24GB, and 32K from 24 to 48GB. The llama-server command on this page uses 8K (
-c 8192). For math and coding problems, raise-cto 32768 or more in llama-server; in Ollama, increase it with the OLLAMA_CONTEXT_LENGTH environment variable or /set parameternum_ctx.
Launch commands
Ollama
- Windows
- macOS
- Linux
ollama run deepseek-r1:8bllama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server -hf unsloth/DeepSeek-R1-0528-Qwen3-8B-GGUF:Q4_K_M -c 8192
vLLM
- Linux
- NVIDIA
- AMD
vllm serve deepseek-ai/DeepSeek-R1-0528-Qwen3-8BMLX
- 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-0528-Qwen3-8B-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 |
|---|---|---|---|
| 14.8B | 14.8B | 9 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 |