Model comparison
granite-3.1-1b-a400m-instruct vs Qwen3-1.7B
At Q4_K_M, granite-3.1-1b-a400m-instruct is the smaller download — 821,847,360 bytes against 1,107,409,472. At long context the gap widens: granite-3.1-1b-a400m-instruct's KV cache at 32K is 2.3× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| granite-3.1-1b-a400m-instruct | Qwen3-1.7B | |
|---|---|---|
| Parameters | 1.3B | 2.0B |
| Architecture | granitemoe | qwen3 |
| Layers | 24 | 28 |
| Native context | 131,072 | 40,960 |
| Mixture of experts | yes, 32 experts | no |
| Quantizations published | 20 | 48 |
| Smallest quantization | 0.48 GiB | 0.50 GiB |
| Q4_K_M | 0.77 GiB | 1.03 GiB |
| Licence | apache-2.0 | — |
KV cache by context
the term that decides long-context viability
| Context | granite-3.1-1b-a400m-instruct | Qwen3-1.7B | Ratio |
|---|---|---|---|
| 4,096 | 0.19 GiB | 0.44 GiB | 2.33× |
| 8,192 | 0.38 GiB | 0.88 GiB | 2.33× |
| 16,384 | 0.75 GiB | 1.75 GiB | 2.33× |
| 32,768 | 1.50 GiB | 3.50 GiB | 2.33× |
| 65,536 | 3.00 GiB | 7.00 GiB | 2.33× |
| 131,072 | 6.00 GiB | 14.00 GiB | 2.33× |