Gemma · 27.4B Dense

Gemma 4 27B VRAM Requirements & GPU Calculator

Google's 2026 Gemma 4 27B open-weight model built for fast single-GPU local inference at 4-bit quantization. Needs roughly 22.0 GB VRAM at Q4_K_M (8K context).

1. Configure Model & Hardware 100% Client-Side
2. VRAM & Speed Estimate
Calculating...

VRAM Needed
-- GB
Usable VRAM
-- GB
Est. Speed
-- tok/s
Memory Breakdown --%
Weights KV Cache Overhead
ollama run qwen3:32b

Need more VRAM for local LLMs?

Rent an on-demand cloud GPU by the hour or compare local hardware upgrades.

Gemma 4 27B VRAM by Quantization (8K Context)

QuantPrecisionWeightsKV CacheTotal VRAM
FP16 FP16 (16-bit) 56.4 GB 3.88 GB 62.9 GB
Q8_0 Q8_0 (8-bit) 30.0 GB 3.88 GB 35.4 GB
Q6_K Q6_K (6-bit) 23.1 GB 3.88 GB 28.3 GB
Q5_K_M Q5_K_M (5-bit) 20.0 GB 3.88 GB 25.1 GB
Q4_K_M Q4_K_M (4-bit) 17.1 GB 3.88 GB 22.0 GB
IQ4_XS IQ4_XS (4-bit compact) 15.0 GB 3.88 GB 19.8 GB
Q3_K_M Q3_K_M (3-bit) 13.8 GB 3.88 GB 18.6 GB
Q2_K Q2_K (2-bit) 10.6 GB 3.88 GB 15.2 GB

Which GPUs & Macs Can Run Gemma 4 27B at Q4_K_M?

GPU / MacUsable VRAMStatus (Q4_K_M)Est. Speed
NVIDIA RTX 5090 (32GB) 31.2 GB Fits ~75.6 tok/s
NVIDIA RTX 5080 (16GB) 15.3 GB OOM OOM
NVIDIA RTX 5070 Ti (16GB) 15.3 GB OOM OOM
NVIDIA RTX 4090 (24GB) 23.2 GB Tight Fit ~42.5 tok/s
NVIDIA RTX 4080 Super (16GB) 15.3 GB OOM OOM
NVIDIA RTX 4060 Ti (16GB) 15.3 GB OOM OOM
NVIDIA RTX 3090 (24GB) 23.2 GB Tight Fit ~39.5 tok/s
NVIDIA RTX 3060 (12GB) 11.4 GB OOM OOM
Apple M5 Pro (48GB Unified) 36 GB Fits ~11.9 tok/s
Apple M5 Max (128GB Unified) 96 GB Fits ~23.9 tok/s
Apple M4 Pro (48GB Unified) 36 GB Fits ~10.9 tok/s
Apple M4 Max (64GB Unified) 48 GB Fits ~21.7 tok/s
Apple M4 Max (128GB Unified) 96 GB Fits ~21.7 tok/s
Apple M4 (24GB Unified) 18 GB OOM OOM
Apple M3 Ultra (192GB Unified) 144 GB Fits ~31.9 tok/s
NVIDIA RTX PRO 6000 (96GB) 94.5 GB Fits ~75.6 tok/s
NVIDIA H100 (80GB SXM) 78.5 GB Fits ~141.2 tok/s