The architecture numbers that set the memory bill
DeepSeek-R1 is a mixture-of-experts model with 671 billion total parameters and 37 billion activated per token, according to its model card. It is built on the DeepSeek-V3 architecture, and the card points to the DeepSeek-V3 repository for running it locally. The current release is DeepSeek-R1-0528, a minor version upgrade with the same config.
Only 37B parameters do work for each token, but all 671B must sit in GPU memory, because the router can pick any expert at any step. That is the core of the sizing problem: the compute looks like a mid-size model, the memory looks like a very large one.
The config.json sets 61 layers, a hidden size of 7,168, 128 attention heads, 256 routed experts plus 1 shared expert, and 8 experts selected per token. Attention is Multi-head Latent Attention (MLA), which caches a compressed latent of rank 512 plus a 64-dimension rotary key per layer instead of full keys and values. The weights are stored in FP8 (e4m3) with 128×128 block scales.
| Property | DeepSeek-R1 (and R1-0528) | Source |
|---|---|---|
| Total parameters | 671B (685B on Hugging Face with the 14B MTP module) | Model card, V3 README |
| Activated per token | 37B | Model card |
| Layers | 61 (first 3 dense, rest MoE) | config.json |
| Experts | 256 routed + 1 shared, 8 routed active | config.json |
| Attention | MLA, kv_lora_rank 512, rope dim 64 | config.json |
| Context length | 128K | Model card |
| Released weights | FP8 e4m3, block size 128×128 | config.json |
| License | MIT, commercial use allowed | Model card |
References: DeepSeek-R1 model card · DeepSeek-R1-0528 model card · DeepSeek-R1 config.json · DeepSeek-V3 GitHub README
VRAM by precision for the full 671B model
Weights first. At one byte per parameter, FP8 weights take about 671 GB, and the Hugging Face repository stores about 689 GB including the multi-token prediction module and scale factors. Upcasting to BF16 doubles that to about 1,342 GB. NVIDIA’s FP4 checkpoint says it cuts disk size and GPU memory by roughly 1.6x against FP8, which puts it near 430 GB.
Then the KV cache. MLA stores 512 + 64 = 576 values per token per layer. In BF16 that is 576 × 61 layers × 2 bytes = 70,272 bytes, about 70 KB per token. For a stated workload of 16 concurrent requests at 32K tokens each (524,288 tokens), the cache needs 524,288 × 70,272 bytes ≈ 36.8 GB, or about 18.4 GB with an FP8 KV cache. That is small next to the weights, which is the point of MLA.
Add headroom for activations, CUDA graphs and framework buffers, and do not plan to fill memory to the last gigabyte. The VRAM calculator runs the same arithmetic for other contexts and batch sizes, and the LLM VRAM budget guide covers the method.
| Precision | Weights | KV cache (16 × 32K, BF16) | Total before overhead |
|---|---|---|---|
| BF16 (upcast) | ≈1,342 GB | ≈36.8 GB | ≈1,379 GB |
| FP8 (official) | ≈685 GB | ≈36.8 GB | ≈722 GB |
| FP4 (NVIDIA checkpoint) | ≈430 GB | ≈36.8 GB | ≈467 GB |
References: DeepSeek-R1 config.json · DeepSeek-V3 GitHub README · NVIDIA DeepSeek-R1-FP4 model card
DeepSeek R1 GPU requirements: which GPUs and how many
Divide the total by GPU memory and round up to a configuration the serving engines support. SGLang’s DeepSeek guide lists FP8 as the recommended weight type and names 8× H200, 8× B200, 8× MI300X or two nodes of 8× H100 as supported hardware. Eight H100s hold 640 GB, which is less than the FP8 weights alone, so H100 needs a second node.
For BF16, the same guide lists two nodes of 8× H200 or MI300X, or four nodes of 8× H100 or A100. A100 has no FP8 tensor cores, and the guide’s A100 options are BF16 on 32 GPUs or INT8 on 16. It also lists 32× L40S for INT8. vLLM’s recipe shows the FP4 checkpoint on 4 or 8 B200s.
RTX PRO 6000 has 96 GB, so eight cards hold 768 GB. That is enough on paper for FP8 weights with a modest cache, but it is not one of the documented configurations and the cards communicate over PCIe rather than NVLink, so treat it as an experiment. Consumer cards such as the RTX 4090 and 5090 are for the distilled models only.
| Setup | Total GPU memory | Precision | Documented by |
|---|---|---|---|
| 8× H200 141 GB | 1,128 GB | FP8 | SGLang, vLLM |
| 8× B200 (DGX B200) | 1,440 GB | FP8 | SGLang |
| 4× B200 | ≈720 GB | FP4 | vLLM recipe |
| 8× MI300X 192 GB | 1,536 GB | FP8 | SGLang, vLLM |
| 2 nodes × 8× H100 80 GB | 1,280 GB | FP8 | SGLang |
| 16× A100 80 GB | 1,280 GB | INT8 | SGLang |
| 32× L40S 48 GB | 1,536 GB | INT8 | SGLang |
References: SGLang documentation: DeepSeek V3 usage · vLLM recipes: DeepSeek-V3 (R1) usage guide · NVIDIA H100 specifications · NVIDIA H200 specifications · NVIDIA DGX B200 specifications · AMD Instinct MI300X specifications · NVIDIA A100 specifications · NVIDIA L40S specifications · NVIDIA RTX PRO 6000 Blackwell specifications
Serve the full model with vLLM or SGLang
vLLM’s DeepSeek recipe serves R1-0528 on 8× H200 or 8× MI300X with: vllm serve deepseek-ai/DeepSeek-R1-0528 --trust-remote-code --tensor-parallel-size 8 --enable-expert-parallel. Swapping --tensor-parallel-size 8 for --data-parallel-size 8 gives the data-parallel-plus-expert-parallel layout. On 4× B200 the recipe serves nvidia/DeepSeek-R1-FP4 with --tensor-parallel-size 4 --enable-expert-parallel.
SGLang’s documented launch, with the R1 model ID swapped in, is python3 -m sglang.launch_server --model-path deepseek-ai/DeepSeek-R1-0528 --tp 8, adding --ep 8 for expert parallelism. Its docs warn not to add --quantization fp8, because the checkpoint is already FP8. Data-parallel attention is recommended for large batches because it reduces KV cache duplication across tensor-parallel ranks, and not recommended for low-latency, small-batch serving.
Download time is real: plan for about 689 GB per node on fast local disk. The vLLM deployment runbook covers drivers, Docker and the flags that cap memory use.
References: vLLM recipes: DeepSeek-V3 (R1) usage guide · SGLang documentation: DeepSeek V3 usage · DeepSeek-V3 GitHub README
The distilled models: R1 reasoning on one GPU
DeepSeek released six dense models fine-tuned on samples generated by R1: Qwen-based 1.5B, 7B, 14B and 32B, and Llama-based 8B and 70B. A seventh, DeepSeek-R1-0528-Qwen3-8B, distills R1-0528 into Qwen3 8B. These are ordinary dense transformers with grouped-query attention and 128K context, so standard sizing applies.
The table uses the exact parameter counts from Hugging Face and the layer and KV head counts from each config.json. KV cache per token is 2 × layers × KV heads × 128 × 2 bytes in BF16. The stated workload is 4 concurrent requests at 32K tokens (131,072 tokens). Licenses differ: the Qwen 2.5 bases are Apache 2.0, while the Llama-based models carry the Llama 3.1 or 3.3 license.
| Model | BF16 weights | KV per token | KV (4 × 32K) | Total | Starting GPU |
|---|---|---|---|---|---|
| Distill-Qwen-1.5B | 3.6 GB | 28 KB | 3.8 GB | ≈7 GB | RTX 4090, L4 |
| Distill-Qwen-7B | 15.2 GB | 57 KB | 7.5 GB | ≈23 GB | RTX 5090, L40S |
| Distill-Llama-8B | 16.1 GB | 131 KB | 17.2 GB | ≈33 GB | L40S, RTX PRO 6000 |
| R1-0528-Qwen3-8B | 16.4 GB | 147 KB | 19.3 GB | ≈36 GB | L40S, RTX PRO 6000 |
| Distill-Qwen-14B | 29.5 GB | 197 KB | 25.8 GB | ≈55 GB | A100 or H100 80 GB |
| Distill-Qwen-32B | 65.5 GB | 262 KB | 34.4 GB | ≈100 GB | 1× H200 or 2× H100 |
| Distill-Llama-70B | 141.1 GB | 328 KB | 42.9 GB | ≈184 GB | 2× H200 or 4× H100 |
References: DeepSeek-R1 model card · DeepSeek-R1-0528 model card · DeepSeek-R1-Distill-Qwen-32B model card

Serving and fitting the distilled models
The model card’s own example is vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --tensor-parallel-size 2 --max-model-len 32768 --enforce-eager, or python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --trust-remote-code --tp 2 with SGLang. Change the model ID and parallel size for the other sizes.
To fit a smaller card, shorten --max-model-len, lower concurrency, or quantize. FP8 weights halve the weight column: the 32B model drops to about 67 GB total for the same workload, which fits one 80 GB GPU, and the 70B model to about 114 GB, which fits two H100s. The trade-offs are in LLM quantization for inference.
Reasoning traces are long. DeepSeek evaluated R1 with generation lengths up to 32,768 tokens, and R1-0528 up to 64K, so budget context for the thinking, not just the answer. The card recommends a temperature of 0.5 to 0.7, with 0.6 suggested.
References: DeepSeek-R1 model card · DeepSeek-R1-0528 model card · vLLM documentation: vllm serve CLI arguments
Illustrative cost framing
These figures are illustrative and use an assumed $3 per GPU-hour for data-center cards and an assumed $1 per GPU-hour for a 48 GB card, not quoted prices. They show how GPU count drives spend. They say nothing about tokens per second, which you must measure on your own prompts.
The gap between the full model and a distill is roughly an order of magnitude per hour. Test whether Distill-Qwen-32B or Distill-Llama-70B meets your quality bar before committing to a full node. Current NeuraMesh rates are on GPU prices.
| Setup (illustrative) | GPUs | Per hour | Per 30-day month, 24/7 |
|---|---|---|---|
| Full R1, FP8 on 8× H200 | 8 | $24 | $17,280 |
| Full R1, FP8 on 2 × 8× H100 | 16 | $48 | $34,560 |
| Distill-Llama-70B on 2× H200 | 2 | $6 | $4,320 |
| Distill-Qwen-32B on 1× H200 | 1 | $3 | $2,160 |
| Distill-Llama-8B on 1× L40S | 1 | $1 | $720 |
Checklist and next step
Pick the model: full R1 or a distill. Fix your context length and concurrency, then compute weights plus KV cache. For the full model, choose FP8 on 8× H200, 8× B200 or 8× MI300X, two H100 nodes, or FP4 on B200. Pin the vLLM or SGLang version, stage the weights on local disk and measure throughput before you scale.
NeuraMesh rents these GPUs by the hour: choose a GPU, a plan, GPU count, hours and region on rent GPUs or go straight to H200 rental, and you receive a confirmed quotation, typically within one business day, with nothing charged until you approve. If you are unsure which size fits, ask the compute advisor.
NeuraMesh prices for these GPUs
| GPU | Memory | Data center | Value |
|---|---|---|---|
| RTX 4090 | 24 GB | $0.46 | $0.40 |
| L40S | 48 GB | $1.26 | $0.54 |
| A100 | 80 GB | $1.56 | $0.98 |
| H100 | 80 GB | $2.88 | $2.00 |
Every order is confirmed in a quotation before you pay. See all GPU prices.
Questions readers ask
What are the minimum DeepSeek R1 GPU requirements for the full model?
The full 671B model in its official FP8 format needs about 685 GB for weights plus KV cache. Documented single-node options are 8× H200, 8× B200 or 8× MI300X. On H100 you need two nodes of eight, and NVIDIA’s FP4 checkpoint runs on 4 or 8 B200s.
Can I run DeepSeek R1 on one GPU?
Not the full model; even FP4 weights are around 430 GB. The distilled models are a different story: Distill-Qwen-1.5B to Distill-Llama-8B fit one 24 to 48 GB card, and Distill-Qwen-32B fits one 80 GB GPU with FP8 weights at moderate context.
Can I run DeepSeek R1 on an RTX 4090?
Only the distilled models. A 24 GB RTX 4090 holds Distill-Qwen-1.5B comfortably and the 7B or 8B models at shorter context or with quantized weights. The 671B model needs hundreds of gigabytes of GPU memory.
How much KV cache does DeepSeek R1 need?
MLA caches 576 values per token per layer, about 70 KB per token in BF16 across 61 layers. Sixteen requests at 32K tokens need about 36.8 GB, or about 18.4 GB with an FP8 KV cache.
Is DeepSeek R1 licensed for commercial use?
Yes. The R1 weights and code are under the MIT license, which allows commercial use and derivatives. The distilled models also inherit their base licenses: Apache 2.0 for the Qwen 2.5 bases and the Llama 3.1 or 3.3 license for the Llama ones.
Sources and editorial notes
- DeepSeek-R1 model card
- DeepSeek-R1-0528 model card
- DeepSeek-R1 config.json
- DeepSeek-V3 GitHub README
- NVIDIA DeepSeek-R1-FP4 model card
- SGLang documentation: DeepSeek V3 usage
- vLLM recipes: DeepSeek-V3 (R1) usage guide
- NVIDIA H100 specifications
- NVIDIA H200 specifications
- NVIDIA DGX B200 specifications
- AMD Instinct MI300X specifications
- NVIDIA A100 specifications
- NVIDIA L40S specifications
- NVIDIA RTX PRO 6000 Blackwell specifications
- DeepSeek-R1-Distill-Qwen-32B model card
- vLLM documentation: vllm serve CLI arguments
Primary documentation reviewed November 24, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.
Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.



