Model comparison
granite-20b-code-base-8k vs Qwen3.8-27B
At Q4_K_M, granite-20b-code-base-8k is the smaller download — 12,820,207,360 bytes against 16,810,714,336.
From the file· summed bytes, KV per layer
Side by side
| granite-20b-code-base-8k | Qwen3.8-27B | |
|---|---|---|
| Parameters | 20.1B | 27.8B |
| Architecture | starcoder | qwen35 |
| Layers | 52 | 64 |
| Native context | — | 262,144 |
| Mixture of experts | no | no |
| Quantizations published | 36 | 22 |
| Smallest quantization | 4.21 GiB | 8.39 GiB |
| Q4_K_M | 11.94 GiB | 15.66 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.8-27B | Ratio |
|---|---|---|---|
| 4,096 | — | 0.25 GiB | — |
| 8,192 | — | 0.50 GiB | — |
| 16,384 | — | 1.00 GiB | — |
| 32,768 | — | 2.00 GiB | — |
| 65,536 | — | 4.00 GiB | — |
| 131,072 | — | 8.00 GiB | — |