Model comparison

olmOCR-2-7B-1025 vs gemma-4-E4B-it

At Q4_K_M, olmOCR-2-7B-1025 is the smaller download — 4,683,072,032 bytes against 4,977,171,584. 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

olmOCR-2-7B-1025gemma-4-E4B-it
Parameters8.3B8.0B
Architectureqwen2vlgemma4
Layers2842
Native context128,000131,072
Mixture of expertsnono
Quantizations published5036
Smallest quantization1.77 GiB3.30 GiB
Q4_K_M4.36 GiB4.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextolmOCR-2-7B-1025gemma-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×