Llama 3.1 405B: VRAM needed and cost to run

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

JobGPU memoryCheapest configuration now
Run · fp16897.7 GB7 × H200 on Vast.ai · $12.91/h
Run · int8478.0 GB7 × A100 80GB on Vast.ai · $4.41/h
Run · q4277.1 GB7 × RTX A6000 on RunPod · $2.31/h
Fine-tune QLoRA298.7 GB7 × RTX A6000 on RunPod · $2.31/h
Fine-tune LoRA883.2 GB5 × MI300X on RunPod · $11.95/h

Change precision, context or hours in the planner.