Qwen3-8B quantization: file size and VRAM for Q4, Q5, Q6, Q8 and BF16

The published Q4_K_M file for Qwen3-8B is 5,027,783,488 bytes (4.7 GiB), 31% of the 15.3 GiB BF16 checkpoint. Q8_0 is 8.1 GiB (53%). Add the KV cache and runtime overhead and one stream at 8,192 tokens needs 5.9 GiB–6.5 GiB with Q4_K_M or 9.4 GiB–10.0 GiB with Q8_0.

The KV cache is 1.13 GiB at 8,192 tokens in fp16 and does not change with the weight quant. For Q4_K_M it is about 18% of the estimated total, which is why the totals shrink less than the files do.

Every published file, side by side

Qwen3-8B quantization sizes and estimated memory at 8,192 tokens
FileBytesGiBBits/weightvs BF16Total at 8KSmallest card that fits
BF1616,381,470,72015.26 GiB16.0100%17.0 GiB–18.9 GiBRadeon RX 7900 XTX 24GB (desktop)
Q8_08,709,518,1128.11 GiB8.553%9.4 GiB–10.0 GiBRadeon RX 7800 XT 16GB (desktop)
Q6_K6,725,899,0406.26 GiB6.541%7.5 GiB–8.1 GiBGeForce RTX 3080 10GB (desktop)
Q5_K_M5,851,112,2245.45 GiB5.536%6.7 GiB–7.3 GiBGeForce RTX 3080 10GB (desktop)
Q4_K_M5,027,783,4884.68 GiB4.531%5.9 GiB–6.5 GiBGeForce RTX 3080 10GB (desktop)

File bytes are the published GGUF (or safetensors for BF16) sizes, not peak GPU memory. Totals are calculator estimates at 8,192 tokens, one sequence, fp16 KV. "Fits" means the high estimate is within 90% of the card's usable memory; the catalog devices are sorted by usable memory, so the first match is the smallest.

What to download for common cards

Highest-quality GGUF that fits at 8,192 tokens, llama.cpp, and the longest context that still fits with that file.

CardUsable memoryPickEstimated totalMax context
GeForce RTX 4060 8GB (desktop)7.0 GiBQ4_K_M (tight)5.9 GiB–6.5 GiB15,965
GeForce RTX 3060 12GB (desktop)11.0 GiBQ6_K7.5 GiB–8.1 GiB20,489
GeForce RTX 4060 Ti 16GB (desktop)15.0 GiBQ8_09.4 GiB–10.0 GiB32,165
GeForce RTX 4090 24GB (desktop)22.0 GiBQ8_09.4 GiB–10.0 GiB40,960
GeForce RTX 5090 32GB (desktop)30.0 GiBQ8_09.4 GiB–10.0 GiB40,960

What this page does not say

This site sizes memory. It does not rank output quality between quants, so there is no "best quant" claim here beyond which file fits. For the arithmetic behind bits per weight, read 4-bit vs 8-bit vs FP16.

Data sources

Related pages