Model comparison
functiongemma-270m-it vs embeddinggemma-300m
These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: functiongemma-270m-it's KV cache at 32K is 1.3× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| functiongemma-270m-it | embeddinggemma-300m | |
|---|---|---|
| Parameters | 268M | 303M |
| Architecture | gemma3 | gemma-embedding |
| Layers | 18 | 24 |
| Native context | 32,768 | 2,048 |
| Mixture of experts | no | no |
| Quantizations published | 45 | 10 |
| Smallest quantization | 0.17 GiB | 0.26 GiB |
| Q4_K_M | 0.24 GiB | — |
| Licence | gemma | — |
KV cache by context
the term that decides long-context viability
| Context | functiongemma-270m-it | embeddinggemma-300m | Ratio |
|---|---|---|---|
| 4,096 | 0.03 GiB | 0.04 GiB | 1.33× |
| 8,192 | 0.04 GiB | 0.05 GiB | 1.33× |
| 16,384 | 0.06 GiB | 0.08 GiB | 1.33× |
| 32,768 | 0.11 GiB | 0.14 GiB | 1.33× |
| 65,536 | 0.20 GiB | 0.27 GiB | 1.33× |
| 131,072 | 0.39 GiB | 0.52 GiB | 1.33× |