Model comparison
granite-20b-code-base-8k vs Qwen3-30B-A3B-Thinking-2507
At Q4_K_M, granite-20b-code-base-8k is the smaller download — 12,820,207,360 bytes against 18,556,685,824.
From the file· summed bytes, KV per layer
Side by side
| granite-20b-code-base-8k | Qwen3-30B-A3B-Thinking-2507 | |
|---|---|---|
| Parameters | 20.1B | 30.5B |
| Architecture | starcoder | qwen3moe |
| Layers | 52 | 48 |
| Native context | — | 262,144 |
| Mixture of experts | no | yes, 128 experts |
| Quantizations published | 36 | 51 |
| Smallest quantization | 4.21 GiB | 7.05 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-base-8k | Qwen3-30B-A3B-Thinking-2507 | 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 | — |