Size exact GPU memory for DeepSeek-R1 Distill (7B/14B/32B/70B) and full 671B MoE in FP8, INT4, and Q4_K_M with KV cache.
DeepSeek-R1 671B uses a Mixture-of-Experts (MoE) architecture: only 37B parameters activate per token, but ALL 671B weights must reside in GPU VRAM (or host RAM for hybrid offload). In native FP8 (~1.05 B/param) full weights require ~700 GB VRAM (e.g., 8x H200 or 16x H100 80GB), while 32B/70B Distill models fit comfortably on 1–2 consumer 24GB GPUs in Q4_K_M.
| Model Variant | Q4_K_M Weights | Recommended VRAM | Typical Hardware |
|---|---|---|---|
| DeepSeek-R1-Distill-7B | ~4.7 GB | 8 GB | RTX 4060 / 16GB Mac |
| DeepSeek-R1-Distill-14B | ~9.0 GB | 12–16 GB | RTX 4070 Ti / 24GB Mac |
| DeepSeek-R1-Distill-32B | ~19.8 GB | 24–32 GB | 1x RTX 4090 / 36GB Mac |
| DeepSeek-R1-Distill-70B | ~42.5 GB | 48–64 GB | 2x RTX 4090 / 1x A100 80G |
| DeepSeek-R1 / V3 671B (FP8) | ~685 GB | 760–800 GB+ | 8x H200 / 16x H100 80G |
In Q4_K_M (~19 GB weights), a single 24GB GPU (RTX 3090/4090) handles 8K–16K context comfortably; 32GB+ VRAM gives generous headroom for 32K context.
Because the router can dispatch any token to any expert layer dynamically, all expert weights must stay loaded in fast memory to avoid PCIe bottlenecks.
Yes. DeepSeek's MLA compresses KV representations significantly compared to standard MHA, making long-context serving far more memory efficient.
Estimate input/output tokens and compare API costs across GPT, Claude, Gemini, and DeepSeek.
Estimate exact GPU VRAM needed to run 7B, 14B, 32B, 70B, or 405B LLMs locally or on cloud GPUs across FP16, INT8, and Q4_K_M quantization.
Convert any JSON payload into Draft 2020-12 JSON Schema for LLM Structured Outputs, TypeScript interfaces, Kotlin data classes, or Swift Codable structs locally.
Calculate GPU VRAM and Apple Silicon unified memory requirements for Llama 3/4 and Qwen 7B, 14B, 32B, and 72B models in Ollama, llama.cpp, and vLLM.