Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs ALIA-40b-instruct-2606

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-12B-it-qat-q4_0-unquantized's KV cache at 32K is 2.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-unquantizedALIA-40b-instruct-2606
Parameters12.0B40.4B
Architecturegemma4llama
Layers4848
Native context262,144163,840
Mixture of expertsnono
Quantizations published234
Smallest quantization6.50 GiB9.06 GiB
Q4_K_M22.90 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedALIA-40b-instruct-2606Ratio
4,0960.72 GiB0.75 GiB1.04×
8,1920.97 GiB1.50 GiB1.55×
16,3841.47 GiB3.00 GiB2.04×
32,7682.47 GiB6.00 GiB2.43×
65,5364.47 GiB12.00 GiB2.69×
131,0728.47 GiB24.00 GiB2.83×