Model comparison
granite-3.1-1b-a400m-instruct vs Qwen3-4B
At Q4_K_M, granite-3.1-1b-a400m-instruct is the smaller download — 821,847,360 bytes against 2,497,280,256. At long context the gap widens: granite-3.1-1b-a400m-instruct's KV cache at 32K is 3.0× 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-4B | |
|---|---|---|
| Parameters | 1.3B | 4.0B |
| Architecture | granitemoe | qwen3 |
| Layers | 24 | 36 |
| Native context | 131,072 | 40,960 |
| Mixture of experts | yes, 32 experts | no |
| Quantizations published | 20 | 29 |
| Smallest quantization | 0.48 GiB | 1.01 GiB |
| Q4_K_M | 0.77 GiB | 2.33 GiB |
| Licence | apache-2.0 | — |
KV cache by context
the term that decides long-context viability
| Context | granite-3.1-1b-a400m-instruct | Qwen3-4B | Ratio |
|---|---|---|---|
| 4,096 | 0.19 GiB | 0.56 GiB | 3.00× |
| 8,192 | 0.38 GiB | 1.13 GiB | 3.00× |
| 16,384 | 0.75 GiB | 2.25 GiB | 3.00× |
| 32,768 | 1.50 GiB | 4.50 GiB | 3.00× |
| 65,536 | 3.00 GiB | 9.00 GiB | 3.00× |
| 131,072 | 6.00 GiB | 18.00 GiB | 3.00× |