Architecture: Dense (27.4B total params · max context 128K). At 8K context, Q4_K_M needs ~22.3 GB VRAM (1x RTX 3090 or RTX 4090 24GB / 36GB Mac) and FP8 needs ~37.1 GB VRAM.
| Precision / Format | Model Weights | KV Cache + Overhead | Total Est. VRAM | Recommended GPU |
|---|---|---|---|---|
| IQ3_XS (3-bit) | 10.4 GB | 5.6 GB | 16.0 GB | 1x RTX 4060 Ti 16GB / RTX 4080 16GB / 24GB Mac |
| Q4_K_M / AWQ (4-bit) | 15.9 GB | 6.4 GB | 22.3 GB | 1x RTX 3090 or RTX 4090 24GB / 36GB Mac |
| FP8 / INT8 (8-bit) | 28.8 GB | 8.3 GB | 37.1 GB | 1x L40S / A6000 48GB or 2x RTX 4090 24GB |
| FP16 / BF16 (16-bit) | 54.8 GB | 12.2 GB | 67.0 GB | 1x A100 80GB / H100 80GB / 128GB Mac Studio |
| Hardware | Memory | Q4_K_M (8K Ctx) Fit |
|---|---|---|
| NVIDIA RTX 3090 / RTX 4090 | 24 GB VRAM | Fits (4K–8K context) |
| NVIDIA RTX 5090 | 32 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA L40S / RTX A6000 | 48 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA A100 / H100 (Single) | 80 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| Apple Mac Studio (Unified) | 128 GB (approx. 96 GB GPU) | Fits comfortably (headroom for 16K–32K ctx) |
Gemma-3-27B-IT requires ~15.9 GB for 4-bit Q4_K_M weights plus ~6.4 GB for 8K KV cache and CUDA runtime overhead, totaling 22.3 GB VRAM.
Fits (4K–8K context) at Q4_K_M and 8K context. For long-context serving or multi-user concurrency, consider an on-demand 48GB/80GB cloud GPU.
Total VRAM = (Total Parameters × Bytes per Parameter) + (KV Cache per 1K tokens × Context × Batch) + 15% runtime buffer. Even for Mixture-of-Experts models, all total weights (27.4B) must be loaded in memory.