Model comparison

granite-20b-code-instruct-8k vs gemma-4-E4B-it

At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 12,820,208,544.

From the file· summed bytes, KV per layer

Side by side

granite-20b-code-instruct-8kgemma-4-E4B-it
Parameters20.1B8.0B
Architecturestarcodergemma4
Layers5242
Native context131,072
Mixture of expertsnono
Quantizations published7436
Smallest quantization4.21 GiB3.30 GiB
Q4_K_M11.94 GiB4.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-20b-code-instruct-8kgemma-4-E4B-itRatio
4,0960.12 GiB
8,1920.18 GiB
16,3840.29 GiB
32,7680.51 GiB
65,5360.94 GiB
131,0721.82 GiB