Model comparison
AfriqueGemma-12B vs gemma-4-E2B-it
These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-E2B-it's KV cache at 32K is 10.0× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| AfriqueGemma-12B | gemma-4-E2B-it | |
|---|---|---|
| Parameters | 12.2B | 5.1B |
| Architecture | gemma3 | gemma4 |
| Layers | 48 | 35 |
| Native context | 131,072 | 131,072 |
| Mixture of experts | no | no |
| Quantizations published | 24 | 54 |
| Smallest quantization | 3.05 GiB | 2.13 GiB |
| Q4_K_M | — | 2.89 GiB |
| Licence | cc-by-4.0 | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | AfriqueGemma-12B | gemma-4-E2B-it | Ratio |
|---|---|---|---|
| 4,096 | 0.72 GiB | 0.05 GiB | 13.14× |
| 8,192 | 0.97 GiB | 0.08 GiB | 11.81× |
| 16,384 | 1.47 GiB | 0.14 GiB | 10.74× |
| 32,768 | 2.47 GiB | 0.25 GiB | 10.03× |
| 65,536 | 4.47 GiB | 0.46 GiB | 9.61× |
| 131,072 | 8.47 GiB | 0.90 GiB | 9.39× |