Model comparison
gemma-4-31B-it-assistant vs Qwen3-1.7B
At Q4_K_M, gemma-4-31B-it-assistant is the smaller download — 353,468,640 bytes against 1,107,409,472. At long context the gap widens: gemma-4-31B-it-assistant's KV cache at 32K is 6.1× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| gemma-4-31B-it-assistant | Qwen3-1.7B | |
|---|---|---|
| Parameters | 470M | 2.0B |
| Architecture | gemma4-assistant | qwen3 |
| Layers | 4 | 28 |
| Native context | 262,144 | 40,960 |
| Mixture of experts | no | no |
| Quantizations published | 21 | 48 |
| Smallest quantization | 0.29 GiB | 0.50 GiB |
| Q4_K_M | 0.33 GiB | 1.03 GiB |
| Licence | — | — |
KV cache by context
the term that decides long-context viability
| Context | gemma-4-31B-it-assistant | Qwen3-1.7B | Ratio |
|---|---|---|---|
| 4,096 | 0.13 GiB | 0.44 GiB | 3.29× |
| 8,192 | 0.20 GiB | 0.88 GiB | 4.48× |
| 16,384 | 0.32 GiB | 1.75 GiB | 5.46× |
| 32,768 | 0.57 GiB | 3.50 GiB | 6.14× |
| 65,536 | 1.07 GiB | 7.00 GiB | 6.54× |
| 131,072 | 2.07 GiB | 14.00 GiB | 6.76× |