What GPU do I need to run google/gemma-2-27b?
27.2B parameters, published in F32. View on Hugging FaceGated
gemma-2-27b is published by google on Hugging Face, with 10,920 downloads and 211 likes to date. It's a Gemma2ForCausalLM model built for text-generation, published natively in F32, and gated: you'll need to accept the model's terms on Hugging Face before downloading weights.
VRAM required & cheapest live GPU fit
Required VRAM = weight size at each precision, plus a fixed overhead for KV-cache, activations, and fragmentation. Full formula and assumptions: methodology.
| Precision | Weight size | Required VRAM | Cheapest live fit | GPUs needed | Est. $/hr (full fit) |
|---|---|---|---|---|---|
| FP32 | 101.4 GB | 121.7 GB | V100 | 8 | $0.704/hr |
| FP8 (quantized) | 25.4 GB | 30.4 GB | RTX 4080 Super | 1 | $0.338/hr |
| cheaper alt. | RTX 5060 Ti | 2 | $0.220/hr | ||
| INT4 (quantized) | 12.7 GB | 15.2 GB | RTX 5060 Ti | 1 | $0.110/hr |
A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.
INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.
Cheapest way to run gemma-2-27b at its published (F32) precision: 8× V100, at $0.088/hr per GPU ($0.704/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.
gemma-2-27b: common questions
Can gemma-2-27b run on a single GPU?
No. At FP32 it needs 121.7 GB of VRAM, more than a single 32 GB desktop card holds. The cheapest capable card in the live feed is a 16.0 GB V100, and it takes 8 of them.
Do I need approval to download gemma-2-27b?
Yes. google gates this repository on Hugging Face, so you have to accept its terms with a signed-in account before the weights will download. It does not change the 121.7 GB the model needs once you have them.
Can gemma-2-27b run in 16-bit instead of FP32?
Yes. Its published weights are FP32, 101.4 GB, or 121.7 GB once inference overhead is added. Loading the same weights in 16 bits halves that to 50.7 GB, or 60.9 GB with overhead. How much accuracy the cast costs is model-specific and is not measured here.
How many GPUs do I need to run gemma-2-27b?
8 at FP32. It needs 121.7 GB of VRAM and the cheapest capable live offer is a 16.0 GB V100, so 8 of them come to $0.704/hr in total.
Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.
More Gemma 2 models
- gemma-2-27b-it (27.2B, BF16)
- gemma-2-27b (27.2B, BF16)
- gemma-2-9b-it (9.2B, BF16)
- gemma-2-9b (9.2B, F32)
- gemma-2-9b-it (9.2B, BF16)
Related reading: V100 pricing and specs, and The best GPUs for AI, ranked.