DeepSeek-R1 VRAM & Memory Requirements
Specific checkpoints with sourced architecture and weight files. GGUF Q4_K_M (Unsloth): 377.32 GiB–443.15 GiB at 8,192 tokens, 1 sequence, FP16 KV, llama.cpp.
This result is an estimate, not a measured trace.Not verifiedFile-backed weights
Publisher and provenance
- PublisherDeepSeek
- Hugging Face
deepseek-ai/DeepSeek-R1 - Revision
56d4cbbb4d29f4355bab4b9a39ccb717a14ad5ad - Total parameters684,489,845,504
- Active parameters37,000,000,000
- Layers61
- Query heads128
- KV heads128 (mla)
- Head dimension56
- Recorded context capability163,840
- Completenesspartial · partial
Active parameters describe tokens' routed compute, not the full resident model weight footprint. Full-resident weight estimates use total parameters.
Memory layers in this estimate
Artifact bytes, raw KV, engine extras, and total demand are separate. This is not a runtime trace.
- Weight artifact
- 376.65 GiB (404,430,187,616 bytes)
- Raw KV cache
- 0.54 GiB (575,668,224 bytes)
- Engine extras / workspace
- 0.13 GiB–65.96 GiB
- Total estimated demand
- 377.32 GiB–443.15 GiB
Published artifacts
| Quantization | Selected files | Bytes | Engine | Evidence |
|---|---|---|---|---|
| FP8 safetensors fp8 | 1,369,062,772,000 (1,275.04 GiB / 1,369.06 GB) | vllm, sglang, unspecified | file-metadata | |
| GGUF Q4_K_M (Unsloth) gguf-q4_k_m | 404,430,187,616 (376.65 GiB / 404.43 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| GGUF Q5_K_M (Unsloth) gguf-q5_k_m | 475,396,558,144 (442.75 GiB / 475.40 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| GGUF Q6_K (Unsloth) gguf-q6_k | 550,798,326,880 (512.97 GiB / 550.80 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| GGUF Q8_0 (Unsloth) gguf-q8_0 | 713,286,514,368 (664.30 GiB / 713.29 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| INT4 theoretical | No published file | 342,244,922,752 (theoretical) | — | theoretical |
Memory by quantization and context
Concurrent sequences = 1. KV defaults to FP16. The range includes documented runtime extras for the listed engine. These figures use the same core as the interactive calculator.
| Quantization | 2,048 tokens | 8,192 tokens | 32,768 tokens |
|---|---|---|---|
| FP8 safetensors | 1,275.80 GiB–1,469.35 GiB | 1,276.20 GiB–1,469.90 GiB | 1,277.81 GiB–1,472.09 GiB |
| GGUF Q4_K_M (Unsloth) | 376.91 GiB–442.57 GiB | 377.32 GiB–443.15 GiB | 378.92 GiB–445.43 GiB |
| GGUF Q5_K_M (Unsloth) | 443.01 GiB–520.10 GiB | 443.41 GiB–520.68 GiB | 445.02 GiB–522.95 GiB |
| GGUF Q6_K (Unsloth) | 513.23 GiB–602.47 GiB | 513.63 GiB–603.05 GiB | 515.24 GiB–605.32 GiB |
| GGUF Q8_0 (Unsloth) | 664.56 GiB–779.98 GiB | 664.96 GiB–780.56 GiB | 666.57 GiB–782.83 GiB |
| INT4 theoretical Theoretical rows are not downloadable artifacts. | 319.00 GiB–411.29 GiB | 319.40 GiB–411.87 GiB | 321.01 GiB–414.15 GiB |
Raw KV contribution
Related pages
Sources
- DeepSeek-R1 model card
- config.json — revision 56d4cbbb4d29f4355bab4b9a39ccb717a14ad5ad
- safetensors index — metadata.total_size=1369062772000
- Artifact repo unsloth/DeepSeek-R1-GGUF
Assumptions that affect this result
- Requested context is within the recorded native window of 163840 tokens.
- Full-resident weight estimates use total parameters, including inactive MoE experts.
- This MoE lists 684489845504 total parameters and 37000000000 active parameters. Active-parameter compute is not used as the weight-residency figure.
- Weight bytes come from the selected weight files only, not from every file in the repository.
- Download file size is not peak GPU memory. Runtime layout, allocator padding, and KV are extra.
- Weight bytes come from 9 published safetensors shards totaling 404430187616 bytes.
- Multi-token prediction / draft weights exist and are not included unless enabled.
- Context budget is the number of cached tokens per sequence (prompt plus reserved generation).
Calculator
Loading catalog snapshot…
Search or pick a catalog checkpoint to see memory demand.
Search or pick a catalog checkpoint to see memory demand.