Model comparison

gemma-4-31B-it-assistant vs Llama-3.2-1B-Instruct

At Q4_K_M, gemma-4-31B-it-assistant is the smaller download — 353,468,640 bytes against 807,690,688. At long context the gap widens: gemma-4-31B-it-assistant'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-4-31B-it-assistantLlama-3.2-1B-Instruct
Parameters470M1.2B
Architecturegemma4-assistantllama
Layers416
Native context262,144131,072
Mixture of expertsnono
Quantizations published2139
Smallest quantization0.29 GiB0.39 GiB
Q4_K_M0.33 GiB0.75 GiB
Licence

KV cache by context

the term that decides long-context viability
Contextgemma-4-31B-it-assistantLlama-3.2-1B-InstructRatio
4,0960.13 GiB0.13 GiB1.06×
8,1920.20 GiB0.25 GiB1.28×
16,3840.32 GiB0.50 GiB1.56×
32,7680.57 GiB1.00 GiB1.75×
65,5361.07 GiB2.00 GiB1.87×
131,0722.07 GiB4.00 GiB1.93×