Qwen3 8B VRAM requirements

한국어

Qwen3 8B has 8.19B parameters, 36 layers and 8 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,768
FP1615.316.517.420.8
Q8_08.19.410.213.6
Q6_K6.37.58.411.8
Q5_K_M5.46.77.610.9
Q4_K_M4.75.96.810.2
Q3_K_M3.85.15.99.3
Q2_K3.04.35.18.5

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

VRAM calculator

Result

Qwen3 8B Q4_K_M, 8,192 context: about 6.8 GiB needed.

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

  • Weights 4.7 GiB
  • KV cache 1.1 GiB
  • Runtime overhead 1.0 GiB (estimate)
  • With this model and quant, the GeForce RTX 4070 holds about 37,376 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 Qwen3 8B Q4_K_M at 8,192 context

Model values used

Parameters
8,190,735,360
Layers
36
Attention heads
32
KV heads
8
Head dim
128
Max context (config)
40,960
Read from
Qwen/Qwen3-8B

See this model per GPU