Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs Qwen2.5-Coder-7B-Instruct-Uncensored

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: Qwen2.5-Coder-7B-Instruct-Uncensored's KV cache at 32K is 1.4× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-12B-it-qat-q4_0-unquantizedQwen2.5-Coder-7B-Instruct-Uncensored
Parameters12.0B7.6B
Architecturegemma4qwen2
Layers4828
Native context262,14432,768
Mixture of expertsnono
Quantizations published28
Smallest quantization6.50 GiB2.81 GiB
Q4_K_M4.36 GiB
Licenceapache-2.0mit

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedQwen2.5-Coder-7B-Instruct-UncensoredRatio
4,0960.72 GiB0.22 GiB3.29×
8,1920.97 GiB0.44 GiB2.21×
16,3841.47 GiB0.88 GiB1.68×
32,7682.47 GiB1.75 GiB1.41×
65,5364.47 GiB3.50 GiB1.28×
131,0728.47 GiB7.00 GiB1.21×