DeepSeek R1 Distill Qwen 7B VRAM requirements

한국어

DeepSeek R1 Distill Qwen 7B has 7.62B parameters, 28 layers and 4 KV heads. Here is the VRAM it needs by quant and context length.

This is an estimate. Real usage will differ.

Weights and KV cache come from formulas. Runtime overhead is a flat 1 GiB guess. Actual use depends on your runtime and version. If it says tight, load it and check.

Model values checked 2026-11-11

VRAM (GiB) by quant and context length

QuantWeights2,0488,19232,768131,072
FP1614.215.315.616.922.2
Q8_07.58.69.010.315.5
Q6_K5.86.97.38.613.8
Q5_K_M5.16.26.57.813.1
Q4_K_M4.35.45.87.112.3
Q3_K_M3.54.75.06.311.5
Q2_K2.83.94.25.610.8

This is an estimate. Real usage depends on your runtime and version.

VRAM calculator

Result

DeepSeek R1 Distill Qwen 7B Q4_K_M, 8,192 context: about 5.8 GiB needed.

Fits on the GeForce RTX 4070 (12 GB). About 6.2 GiB to spare.

  • Weights 4.3 GiB
  • KV cache 0.4 GiB
  • Runtime overhead 1.0 GiB (estimate)
  • With this model and quant, the GeForce RTX 4070 holds about 102,144 tokens of context.
  • At this context, the highest quant that fits the GeForce RTX 4070 is Q8_0.

This is an estimate. Real usage depends on your runtime and version.

GPUs that fit DeepSeek R1 Distill Qwen 7B Q4_K_M at 8,192 context

Model values used

Parameters
7,615,616,512
Layers
28
Attention heads
28
KV heads
4
Head dim
128 (Not in config, so it is hidden_size divided by the head count.)
Max context (config)
131,072
Read from
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B

See this model per GPU