Model comparison

Jan-code-4b vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 2,716,066,656.

From the file· summed bytes, KV per layer

Side by side

Jan-code-4bQwen3-4B
Parameters4.4B4.0B
Architectureqwen3qwen3
Layers3636
Native context262,14440,960
Mixture of expertsnono
Quantizations published3629
Smallest quantization1.56 GiB1.01 GiB
Q4_K_M2.53 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
ContextJan-code-4bQwen3-4BRatio
4,0960.56 GiB0.56 GiB1.00×
8,1921.13 GiB1.13 GiB1.00×
16,3842.25 GiB2.25 GiB1.00×
32,7684.50 GiB4.50 GiB1.00×
65,5369.00 GiB9.00 GiB1.00×
131,07218.00 GiB18.00 GiB1.00×