Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs starcoder2-15b

These two publish different quantization sets; the table below has the exact sizes.

From the file· summed bytes, KV per layer

Side by side

gemma-4-12B-it-qat-q4_0-unquantizedstarcoder2-15b
Parameters12.0B16.0B
Architecturegemma4starcoder2
Layers4840
Native context262,14416,384
Mixture of expertsnono
Quantizations published241
Smallest quantization6.50 GiB3.31 GiB
Q4_K_M9.18 GiB
Licenceapache-2.0bigcode-openrail-m

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedstarcoder2-15bRatio
4,0960.72 GiB
8,1920.97 GiB
16,3841.47 GiB
32,7682.47 GiB
65,5364.47 GiB
131,0728.47 GiB