Model comparison

ERNIE-4.5-21B-A3B-Thinking vs gemma-4-E4B-it

At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 13,331,018,624. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 3.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

ERNIE-4.5-21B-A3B-Thinkinggemma-4-E4B-it
Parameters21.8B8.0B
Architectureernie4_5-moegemma4
Layers2842
Native context131,072131,072
Mixture of expertsnono
Quantizations published7036
Smallest quantization4.17 GiB3.30 GiB
Q4_K_M12.42 GiB4.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextERNIE-4.5-21B-A3B-Thinkinggemma-4-E4B-itRatio
4,0960.22 GiB0.12 GiB1.78×
8,1920.44 GiB0.18 GiB2.46×
16,3840.88 GiB0.29 GiB3.05×
32,7681.75 GiB0.51 GiB3.46×
65,5363.50 GiB0.94 GiB3.71×
131,0727.00 GiB1.82 GiB3.85×