Model comparison

chandra-ocr-2 vs gemma-4-E4B-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-E4B-it-qat-q4_0-unquantized's KV cache at 32K is 2.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

chandra-ocr-2gemma-4-E4B-it-qat-q4_0-unquantized
Parameters5.3B7.9B
Architectureqwen35gemma4
Layers3242
Native context262,144131,072
Mixture of expertsnono
Quantizations published141
Smallest quantization1.98 GiB4.80 GiB
Q4_K_M2.86 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextchandra-ocr-2gemma-4-E4B-it-qat-q4_0-unquantizedRatio
4,0960.13 GiB0.12 GiB1.02×
8,1920.25 GiB0.18 GiB1.41×
16,3840.50 GiB0.29 GiB1.74×
32,7681.00 GiB0.51 GiB1.98×
65,5362.00 GiB0.94 GiB2.12×
131,0724.00 GiB1.82 GiB2.20×