Model comparison

gemma-3-12b-it-qat-q4_0-unquantized vs gemma-4-12B-it

At Q4_K_M, gemma-4-12B-it is the smaller download — 7,121,861,440 bytes against 7,300,778,368.

From the file· summed bytes, KV per layer

Side by side

gemma-3-12b-it-qat-q4_0-unquantizedgemma-4-12B-it
Parameters12.2B12.0B
Architecturegemma3gemma4
Layers48
Native context262,144
Mixture of expertsnono
Quantizations published4359
Smallest quantization2.85 GiB3.92 GiB
Q4_K_M6.80 GiB6.63 GiB
Licencegemmaapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-3-12b-it-qat-q4_0-unquantizedgemma-4-12B-itRatio
4,0960.72 GiB
8,1920.97 GiB
16,3841.47 GiB
32,7682.47 GiB
65,5364.47 GiB
131,0728.47 GiB
gemma-3-12b-it-qat-q4_0-unquantized vs gemma-4-12B-it — size, memory and hardware fit — ossmodeldb