DeepSeek V3: GPU memory and which GPUs fit it
Hugging Face: deepseek-ai/DeepSeek-V3
DeepSeek V3 needs about 641.3 GiB for its weights, more than any single GPU here holds with room to spare. In vLLM 0.34 at 32K context the smallest setup is 4× B200 (716 GiB in total), with room for 7.0 requests at full context. Change the context, users or GPU in the calculator.
The model
- Weights: 641.3 GiB (from the checkpoint’s files)
- KV cache per token: 69 KiB at 16-bit
- Native context: 163,840 tokens
- Mixture-of-experts: each token uses 8 of 256 experts, so all weights must sit in GPU memory but each token reads only a fraction of them.
- Multi-head latent attention (MLA): a compact KV cache, but it is copied to every GPU in tensor parallel. Extra GPUs still help because they split the weights, but each GPU holds the full cache, so capacity does not grow with GPU count the way it does for grouped-query models.
Which GPUs fit it at 32K context
The fewest GPUs of each type that vLLM 0.34 will start on at 32K, with 8 request slots: enough memory for at least one full-length request. “Requests at 32K” is how many full-length requests fit in memory at once on that setup; to serve 8 users at full length you may need more GPUs, which the calculator’s comparison table shows.
| GPU | GPUs to start | KV tokens | Requests at 32K | Longest single request |
|---|---|---|---|---|
| L4 (22 GiB) | more than 8 | |||
| A10G (22 GiB) | more than 8 | |||
| RTX4090 (24 GiB) | more than 8 | |||
| A100-40 (40 GiB) | more than 8 | |||
| L40S (45 GiB) | more than 8 | |||
| RTX6000-Ada (48 GiB) | more than 8 | |||
| A100-80 (80 GiB) | more than 8 | |||
| H100 (80 GiB) | more than 8 | |||
| H200 (140 GiB) | 8 | 862,497 | 26.3 | 163,840 |
| B200 (179 GiB) | 4 | 228,357 | 7.0 | 163,840 |
GPUs needed by context length
| GPU | 8K | 32K | 128K |
|---|---|---|---|
| L4 | more than 8 | more than 8 | more than 8 |
| A10G | more than 8 | more than 8 | more than 8 |
| RTX4090 | more than 8 | more than 8 | more than 8 |
| A100-40 | more than 8 | more than 8 | more than 8 |
| L40S | more than 8 | more than 8 | more than 8 |
| RTX6000-Ada | more than 8 | more than 8 | more than 8 |
| A100-80 | more than 8 | more than 8 | more than 8 |
| H100 | more than 8 | more than 8 | more than 8 |
| H200 | 8 | 8 | 8 |
| B200 | 4 | 4 | 4 |
Suggested start on 4× B200, 32K context, 8 request slots (check it on your hardware):
vllm serve deepseek-ai/DeepSeek-V3 \
--max-model-len 32768 \
--tensor-parallel-size 4 \
--max-num-seqs 8
How these numbers were made
With gpu-fit 1.3.0, an open-source tool that reads the model’s
architecture and mirrors how vLLM budgets GPU memory. Weights come from the checkpoint’s file sizes,
KV per token from the model config, and runtime overhead is calibrated on measured vLLM runs. These
are planning estimates: confirm on your own hardware before you spend money. pip install gpu-fit
and run gpu-fit deepseek-ai/DeepSeek-V3 --context 32768 --max-num-seqs 8 --gpu B200 --tp 4
to get the same numbers in your terminal.
Other models
Qwen3 4B · Qwen3 8B · Qwen3 8B FP8 · Qwen3 14B · Qwen3 32B · Qwen3 32B FP8 · Qwen3 32B AWQ · QwQ 32B · Qwen3 30B-A3B · Qwen3 30B-A3B FP8 · Qwen3 Coder 30B-A3B · Qwen3-Next 80B-A3B · Qwen3 235B-A22B · Qwen2.5 72B Instruct · Qwen2.5-VL 7B Instruct · Qwen3.8 27B FP8 · Qwen3.6 35B-A3B FP8 · DeepSeek R1 Distill Qwen 32B · DeepSeek R1 (0528) · Mistral Small 3.2 24B · Devstral Small (2507) · Mistral Nemo 12B · Phi-4 · Phi-4 mini · gpt-oss-20b · gpt-oss-120b · Llama 3.2 3B Instruct · Llama 3.1 8B Instruct · Llama 3.3 70B Instruct · Gemma 3 4B · Gemma 3 12B · Gemma 3 27B