Does gemma-3-27b-it fit in 4GB of VRAM?
Not at these settings. No indexed quantization of gemma-3-27b-it fits 4GB card at any context we compute, with q4_0 KV. The smallest shipped quantization is 6.06 GiB in weights alone, against 3.72 GiB usable. CPU offload can still run it, slowly.
Every quantization at every context
| Quant | Weights● | 4K◐ | 8K◐ | 16K◐ | 32K◐ | 64K◐ | 128K◐ |
|---|---|---|---|---|---|---|---|
| BF16 | 50.32 GiB | 51.5 | 51.5 | 51.7 | 52.1 | 52.8 | 54.2 |
| F16 | 50.32 GiB | 51.5 | 51.5 | 51.7 | 52.1 | 52.8 | 54.2 |
| Q8_0 | 26.74 GiB | 27.9 | 28.0 | 28.1 | 28.5 | 29.2 | 30.6 |
| Q6_K_L | 20.96 GiB | 22.1 | 22.2 | 22.4 | 22.7 | 23.4 | 24.8 |
| Q6_K | 20.64 GiB | 21.8 | 21.9 | 22.0 | 22.4 | 23.1 | 24.5 |
| Q5_K_L | 18.27 GiB | 19.4 | 19.5 | 19.7 | 20.0 | 20.7 | 22.1 |
| Q5_K_M | 17.95 GiB | 19.1 | 19.2 | 19.4 | 19.7 | 20.4 | 21.8 |
| Q5_K_S | 17.48 GiB | 18.6 | 18.7 | 18.9 | 19.2 | 19.9 | 21.3 |
| Q4_1 | 15.99 GiB | 17.1 | 17.2 | 17.4 | 17.7 | 18.4 | 19.9 |
| Q4_K_L | 15.73 GiB | 16.9 | 17.0 | 17.1 | 17.5 | 18.2 | 19.6 |
| Q4_K_M | 15.41 GiB | 16.6 | 16.6 | 16.8 | 17.2 | 17.9 | 19.3 |
| Q4_K_S | 14.60 GiB | 15.7 | 15.8 | 16.0 | 16.4 | 17.1 | 18.5 |
| Q4_0 | 14.55 GiB | 15.7 | 15.8 | 15.9 | 16.3 | 17.0 | 18.4 |
| IQ4_NL | 14.50 GiB | 15.6 | 15.7 | 15.9 | 16.3 | 17.0 | 18.4 |
| IQ4_XS | 13.75 GiB | 14.9 | 15.0 | 15.2 | 15.5 | 16.2 | 17.6 |
| Q3_K_L | 13.54 GiB | 14.7 | 14.8 | 14.9 | 15.3 | 16.0 | 17.4 |
| Q3_K_M | 12.51 GiB | 13.7 | 13.7 | 13.9 | 14.3 | 15.0 | 16.4 |
| IQ3_M | 11.69 GiB | 12.8 | 12.9 | 13.1 | 13.4 | 14.1 | 15.5 |
| Q3_K_S | 11.33 GiB | 12.5 | 12.6 | 12.7 | 13.1 | 13.8 | 15.2 |
| IQ3_XS | 10.77 GiB | 11.9 | 12.0 | 12.2 | 12.5 | 13.2 | 14.6 |
| Q2_K_L | 10.10 GiB | 11.2 | 11.3 | 11.5 | 11.9 | 12.6 | 14.0 |
| UD-IQ3_XXS | 10.07 GiB | 11.2 | 11.3 | 11.5 | 11.8 | 12.5 | 13.9 |
| IQ3_XXS | 9.98 GiB | 11.1 | 11.2 | 11.4 | 11.7 | 12.4 | 13.8 |
| Q2_K | 9.78 GiB | 10.9 | 11.0 | 11.2 | 11.5 | 12.2 | 13.6 |
| UD-IQ2_M | 8.96 GiB | 10.1 | 10.2 | 10.4 | 10.7 | 11.4 | 12.8 |
| IQ2_M | 8.84 GiB | 10.0 | 10.1 | 10.2 | 10.6 | 11.3 | 12.7 |
| IQ2_S | 8.18 GiB | 9.3 | 9.4 | 9.6 | 9.9 | 10.6 | 12.0 |
| IQ2_XS | 7.86 GiB | 9.0 | 9.1 | 9.3 | 9.6 | 10.3 | 11.7 |
| UD-IQ2_XXS | 7.31 GiB | 8.5 | 8.5 | 8.7 | 9.1 | 9.8 | 11.2 |
| UD-IQ1_M | 6.51 GiB | 7.6 | 7.7 | 7.9 | 8.3 | 9.0 | 10.4 |
| UD-IQ1_S | 6.06 GiB | 7.2 | 7.3 | 7.5 | 7.8 | 8.5 | 9.9 |
Figures are GiB of total memory: weights plus KV cache plus compute buffer and backend overhead. Weights and KV are near-exact; the overhead term is modeled. Hover any cell for the breakdown.
Why there are no speeds on this page
A capacity is not a card. Whether a model fits depends only on memory, so every figure above holds for any 4GB accelerator. How fast it runs depends on memory bandwidth, which varies several-fold between cards of the same capacity — so putting a tokens-per-second number here would be inventing one. Pick a specific card from hardware and the speed column appears.
Why other calculators disagree
A parameters × bits ÷ 8 estimate ignores two things that dominate at long context. First, the weights themselves are not the nominal rate — quantizations are mixtures, so the real file is consistently larger than the label implies. Second, most of this model's layers cache only a 1,024-token window rather than the full context.