Model comparison
gemma-3-4b-it-qat-q4_0-unquantized vs gemma-4-E2B-it
At Q4_K_M, gemma-3-4b-it-qat-q4_0-unquantized is the smaller download — 2,489,894,016 bytes against 3,106,738,272.
From the file· summed bytes, KV per layer
Side by side
| gemma-3-4b-it-qat-q4_0-unquantized | gemma-4-E2B-it | |
|---|---|---|
| Parameters | 4.3B | 5.1B |
| Architecture | gemma3 | gemma4 |
| Layers | — | 35 |
| Native context | — | 131,072 |
| Mixture of experts | no | no |
| Quantizations published | 43 | 54 |
| Smallest quantization | 1.10 GiB | 2.13 GiB |
| Q4_K_M | 2.32 GiB | 2.89 GiB |
| Licence | gemma | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | gemma-3-4b-it-qat-q4_0-unquantized | gemma-4-E2B-it | Ratio |
|---|---|---|---|
| 4,096 | — | 0.05 GiB | — |
| 8,192 | — | 0.08 GiB | — |
| 16,384 | — | 0.14 GiB | — |
| 32,768 | — | 0.25 GiB | — |
| 65,536 | — | 0.46 GiB | — |
| 131,072 | — | 0.90 GiB | — |