Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs Open_Gpt4_8x7B_v0.1

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 1.6× 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-unquantizedOpen_Gpt4_8x7B_v0.1
Parameters12.0B46.7B
Architecturegemma4llama
Layers4832
Native context262,14432,768
Mixture of expertsnoyes, 8 experts
Quantizations published28
Smallest quantization6.50 GiB14.57 GiB
Q4_K_M24.63 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedOpen_Gpt4_8x7B_v0.1Ratio
4,0960.72 GiB0.50 GiB1.44×
8,1920.97 GiB1.00 GiB1.03×
16,3841.47 GiB2.00 GiB1.36×
32,7682.47 GiB4.00 GiB1.62×
65,5364.47 GiB8.00 GiB1.79×
131,0728.47 GiB16.00 GiB1.89×