LLM VRAM Checker

Running Gemma 2 27B locally

Google · 27B parameters · released 2024-06

The large Gemma 2. Around 16 GB at Q4 — 16 GB-class cards and 32 GB Macs are the natural hosts.

Q4 — 4-bit quantized

≈ 15.7 GB

weights only, plus 2 GB context headroom rule

Q8 — 8-bit quantized

≈ 28.6 GB

weights only, plus 2 GB context headroom rule

Verdicts by hardware

HardwareUsableQ4 (15.7 GB)Q8 (28.6 GB)
RTX 4090 (24 GB)24 GBRuns wellToo big
RTX 3090 (24 GB)24 GBRuns wellToo big
RTX 4070 Ti SUPER (16 GB)16 GBTight fitToo big
RTX 4060 Ti (16 GB)16 GBTight fitToo big
RTX 3060 (12 GB)12 GBToo bigToo big
RTX 4060 (8 GB)8 GBToo bigToo big
MacBook Air M2 (8 GB unified)5.6 GBToo bigToo big
MacBook Pro M4 Pro (48 GB unified)33.6 GBRuns wellRuns well
Mac Studio M2 Max (64 GB unified)44.8 GBRuns wellRuns well
CPU only (32 GB system RAM)25.6 GBRuns wellToo big
CPU only (16 GB system RAM)12.8 GBToo bigToo big

Notes

The table uses a transparent estimate: 27B × bytes-per-weight (Q4 0.58, Q8 1.06), then compares against usable memory — full VRAM on discrete GPUs, ~70% on Apple unified memory, ~80% on CPU-only system RAM. A verdict needs the weights plus 2 GB of headroom for context and runtime buffers.

Longer context windows consume additional memory beyond the weights. If you run 32k+ token contexts, treat “Tight fit” as “no” and give “Runs well” setups extra headroom.