DeepSeek-V3.1 VRAM & Memory Requirements
Specific checkpoints with sourced architecture and weight files. GGUF Q4_K_M (Unsloth): 378.22 GiB–444.21 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-V3.1 - Revision
c0781d039fb7a1ba2abc4add0bdc293e92d2b8db - Total parameters684,531,386,000
- 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
- 377.56 GiB (405,398,012,928 bytes)
- Raw KV cache
- 0.54 GiB (575,668,224 bytes)
- Engine extras / workspace
- 0.13 GiB–66.11 GiB
- Total estimated demand
- 378.22 GiB–444.21 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 | 405,398,012,928 (377.56 GiB / 405.40 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| GGUF Q5_K_M (Unsloth) gguf-q5_k_m | 476,161,393,760 (443.46 GiB / 476.16 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| GGUF Q6_K (Unsloth) gguf-q6_k | 551,313,395,136 (513.45 GiB / 551.31 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| GGUF Q8_0 (Unsloth) gguf-q8_0 | 713,286,520,224 (664.30 GiB / 713.29 GB) | llama.cpp, ollama, unspecified | file-metadata | |
| INT4 theoretical | No published file | 342,265,693,000 (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) | 377.82 GiB–443.63 GiB | 378.22 GiB–444.21 GiB | 379.83 GiB–446.48 GiB |
| GGUF Q5_K_M (Unsloth) | 443.72 GiB–520.93 GiB | 444.12 GiB–521.51 GiB | 445.73 GiB–523.79 GiB |
| GGUF Q6_K (Unsloth) | 513.71 GiB–603.03 GiB | 514.11 GiB–603.61 GiB | 515.72 GiB–605.89 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.02 GiB–411.32 GiB | 319.42 GiB–411.90 GiB | 321.03 GiB–414.17 GiB |
Raw KV contribution
Related pages
Sources
- DeepSeek-V3.1 model card
- config.json — revision c0781d039fb7a1ba2abc4add0bdc293e92d2b8db
- safetensors index — metadata.total_size=1369062772000
- Artifact repo unsloth/DeepSeek-V3.1-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 684531386000 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 405398012928 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.