Model comparison

xLAM-7b-r vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 4,368,440,352.

From the file· summed bytes, KV per layer

Side by side

xLAM-7b-rQwen3-4B
Parameters7.2B4.0B
Architecturellamaqwen3
Layers3236
Native context32,76840,960
Mixture of expertsnono
Quantizations published6529
Smallest quantization1.50 GiB1.01 GiB
Q4_K_M4.07 GiB2.33 GiB
Licencecc-by-nc-4.0

KV cache by context

the term that decides long-context viability
ContextxLAM-7b-rQwen3-4BRatio
4,0960.50 GiB0.56 GiB1.13×
8,1921.00 GiB1.13 GiB1.13×
16,3842.00 GiB2.25 GiB1.13×
32,7684.00 GiB4.50 GiB1.13×
65,5368.00 GiB9.00 GiB1.13×
131,07216.00 GiB18.00 GiB1.13×
xLAM-7b-r vs Qwen3-4B — size, memory and hardware fit — ossmodeldb