Model comparison
chatglm3-6b vs gemma-4-E4B-it
At Q4_K_M, chatglm3-6b is the smaller download — 4,140,342,688 bytes against 4,977,171,584.
From the file· summed bytes, KV per layer
Side by side
| chatglm3-6b | gemma-4-E4B-it | |
|---|---|---|
| Parameters | 6.2B | 8.0B |
| Architecture | chatglm | gemma4 |
| Layers | — | 42 |
| Native context | — | 131,072 |
| Mixture of experts | no | no |
| Quantizations published | 3 | 36 |
| Smallest quantization | 3.86 GiB | 3.30 GiB |
| Q4_K_M | 3.86 GiB | 4.64 GiB |
| Licence | — | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | chatglm3-6b | gemma-4-E4B-it | Ratio |
|---|---|---|---|
| 4,096 | — | 0.12 GiB | — |
| 8,192 | — | 0.18 GiB | — |
| 16,384 | — | 0.29 GiB | — |
| 32,768 | — | 0.51 GiB | — |
| 65,536 | — | 0.94 GiB | — |
| 131,072 | — | 1.82 GiB | — |