Model comparison

LLAMA-3_8B_Unaligned_BETA vs gemma-4-12B-it-qat-q4_0-unquantized

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

LLAMA-3_8B_Unaligned_BETAgemma-4-12B-it-qat-q4_0-unquantized
Parameters8.0B12.0B
Architecturellamagemma4
Layers3248
Native context16,384262,144
Mixture of expertsnono
Quantizations published202
Smallest quantization2.75 GiB6.50 GiB
Q4_K_M4.58 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
ContextLLAMA-3_8B_Unaligned_BETAgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.50 GiB0.72 GiB1.44×
8,1921.00 GiB0.97 GiB1.03×
16,3842.00 GiB1.47 GiB1.36×
32,7684.00 GiB2.47 GiB1.62×
65,5368.00 GiB4.47 GiB1.79×
131,07216.00 GiB8.47 GiB1.89×