Model comparison

gemma-2b vs Llama-3.2-1B-Instruct

At Q4_K_M, Llama-3.2-1B-Instruct is the smaller download — 807,690,688 bytes against 1,495,245,728. At long context the gap widens: gemma-2b's KV cache at 32K is 1.8× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-2bLlama-3.2-1B-Instruct
Parameters2.5B1.2B
Architecturegemmallama
Layers1816
Native context8,192131,072
Mixture of expertsnono
Quantizations published3839
Smallest quantization0.84 GiB0.39 GiB
Q4_K_M1.39 GiB0.75 GiB
Licencecc-by-nc-4.0

KV cache by context

the term that decides long-context viability
Contextgemma-2bLlama-3.2-1B-InstructRatio
4,0960.07 GiB0.13 GiB1.78×
8,1920.14 GiB0.25 GiB1.78×
16,3840.28 GiB0.50 GiB1.78×
32,7680.56 GiB1.00 GiB1.78×
65,5361.13 GiB2.00 GiB1.78×
131,0722.25 GiB4.00 GiB1.78×