Model comparison

starcoder2-3b vs Qwen3-4B

At Q4_K_M, starcoder2-3b is the smaller download — 1,848,976,448 bytes against 2,497,280,256.

From the file· summed bytes, KV per layer

Side by side

starcoder2-3bQwen3-4B
Parameters3.0B4.0B
Architecturestarcoder2qwen3
Layers3036
Native context16,38440,960
Mixture of expertsnono
Quantizations published3729
Smallest quantization1.07 GiB1.01 GiB
Q4_K_M1.72 GiB2.33 GiB
Licencebigcode-openrail-m

KV cache by context

the term that decides long-context viability
Contextstarcoder2-3bQwen3-4BRatio
4,0960.56 GiB
8,1921.13 GiB
16,3842.25 GiB
32,7684.50 GiB
65,5369.00 GiB
131,07218.00 GiB