DeepSeek R1 Distill Qwen 32B VRAM Requirements

DeepSeek R1 Distill Qwen 32B needs about 21.4 GB of VRAM at Q4_K_M with an 8K context: 18.5 GB for weights, 2.0 GB for the KV cache and 0.9 GB of runtime overhead. At Q8_0 it needs 35.3 GB and at full FP16 precision 64.0 GB. The smallest GPU that runs it fully is the NVIDIA L4 24GB.

By DeepSeek · Updated October 14, 2026 · Values from config.json on Hugging Face

21.4 GB VRAM

DeepSeek R1 Distill Qwen 32B at Q4_K_M with 8K context and the KV cache in FP16.

  • Weights 18.5 GB
  • KV cache 2.0 GB
  • Runtime overhead 0.9 GB

Which GPUs can run it

DeepSeek R1 Distill Qwen 32B VRAM by quantization

Total memory with an FP16 KV cache. "Smallest tier" is the smallest standard VRAM size with a 6% safety margin at 8K.

QuantizationBits/weightWeightsTotal at 8KTotal at 32KSmallest tier
Q4_K_M4.8518.5 GB21.4 GB27.4 GB24 GB
Q5_K_M5.6921.7 GB24.6 GB30.6 GB32 GB
Q6_K6.5925.2 GB28.0 GB34.0 GB32 GB
Q8_08.5032.5 GB35.3 GB41.3 GB48 GB
FP16 / BF1616.0061.1 GB64.0 GB70.0 GB80 GB
Q3_K_M3.9114.9 GB17.8 GB23.8 GB20 GB
Q2_K3.0011.5 GB14.3 GB20.3 GB16 GB

VRAM by context length

At Q4_K_M. The KV cache grows linearly with context: 0.25 GB per 1,000 tokens in FP16.

ContextKV cache (FP16)KV cache (Q8_0)Total, FP16 cacheTotal, Q8_0 cache
4K tokens1.0 GB0.5 GB20.4 GB19.9 GB
8K tokens2.0 GB1.1 GB21.4 GB20.5 GB
32K tokens8.0 GB4.3 GB27.4 GB23.6 GB
128K tokens32.0 GB17.0 GB51.4 GB36.4 GB

GPUs that can run DeepSeek R1 Distill Qwen 32B

At Q4_K_M with 8K context. "Best quant" is the highest-quality format that fits fully; "max context" is at Q4_K_M.

GPUUsable memoryStatusBest quantMax contextSpeed
NVIDIA L4 24GB24.0 GBFitsQ4_K_M12K~9.2 tok/s
Tesla P40 24GB24.0 GBFitsQ4_K_M12K~9.1 tok/s
Apple M4 Max 36GB24.0 GBFitsQ4_K_M12K~13 tok/s
Intel Arc Pro B60 24GB24.0 GBFitsQ4_K_M12K~11 tok/s
RTX 3090 24GB24.0 GBFitsQ4_K_M12K~28 tok/s
Radeon RX 7900 XTX 24GB24.0 GBFitsQ4_K_M12K~25 tok/s
RTX 3090 Ti 24GB24.0 GBFitsQ4_K_M12K~31 tok/s
RTX 4090 24GB24.0 GBFitsQ4_K_M12K~31 tok/s
Radeon AI PRO R9700 32GB32.0 GBFitsQ6_K42K~17 tok/s
RTX 5090 32GB32.0 GBFitsQ6_K42K~54 tok/s
Apple M4 Pro 48GB36.0 GBFitsQ6_K57K~8.4 tok/s
A100 40GB40.0 GBFitsQ8_072K~47 tok/s
Apple M5 Pro 64GB48.0 GBFitsQ8_0102K~9.5 tok/s
Apple M1 Max 64GB48.0 GBFitsQ8_0102K~12 tok/s
Radeon RX 7900 XT 20GB20.0 GB88% on GPUQ3_K_M–~9.7 tok/s
RTX 4060 Ti 16GB16.0 GB70% on GPUQ2_K–~4.4 tok/s
RTX 4070 Ti Super 16GB16.0 GB70% on GPUQ2_K–~5.5 tok/s
RTX 4080 16GB16.0 GB70% on GPUQ2_K–~5.5 tok/s
RTX 4080 Super 16GB16.0 GB70% on GPUQ2_K–~5.6 tok/s
RTX 5060 Ti 16GB16.0 GB70% on GPUQ2_K–~5.0 tok/s

About DeepSeek R1 Distill Qwen 32B

The strongest of the small distills and a favourite for 24 GB cards. Reasoning traces fill context quickly, and each 1K tokens costs 256 MB in FP16, so a Q8_0 cache is worth turning on.

SpecValue
Parameters32.8B
Layers64
Hidden size5120
Attention heads / KV heads40 / 8
Head dimension128
Vocabulary152,064
Max context (used here)128K tokens
KV cache per token (FP16)256 KB
Released2025-01
LicenseMIT

DeepSeek R1 Distill Qwen 32B VRAM: common questions

How long a reasoning trace fits on 24GB with R1 Distill 32B?

At Q4_K_M, about 12K tokens with an FP16 cache, or about 23K with a Q8_0 cache.

How much VRAM does DeepSeek R1 Distill Qwen 32B need?

About 21.4 GB at Q4_K_M with an 8K context, 35.3 GB at Q8_0 and 64.0 GB at FP16. Longer contexts add 0.25 GB per 1,000 tokens with an FP16 cache.

What is the cheapest GPU that can run DeepSeek R1 Distill Qwen 32B?

The smallest listed device that fits it fully at Q4_K_M with 8K context is the NVIDIA L4 24GB (24.0 GB usable).

Related