Llama 3.1 8B: VRAM needed and cost to run

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

JobGPU memoryCheapest configuration now
Run · fp1619.2 GB1 × RTX 4090 on Vast.ai · $0.07/h
Run · int810.9 GB1 × RTX 4090 on Vast.ai · $0.07/h
Run · q47.0 GB1 × RTX 4090 on Vast.ai · $0.07/h
Fine-tune QLoRA9.3 GB1 × RTX 4090 on Vast.ai · $0.07/h
Fine-tune LoRA20.8 GB1 × RTX 4090 on Vast.ai · $0.07/h

Change precision, context or hours in the planner.