Skip to content
AI Dev Toolkit.
Esc
  • Loading…

VRAM · Local model

DeepSeek R1 Distill Qwen 32B VRAM requirements: can you run it locally?

Yes, on one 24 GB GPU such as the Radeon RX 7900 XTX, or a Mac with 36 GB of unified memory. At Q4_K_M and an 8K context it needs about 23 GB. At 8-bit (Q8_0) it needs about 38 GB, which fits a 48 GB card. Estimates from the model’s official config.json, checked 2026-10-08.

Parameters
32.8B
Layers
64
Max context
131,072
Experts
Dense

Attention: 64 full-attention layers.

Requirements

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

Quantisation8K context32K context128K context
FP16 / BF1669 GB76 GB102 GB
Q8_0 (8-bit)38 GB44 GB71 GB
Q6_K30 GB36 GB63 GB
Q5_K_M26 GB33 GB59 GB
Q4_K_M23 GB29 GB56 GB
Q3_K_M19 GB26 GB52 GB
Q2_K15 GB22 GB48 GB

Weights + FP16 KV cache + overhead, batch 1; the VRAM calculator shows the formula.

GPUs

Which GPUs can run DeepSeek R1 Distill Qwen 32B?

MemoryExample cardBest quality at 8KLongest context at that qualityLongest context at Q4_K_M
8 GBGeForce RTX 4060Doesn’t fit——
12 GBGeForce RTX 5070Doesn’t fit——
16 GBGeForce RTX 5080Q2_K · 15 GB9K—
24 GBRadeon RX 7900 XTXQ4_K_M · 23 GB12K12K
32 GBGeForce RTX 5090Q6_K · 30 GB16K41K
48 GBL40SQ8_0 (8-bit) · 38 GB44K99K
80 GBH100 80GBFP16 / BF16 · 69 GB46K128K
96 GBRTX PRO 6000 BlackwellFP16 / BF16 · 69 GB104K128K

The smallest card that holds DeepSeek R1 Distill Qwen 32B at Q4_K_M with an 8K context has 24 GB, such as the Radeon RX 7900 XTX; there it has room for about 12K tokens. Every extra gigabyte goes to context: on a 32 GB card the limit rises to 41K. For 8-bit or better you need a 48 GB card, and full 16-bit precision (69 GB) fits from 80 GB. Cards with 8 and 12 GB can’t hold it at any quantisation with an 8K context; the smallest file, Q2_K, needs about 15 GB.

Apple Silicon

Can you run DeepSeek R1 Distill Qwen 32B on a Mac?

Mac memoryGPU can useBest quality at 8KLongest context
16 GB11 GBDoesn’t fit—
24 GB16 GBQ2_K · 15 GB9K
32 GB21 GBQ3_K_M · 19 GB16K
36 GB27 GBQ5_K_M · 26 GB11K
48 GB36 GBQ6_K · 30 GB30K
64 GB48 GBQ8_0 (8-bit) · 38 GB44K
96 GB72 GBFP16 / BF16 · 69 GB17K
128 GB96 GBFP16 / BF16 · 69 GB104K
192 GB144 GBFP16 / BF16 · 69 GB128K
256 GB192 GBFP16 / BF16 · 69 GB128K
512 GB384 GBFP16 / BF16 · 69 GB128K

At Q4_K_M and an 8K context, DeepSeek R1 Distill Qwen 32B needs a Mac with at least 36 GB of unified memory; 8-bit needs 64 GB and full precision needs 96 GB. By default macOS lets the GPU use about two thirds of memory on Macs with 32 GB or less and about three quarters on larger ones; the table uses that limit. You can raise it with sudo sysctl iogpu.wired_limit_mb, leaving at least 8 GB for macOS. With the limit raised that way, 32 GB is enough for DeepSeek R1 Distill Qwen 32B at Q4_K_M, instead of 36 GB.

Context

How much memory does DeepSeek R1 Distill Qwen 32B’s context use?

ContextKV cache, FP16KV cache, 8-bitTotal at Q4_K_M
8,1922.0 GB1.1 GB23 GB
32,7688.0 GB4.3 GB29 GB
131,07232 GB17 GB56 GB

DeepSeek R1 Distill Qwen 32B’s FP16 cache grows by about 250 MB for every 1,000 tokens. At 8K tokens that is 2.0 GB, 9% of the total at Q4_K_M; at its full 131,072-token context it is 32 GB, 1.7× the size of the 19 GB of Q4_K_M weights. All 64 layers use full attention and cache 2,048 values (keys plus values for its KV heads) per token, so the cache grows in a straight line with the context. On a 24 GB card at Q4_K_M, the longest context is about 12K tokens with an FP16 cache and 23K with an 8-bit (q8_0) cache.

Download

How big is the DeepSeek R1 Distill Qwen 32B download?

GGUF quantisationBits per weightApproximate size
FP16 / BF1616.0061 GB
Q8_0 (8-bit)8.5032 GB
Q6_K6.5625 GB
Q5_K_M5.7022 GB
Q4_K_M4.8919 GB
Q3_K_M4.0015 GB
Q2_K3.1612 GB

A 32.8B-parameter model takes about 19 GB of disk at Q4_K_M and 61 GB as 16-bit weights, so the quantised file saves about 42 GB. Sizes are parameters × bits per weight; real GGUF files differ by a few per cent because some tensors stay at higher precision.

Offload

Can you run DeepSeek R1 Distill Qwen 32B with less VRAM by offloading to RAM?

GPU VRAMIn system RAMRAM to have
8 GB15 GB16 GB
16 GB6.7 GB16 GB

Yes: llama.cpp can keep part of DeepSeek R1 Distill Qwen 32B in system RAM and run it on the CPU, so the GPU and RAM together need about 23 GB at Q4_K_M and an 8K context. On an 8 GB card that leaves 15 GB in RAM. As a dense model, every token reads all 32.8B parameters, so each layer moved to RAM (fewer --n-gpu-layers) is limited by RAM bandwidth and generation slows as more of it leaves the GPU.

Compare

How does DeepSeek R1 Distill Qwen 32B compare with other DeepSeek models?

ModelParametersTypeQ4 at 8KSmallest GPUContext on 24 GB
DeepSeek R1 Distill Qwen 32B32.8BDense23 GB24 GB12K
DeepSeek R1 (671B)671.0BMoE421 GBNone—

DeepSeek R1 Distill Qwen 32B is number 1 by size of the 2 DeepSeek models we cover. The next larger, DeepSeek R1 (671B), needs about 421 GB.

FAQ

Frequently asked questions

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

With an 8K context, about 23 GB at Q4_K_M, 38 GB at 8-bit (Q8_0) and 69 GB at full 16-bit precision. That covers the weights, the KV cache and runtime overhead.

Can DeepSeek R1 Distill Qwen 32B run on a 24 GB GPU like the RTX 4090?

Yes: the best quality that fits with an 8K context is Q4_K_M, at about 23 GB, and at that setting it has room for about 12K tokens.

Can I run DeepSeek R1 Distill Qwen 32B on a Mac?

Yes: at Q4_K_M and an 8K context it fits a Mac with 36 GB of unified memory using macOS’s default GPU memory limit (about 27 GB for the GPU).

Can DeepSeek R1 Distill Qwen 32B run on 16 or 12 GB?

Best quality with an 8K context: 16 GB: Q2_K at about 15 GB, with up to 9K tokens; 12 GB: no (even Q2_K needs 15 GB).

How big is the DeepSeek R1 Distill Qwen 32B download?

About 19 GB for a Q4_K_M GGUF, 32 GB at Q8_0 and 61 GB for the 16-bit weights.

What is the longest context DeepSeek R1 Distill Qwen 32B can use on 24 GB?

About 12K tokens at Q4_K_M with an FP16 cache, or 23K with an 8-bit cache. Its maximum is 131,072 tokens.

Related

Try other settings in the VRAM calculator

Keep exploring