Gemma 2 9B: VRAM needed and cost to run

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

JobGPU memoryCheapest configuration now
Run · fp1623.6 GB2 × RTX 4090 on Vast.ai · $0.14/h
Run · int814.1 GB1 × RTX 4090 on Vast.ai · $0.07/h
Run · q49.5 GB1 × RTX 4090 on Vast.ai · $0.07/h
Fine-tune QLoRA10.5 GB1 × RTX 4090 on Vast.ai · $0.07/h
Fine-tune LoRA23.8 GB2 × RTX 4090 on Vast.ai · $0.14/h

Change precision, context or hours in the planner.