Model comparison
gemma-2b vs gemma-3-1b-it
At Q4_K_M, gemma-3-1b-it is the smaller download — 806,058,240 bytes against 1,495,245,728. At long context the gap widens: gemma-3-1b-it's KV cache at 32K is 3.8× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| gemma-2b | gemma-3-1b-it | |
|---|---|---|
| Parameters | 2.5B | 1000M |
| Architecture | gemma | gemma3 |
| Layers | 18 | 26 |
| Native context | 8,192 | 32,768 |
| Mixture of experts | no | no |
| Quantizations published | 38 | 28 |
| Smallest quantization | 0.84 GiB | 0.52 GiB |
| Q4_K_M | 1.39 GiB | 0.75 GiB |
| Licence | cc-by-nc-4.0 | gemma |
KV cache by context
the term that decides long-context viability
| Context | gemma-2b | gemma-3-1b-it | Ratio |
|---|---|---|---|
| 4,096 | 0.07 GiB | 0.04 GiB | 1.89× |
| 8,192 | 0.14 GiB | 0.05 GiB | 2.67× |
| 16,384 | 0.28 GiB | 0.08 GiB | 3.35× |
| 32,768 | 0.56 GiB | 0.15 GiB | 3.84× |
| 65,536 | 1.13 GiB | 0.27 GiB | 4.14× |
| 131,072 | 2.25 GiB | 0.52 GiB | 4.31× |