Model comparison

granite-20b-code-instruct-8k vs Qwen3.8-27B

At Q4_K_M, granite-20b-code-instruct-8k is the smaller download — 12,820,208,544 bytes against 16,810,714,336.

From the file· summed bytes, KV per layer

Side by side

granite-20b-code-instruct-8kQwen3.8-27B
Parameters20.1B27.8B
Architecturestarcoderqwen35
Layers5264
Native context262,144
Mixture of expertsnono
Quantizations published7422
Smallest quantization4.21 GiB8.39 GiB
Q4_K_M11.94 GiB15.66 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-20b-code-instruct-8kQwen3.8-27BRatio
4,0960.25 GiB
8,1920.50 GiB
16,3841.00 GiB
32,7682.00 GiB
65,5364.00 GiB
131,0728.00 GiB