Model comparison
granite-4.0-h-small vs gemma-4-E4B-it
At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 19,476,621,984.
From the file· summed bytes, KV per layer
Side by side
| granite-4.0-h-small | gemma-4-E4B-it | |
|---|---|---|
| Parameters | 32.2B | 8.0B |
| Architecture | granitehybrid | gemma4 |
| Layers | 40 | 42 |
| Native context | 131,072 | 131,072 |
| Mixture of experts | yes, 72 experts | no |
| Quantizations published | 41 | 36 |
| Smallest quantization | 7.59 GiB | 3.30 GiB |
| Q4_K_M | 18.14 GiB | 4.64 GiB |
| Licence | — | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | granite-4.0-h-small | gemma-4-E4B-it | Ratio |
|---|---|---|---|
| 4,096 | 0.06 GiB | 0.12 GiB | 1.96× |
| 8,192 | 0.13 GiB | 0.18 GiB | 1.42× |
| 16,384 | 0.25 GiB | 0.29 GiB | 1.15× |
| 32,768 | 0.50 GiB | 0.51 GiB | 1.01× |
| 65,536 | 1.00 GiB | 0.94 GiB | 1.06× |
| 131,072 | 2.00 GiB | 1.82 GiB | 1.10× |