Model comparison

Jan-code-4b vs gemma-4-E4B-it

At Q4_K_M, Jan-code-4b is the smaller download — 2,716,066,656 bytes against 4,977,171,584. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 8.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Jan-code-4bgemma-4-E4B-it
Parameters4.4B8.0B
Architectureqwen3gemma4
Layers3642
Native context262,144131,072
Mixture of expertsnono
Quantizations published3636
Smallest quantization1.56 GiB3.30 GiB
Q4_K_M2.53 GiB4.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextJan-code-4bgemma-4-E4B-itRatio
4,0960.56 GiB0.12 GiB4.57×
8,1921.13 GiB0.18 GiB6.33×
16,3842.25 GiB0.29 GiB7.84×
32,7684.50 GiB0.51 GiB8.90×
65,5369.00 GiB0.94 GiB9.54×
131,07218.00 GiB1.82 GiB9.90×