Model comparison

Gemma-3-4b-it-Uncensored-DBL-X vs Llama-3.1-8B-Instruct

At Q4_K_M, Gemma-3-4b-it-Uncensored-DBL-X is the smaller download — 2,709,839,808 bytes against 4,920,739,168. At long context the gap widens: Gemma-3-4b-it-Uncensored-DBL-X's KV cache at 32K is 4.3× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Gemma-3-4b-it-Uncensored-DBL-XLlama-3.1-8B-Instruct
Parameters4.7B8.0B
Architecturegemma3llama
Layers3832
Native context131,072131,072
Mixture of expertsnono
Quantizations published3945
Smallest quantization1.13 GiB2.02 GiB
Q4_K_M2.52 GiB4.58 GiB
Licenceapache-2.0llama3.1

KV cache by context

the term that decides long-context viability
ContextGemma-3-4b-it-Uncensored-DBL-XLlama-3.1-8B-InstructRatio
4,0960.28 GiB0.50 GiB1.78×
8,1920.38 GiB1.00 GiB2.67×
16,3840.56 GiB2.00 GiB3.56×
32,7680.94 GiB4.00 GiB4.27×
65,5361.69 GiB8.00 GiB4.74×
131,0723.19 GiB16.00 GiB5.02×
Gemma-3-4b-it-Uncensored-DBL-X vs Llama-3.1-8B-Instruct — size, memory and hardware fit — ossmodeldb