Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs Llama-3.1-Nemotron-70B-Instruct-HF

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 4.1× 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-unquantizedLlama-3.1-Nemotron-70B-Instruct-HF
Parameters12.0B70.6B
Architecturegemma4llama
Layers4880
Native context262,144131,072
Mixture of expertsnono
Quantizations published247
Smallest quantization6.50 GiB14.29 GiB
Q4_K_M39.60 GiB
Licenceapache-2.0llama3.1

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedLlama-3.1-Nemotron-70B-Instruct-HFRatio
4,0960.72 GiB1.25 GiB1.74×
8,1920.97 GiB2.50 GiB2.58×
16,3841.47 GiB5.00 GiB3.40×
32,7682.47 GiB10.00 GiB4.05×
65,5364.47 GiB20.00 GiB4.48×
131,0728.47 GiB40.00 GiB4.72×
gemma-4-12B-it-qat-q4_0-unquantized vs Llama-3.1-Nemotron-70B-Instruct-HF — size, memory and hardware fit — ossmodeldb