Model comparison
Ling-mini-2.0 vs gemma-4-E4B-it
At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 9,911,575,072. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 2.5× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| Ling-mini-2.0 | gemma-4-E4B-it | |
|---|---|---|
| Parameters | 16.3B | 8.0B |
| Architecture | bailingmoe2 | gemma4 |
| Layers | 20 | 42 |
| Native context | 32,768 | 131,072 |
| Mixture of experts | yes, 256 experts | no |
| Quantizations published | 30 | 36 |
| Smallest quantization | 4.34 GiB | 3.30 GiB |
| Q4_K_M | 9.23 GiB | 4.64 GiB |
| Licence | — | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | Ling-mini-2.0 | gemma-4-E4B-it | Ratio |
|---|---|---|---|
| 4,096 | 0.16 GiB | 0.12 GiB | 1.27× |
| 8,192 | 0.31 GiB | 0.18 GiB | 1.76× |
| 16,384 | 0.63 GiB | 0.29 GiB | 2.18× |
| 32,768 | 1.25 GiB | 0.51 GiB | 2.47× |
| 65,536 | 2.50 GiB | 0.94 GiB | 2.65× |
| 131,072 | 5.00 GiB | 1.82 GiB | 2.75× |