Model comparison

llama-3-8b-Instruct-bnb-4bit vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 4,920,734,240.

From the file· summed bytes, KV per layer

Side by side

llama-3-8b-Instruct-bnb-4bitQwen3-4B
Parameters8.2B4.0B
Architecturellamaqwen3
Layers3236
Native context8,19240,960
Mixture of expertsnono
Quantizations published2829
Smallest quantization1.88 GiB1.01 GiB
Q4_K_M4.58 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextllama-3-8b-Instruct-bnb-4bitQwen3-4BRatio
4,0960.50 GiB0.56 GiB1.13×
8,1921.00 GiB1.13 GiB1.13×
16,3842.00 GiB2.25 GiB1.13×
32,7684.00 GiB4.50 GiB1.13×
65,5368.00 GiB9.00 GiB1.13×
131,07216.00 GiB18.00 GiB1.13×