Gemma 2 27B: VRAM needed and cost to run

27.2B parameters · 46 layers · 16 KV heads. Memory at 8k context; cheapest configuration from today's prices. Planning estimates (±25%).

JobGPU memoryCheapest configuration now
Run · fp1663.4 GB3 × RTX 4090 on Vast.ai · $0.20/h
Run · int835.3 GB2 × RTX 4090 on Vast.ai · $0.14/h
Run · q421.8 GB1 × RTX 4090 on Vast.ai · $0.07/h
Fine-tune QLoRA23.5 GB2 × RTX 4090 on Vast.ai · $0.14/h
Fine-tune LoRA62.7 GB3 × RTX 4090 on Vast.ai · $0.20/h

Change precision, context or hours in the planner.