Model comparison

Llama-3.1-8B-Instruct-heretic vs gemma-4-E4B-it

At Q4_K_M, Llama-3.1-8B-Instruct-heretic is the smaller download — 4,920,739,808 bytes against 4,977,171,584.

From the file· summed bytes, KV per layer

Side by side

Llama-3.1-8B-Instruct-hereticgemma-4-E4B-it
Parameters8.0B8.0B
Architecturellamagemma4
Layers42
Native context131,072
Mixture of expertsnono
Quantizations published5936
Smallest quantization2.75 GiB3.30 GiB
Q4_K_M4.58 GiB4.64 GiB
Licencellama3.1apache-2.0

KV cache by context

the term that decides long-context viability
ContextLlama-3.1-8B-Instruct-hereticgemma-4-E4B-itRatio
4,0960.12 GiB
8,1920.18 GiB
16,3840.29 GiB
32,7680.51 GiB
65,5360.94 GiB
131,0721.82 GiB
Llama-3.1-8B-Instruct-heretic vs gemma-4-E4B-it — size, memory and hardware fit — ossmodeldb