Model comparison

Phind-CodeLlama-34B-v2 vs gemma-4-12B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-12B-it-qat-q4_0-unquantized's KV cache at 32K is 2.4× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Phind-CodeLlama-34B-v2gemma-4-12B-it-qat-q4_0-unquantized
Parameters33.7B12.0B
Architecturellamagemma4
Layers4848
Native context16,384262,144
Mixture of expertsnono
Quantizations published332
Smallest quantization6.75 GiB6.50 GiB
Q4_K_M18.83 GiB
Licencellama2apache-2.0

KV cache by context

the term that decides long-context viability
ContextPhind-CodeLlama-34B-v2gemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.75 GiB0.72 GiB1.04×
8,1921.50 GiB0.97 GiB1.55×
16,3843.00 GiB1.47 GiB2.04×
32,7686.00 GiB2.47 GiB2.43×
65,53612.00 GiB4.47 GiB2.69×
131,07224.00 GiB8.47 GiB2.83×