How much VRAM does DeepSeek R1 Distill Qwen 32B need?
DeepSeek R1 Distill Qwen 32B has 32.76 billion parameters. The weights alone take about 61 GB in FP16/BF16, 30.5 GB in FP8 and 18.5 GB at 4-bit. KV cache comes on top: about 2 GB per sequence at an 8K context in FP16.
Smallest single GPU at Q4_K_M / 4-bit with an 8K context: RTX 3090 (24 GB).
Smallest single GPU at FP16 / BF16 with an 8K context: A100 80GB (80 GB).
VRAM for inference (8K context, 1 sequence)
| Precision | Weights | Total | Smallest GPU |
|---|---|---|---|
| FP16 / BF16 | 61 GB | 67.1 GB | A100 80GB |
| FP8 / INT8 | 30.5 GB | 35 GB | RTX 4090 48GB |
| Q6_K | 25 GB | 29.3 GB | RTX 5090 |
| Q4_K_M / 4-bit | 18.5 GB | 22.4 GB | RTX 3090 |
Which GPU on CloudGPU fits DeepSeek R1 Distill Qwen 32B
| GPU | VRAM | FP16 / BF16 | FP8 / INT8 | Q6_K | Q4_K_M / 4-bit |
|---|---|---|---|---|---|
| RTX 3090 | 24 GB | Too small | Too small | Too small | Fits |
| RTX 4090 | 24 GB | Too small | Too small | Too small | Fits |
| RTX 5090 | 32 GB | Too small | Too small | Fits | Fits |
| RTX 4090 48GB | 48 GB | Too small | Fits | Fits | Fits |
| L40S | 48 GB | Too small | Fits | Fits | Fits |
| A100 80GB | 80 GB | Fits | Fits | Fits | Fits |
| H100 | 80 GB | Fits | Fits | Fits | Fits |
| H200 | 141 GB | Fits | Fits | Fits | Fits |
| B200 | 180 GB | Fits | Fits | Fits | Fits |
8K context, 1 sequence. Each card links to its rental page. Current prices are on the pricing page; availability is shown on the deploy page.
KV cache by context length (per sequence)
| Context | KV cache (FP16) | KV cache (FP8) |
|---|---|---|
| 4K | 1 GB | 0.5 GB |
| 32K | 8 GB | 4 GB |
| 128K | 32 GB | 16 GB |
Multiply by the number of concurrent sequences. Maximum context in the model config: 131,072 tokens. Models with sliding-window attention use less than this upper bound.
VRAM for fine-tuning (2K-token sequences, batch 1)
How the estimate works
Weights = parameters × bits per parameter ÷ 8. KV cache = per-token KV size from the model config × context × concurrent sequences (halved for an FP8 KV cache). Runtime overhead = 1 GB plus 5% of the weights. LoRA assumes a 16-bit base model ×1.2 + 2 GB, QLoRA a 4-bit base ×1.3 + 2 GB, and full fine-tuning 18 bytes per parameter (AdamW, mixed precision). Real usage varies with the framework, sliding-window attention and batch shape, so leave some headroom.
Parameter count and architecture read from deepseek-ai/DeepSeek-R1-Distill-Qwen-32B on Hugging Face on 2026-12-03. These are estimates, not measurements; leave some headroom.
DeepSeek R1 Distill Qwen 32B VRAM FAQ
How much VRAM does DeepSeek R1 Distill Qwen 32B need?
About 61 GB for FP16 weights, 30.5 GB for FP8 and 18.5 GB at 4-bit, plus KV cache (about 2 GB per sequence at an 8K context) and about 1 GB of runtime overhead.
Can DeepSeek R1 Distill Qwen 32B run on an RTX 4090 (24 GB)?
Yes. At Q4_K_M / 4-bit with an 8K context it needs about 22.4 GB, which fits in 24 GB.
How much VRAM do I need to fine-tune DeepSeek R1 Distill Qwen 32B?
Roughly 25.8 GB with QLoRA, 76.7 GB with LoRA on a 16-bit base model, and 550.7 GB for full fine-tuning with AdamW (2K-token sequences, batch 1).