Model comparison

gemma-3-4b-it-roleplay-tuned-v2 vs Llama-3.1-8B-Instruct

At Q4_K_M, gemma-3-4b-it-roleplay-tuned-v2 is the smaller download — 2,489,894,848 bytes against 4,920,739,168. At long context the gap widens: gemma-3-4b-it-roleplay-tuned-v2's KV cache at 32K is 5.0× 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-roleplay-tuned-v2Llama-3.1-8B-Instruct
Parameters4.3B8.0B
Architecturegemma3llama
Layers3432
Native context131,072131,072
Mixture of expertsnono
Quantizations published3645
Smallest quantization1.06 GiB2.02 GiB
Q4_K_M2.32 GiB4.58 GiB
Licencegemmallama3.1

KV cache by context

the term that decides long-context viability
Contextgemma-3-4b-it-roleplay-tuned-v2Llama-3.1-8B-InstructRatio
4,0960.25 GiB0.50 GiB2.02×
8,1920.33 GiB1.00 GiB3.07×
16,3840.48 GiB2.00 GiB4.15×
32,7680.79 GiB4.00 GiB5.03×
65,5361.42 GiB8.00 GiB5.63×
131,0722.67 GiB16.00 GiB5.99×