Model comparison
deepseek-coder-7b-instruct-v1.5 vs gemma-4-E4B-it
At Q4_K_M, deepseek-coder-7b-instruct-v1.5 is the smaller download — 4,223,359,872 bytes against 4,977,171,584. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 29.7× smaller, which usually matters more than the difference in weights.
From the file· summed bytes, KV per layer
Side by side
| deepseek-coder-7b-instruct-v1.5 | gemma-4-E4B-it | |
|---|---|---|
| Parameters | 6.9B | 8.0B |
| Architecture | llama | gemma4 |
| Layers | 30 | 42 |
| Native context | 4,096 | 131,072 |
| Mixture of experts | no | no |
| Quantizations published | 49 | 36 |
| Smallest quantization | 1.61 GiB | 3.30 GiB |
| Q4_K_M | 3.93 GiB | 4.64 GiB |
| Licence | other | apache-2.0 |
KV cache by context
the term that decides long-context viability
| Context | deepseek-coder-7b-instruct-v1.5 | gemma-4-E4B-it | Ratio |
|---|---|---|---|
| 4,096 | 1.88 GiB | 0.12 GiB | 15.24× |
| 8,192 | 3.75 GiB | 0.18 GiB | 21.10× |
| 16,384 | 7.50 GiB | 0.29 GiB | 26.12× |
| 32,768 | 15.00 GiB | 0.51 GiB | 29.65× |
| 65,536 | 30.00 GiB | 0.94 GiB | 31.80× |
| 131,072 | 60.00 GiB | 1.82 GiB | 33.00× |