Model comparison
granite-20b-code-instruct-8k vs Qwen3-Coder-30B-A3B-Instruct
At Q4_K_M, granite-20b-code-instruct-8k is the smaller download — 12,820,208,544 bytes against 18,556,689,568.
From the file· summed bytes, KV per layer
Side by side
| granite-20b-code-instruct-8k | Qwen3-Coder-30B-A3B-Instruct | |
|---|---|---|
| Parameters | 20.1B | 30.5B |
| Architecture | starcoder | qwen3moe |
| Layers | 52 | 48 |
| Native context | — | 262,144 |
| Mixture of experts | no | yes, 128 experts |
| Quantizations published | 74 | 46 |
| Smallest quantization | 4.21 GiB | 7.46 GiB |
| Q4_K_M | 11.94 GiB | 17.28 GiB |
| Licence | apache-2.0 | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | granite-20b-code-instruct-8k | Qwen3-Coder-30B-A3B-Instruct | Ratio |
|---|---|---|---|
| 4,096 | — | 0.38 GiB | — |
| 8,192 | — | 0.75 GiB | — |
| 16,384 | — | 1.50 GiB | — |
| 32,768 | — | 3.00 GiB | — |
| 65,536 | — | 6.00 GiB | — |
| 131,072 | — | 12.00 GiB | — |