Model comparison

Llama-Guard-3-8B vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 4,405,148,032.

From the file· summed bytes, KV per layer

Side by side

Llama-Guard-3-8BQwen3-4B
Parameters8.0B4.0B
Architecturellamaqwen3
Layers36
Native context40,960
Mixture of expertsnono
Quantizations published5229
Smallest quantization1.88 GiB1.01 GiB
Q4_K_M4.10 GiB2.33 GiB
Licencellama3.1

KV cache by context

the term that decides long-context viability
ContextLlama-Guard-3-8BQwen3-4BRatio
4,0960.56 GiB
8,1921.13 GiB
16,3842.25 GiB
32,7684.50 GiB
65,5369.00 GiB
131,07218.00 GiB