DeepSeek-R1: how much VRAM does it need?
Words by AI, numbers by code. The explanations on this page were generated and translated by AI and checked against their sources by software; specifications come from the sources listed, and memory and speed figures are estimates from published formulas. No one edits pages by hand. How we use AI
DeepSeek-R1 is a mixture-of-experts model with 671B parameters, of which about 36.6B are active per token (input embedding lookup not counted). At Q4_K_M with a context of 8,192 tokens, a single GPU needs 437.4 GiB of available memory for the result to be “Fits”.
Key facts
- Original repository
- deepseek-ai/DeepSeek-R1@56d4cbb
- Publisher
- deepseek-ai
- License
- mit
- Parameters (GGUF tensor table: the tensors llama.cpp loads; multi-token-prediction layers not counted)
- 671B
- Active parameters per token (input embedding lookup not counted)
- 36.6B
- Parameters reported by the original repository (may include a vision encoder or extra layers)
- 684B
- Layers
- 61
- Attention layout
- 61 full-attention layers
- KV cache per token (F16, all attention layers)
- 4,880.0 KiB
- Longest supported context
- 163,840
GGUF files and memory needed
All quantizations come from one GGUF repository at one pinned revision: unsloth/DeepSeek-R1-GGUF@4dab99f
| Quantization | File size | X at 4,096 context | X at 8,192 context | X at 32,768 context | X at 131,072 context |
|---|---|---|---|---|---|
| BF16 | 1,250.09 GiB (30 files) | 1,335.4 GiB | 1,355.5 GiB | 1,475.9 GiB | 1,957.7 GiB |
| Q8_0 | 664.30 GiB (15 files) | 719.6 GiB | 739.7 GiB | 860.1 GiB | 1,341.9 GiB |
| Q6_K | 512.97 GiB (12 files) | 560.6 GiB | 580.6 GiB | 701.1 GiB | 1,182.9 GiB |
| Q5_K_M | 442.75 GiB (10 files) | 486.8 GiB | 506.8 GiB | 627.3 GiB | 1,109.1 GiB |
| Q4_K_M | 376.65 GiB (9 files) | 417.3 GiB | 437.4 GiB | 557.8 GiB | 1,039.6 GiB |
| Q3_K_M | 297.28 GiB (7 files) | 333.9 GiB | 353.9 GiB | 474.4 GiB | 956.2 GiB |
| Q2_K | 227.27 GiB (5 files) | 260.3 GiB | 280.3 GiB | 400.8 GiB | 882.6 GiB |
Smallest GPU for each quantization
| Quantization | Smallest GPU that fits (one card) | Memory |
|---|---|---|
| BF16 | No listed GPU fits on one card. For several cards, use the Calculator | — |
| Q8_0 | No listed GPU fits on one card. For several cards, use the Calculator | — |
| Q6_K | No listed GPU fits on one card. For several cards, use the Calculator | — |
| Q5_K_M | No listed GPU fits on one card. For several cards, use the Calculator | — |
| Q4_K_M | No listed GPU fits on one card. For several cards, use the Calculator | — |
| Q3_K_M | No listed GPU fits on one card. For several cards, use the Calculator | — |
| Q2_K | No listed GPU fits on one card. For several cards, use the Calculator | — |
GPUs that can run DeepSeek-R1
No GPU in the database fits this model on a single card.
GPUs where it doesn’t fit on one card
| GPU | Memory | Run profile | Smallest quantization | Available memory needed for “Fits” | Several identical cards | Result |
|---|---|---|---|---|---|---|
| NVIDIA GeForce GTX 1050 Ti | 4 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1650 | 4 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1060 | 6 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1660 | 6 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1660 SUPER | 6 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 2060 6GB | 6 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon Pro V520 | 8 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1070 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1070 Ti | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1080 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 2060 SUPER | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 2070 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 2080 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3050 8GB | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3060 Ti | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3070 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3070 Ti | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 4060 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 5060 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA P4 | 8 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3080 10GB | 10 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce GTX 1080 Ti | 11 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 2080 Ti | 11 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon RX 7700 XT | 12 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3080 Ti | 12 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 4070 | 12 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 4070 Ti | 12 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 5070 | 12 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon RX 7800 XT | 16 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon RX 7900 GRE | 16 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 4060 Ti 16GB | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 4070 Ti SUPER | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 4080 | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 5060 Ti 16GB | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 5070 Ti | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 5080 | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA P100 | 16 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon RX 7900 XT | 20 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon RX 7900 XTX | 24 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3090 | 24 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA GeForce RTX 3090 Ti | 24 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA L4 | 24 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| NVIDIA Tesla P40 | 24 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Does not fit even on 8 cards. | Doesn't fit |
| AMD Radeon AI PRO R9700 | 32 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | — | Doesn't fit |
| AMD Radeon PRO W7800 32GB | 32 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA GeForce RTX 5090 | 32 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | Borderline with 8 cards. | Doesn't fit |
| NVIDIA Tesla V100 32GB | 32 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
| AMD Radeon PRO W7800 48GB | 48 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | — | Doesn't fit |
| AMD Radeon PRO W7900 | 48 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA L40 | 48 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
| AMD Instinct MI210 | 64 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA H100 PCIe | 80 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA H100 NVL | 94 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA H200 SXM | 141 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA B200 | 180 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
| AMD Instinct MI300X | 192 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | — | Doesn't fit |
| NVIDIA B100 | 192 GB | CUDA (NVIDIA) | Q2_K | 280.3 GiB | — | Doesn't fit |
GPUs without a verdict
| GPU | Memory | Run profile | Smallest quantization | Available memory needed for “Fits” | Why no verdict | Result |
|---|---|---|---|---|---|---|
| AMD Instinct MI325X | 256 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. | Unknown |
| AMD Instinct MI350X | 288 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. | Unknown |
| AMD Instinct MI355X | 288 GB | ROCm on Linux (AMD) | Q2_K | 280.3 GiB | Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. | Unknown |
- CUDA (NVIDIA): llama.cpp, CUDA back end (NVIDIA discrete GPU), all layers on the GPU, Flash Attention on, micro-batch (-ub) 512, F16 KV cache, context (-c) as shown; “Fits” is judged with llama-server’s default 4 parallel sequences (-np auto, unified KV cache) and “Doesn’t fit” with 1 sequence; idle GPU with no other programs using its memory.
- ROCm on Linux (AMD): llama.cpp, ROCm back end on Linux (AMD discrete GPU), all layers on the GPU, Flash Attention on, micro-batch (-ub) 512, F16 KV cache, context (-c) as shown; “Fits” is judged with llama-server’s default 4 parallel sequences (-np auto, unified KV cache) and “Doesn’t fit” with 1 sequence; idle GPU with no other programs using its memory.
Original weights
The selected original-weight files (safetensors, within the scope defined in the methodology) account for 641.3 GiB. This is a file-set subtotal, not a total of every repository file or a claim that all model components are included. Every estimate on this page is for the GGUF files above, run with llama.cpp. deepseek-ai/DeepSeek-R1 · Methodology