Gemma 2 27B Instruct
27BGoogle Gemma 2
Largest open Gemma 2. Strong reasoning; needs 24GB+ VRAM at Q4.
8K
Max Context
3
Quant Variants
GGUF Q5_K_M
Best Quality
98.7%
Accuracy Retained
Quantization Variants
Per-quant VRAM, quality loss, and inference speed on RTX 4090
Measured = site benchmarks · Estimated = formula · Community = public reports
Similar models
Compare with Gemma 2Gemma 2 9B Instruct
Google Gemma 2
Google's compact Gemma 2 with sliding window attention. Punches above 9B.
Gemma 2 2B Instruct
Google Gemma 2
Ultra-compact Gemma 2. Runs on 4GB VRAM; great for edge prototyping.
Qwen2.5 32B Instruct
Alibaba Qwen2.5
Near-GPT-4 reasoning on a 24GB VRAM card (Q4_K_S). Groundbreaking value.
Mistral Small 24B Instruct
Mistral AI
Mistral's efficient 24B. Strong multilingual; fits on 24GB with Q4.
Running Gemma 2 27B Instruct locally
At Q4_K_M and 4K of context, Gemma 2 27B Instruct needs about 18.8 GB — 15.7 GB of weights, 1.44 GB of KV cache and a 1.7 GB activation buffer. The smallest card in this index that clears that comfortably is the RTX 4090 at 24 GB, and 29 of the 63 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.
What longer context costs
Going from 4K to 32K adds about 10.06 GB, taking the total to 29.9 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 8K; holding all of it at Q4_K_M would need about 20 GB.
Which build to download
This index tracks 2 formats for it — GGUF, AWQ — across 3 levels. Q5_K_M carries the lowest published perplexity loss at 1.3%. The fastest level measured here is AWQ INT4 at 58 tok/s on an RTX 4090, batch 1. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 and CUDA only.
Common questions
- How much VRAM does Gemma 2 27B Instruct need?
- About 18.8 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 29.9 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
- Will Gemma 2 27B Instruct run on a 24GB GPU?
- Yes — at Q4_K_M and 4K context it needs about 18.8 GB, which leaves 5.2 GB spare on a RTX 4090. That is the smallest card in this index that clears it comfortably; 29 of 63 do.
- Which quantization of Gemma 2 27B Instruct should I use?
- Q5_K_M has the lowest published quality loss (1.3%), and Q4_K_M is the level most people run. All 3 levels in the index are Q4_K_M, Q5_K_M, AWQ INT4.
Where this model fits
Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.
- Runs comfortably on
- RTX 409024GB · +5.2RTX 309024GB · +5.2Tesla P40 24G24GB · +5.2Radeon RX 7900 XTX24GB · +5.2RTX 509032GB · +13.2
- Tight but possible
- Radeon RX 7900 XT20GBMac M4 Pro 24G24GB
- Compared here
- GGUF vs AWQ
- Try it yourself
- Size it in the calculatorGenerate the run command
How to actually run this
Deployment guides for this model and this class of hardware.
This page's figures change when the model or the runtime does.Last updated 2026-09-21 RSS → /feed.xml