Model comparison

gemma-3-4b-it-qat vs Qwen3-8B

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-3-4b-it-qat's KV cache at 32K is 5.7× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-3-4b-it-qatQwen3-8B
Parameters3.9B8.2B
Architecturegemma3qwen3
Layers3436
Native context131,07240,960
Mixture of expertsnono
Quantizations published151
Smallest quantization2.35 GiB2.12 GiB
Q4_K_M4.68 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-3-4b-it-qatQwen3-8BRatio
4,0960.25 GiB0.56 GiB2.27×
8,1920.33 GiB1.13 GiB3.45×
16,3840.48 GiB2.25 GiB4.66×
32,7680.79 GiB4.50 GiB5.66×
65,5361.42 GiB9.00 GiB6.34×
131,0722.67 GiB18.00 GiB6.74×
gemma-3-4b-it-qat vs Qwen3-8B — size, memory and hardware fit — ossmodeldb