VRAM requirements

How much VRAM does DeepSeek R1 32B need?

DeepSeek R1 32B has 32.5 billion parameters. What that costs in GPU memory depends entirely on the quantization you run it at.

At Q4 quantization

18.5 GB

Running Q4 with a 4K token context — the setup most people actually use.

VRAM by quantization

Quantization Weights KV cache Total
F1660.5 GB1.0 GB62.0 GB
Q830.3 GB1.0 GB31.8 GB
Q520.8 GB1.0 GB22.3 GB
Q417.0 GB1.0 GB18.5 GB

Figures are for a 4K token context. The KV cache grows linearly with context length, which is why a model that fits comfortably at 4K can stop fitting at 32K without the weights changing at all.

Cards that fit it at Q4

RX 7900 XT20 GB
RX 7900 XTX24 GB
RTX 309024 GB
RTX 3090 Ti24 GB
RTX 409024 GB
RTX 509032 GB

Smallest first. The cheapest card the model fits on is more useful than the largest one that also fits.

Another context length, another number

This page fixes the context at 4K. Set your own context and quantization and the calculator recomputes the whole breakdown.

Open the calculator

Models of similar size