Llama 3.1 (405B) has 405 billion parameters. At standard 4-bit quantization with 8K context, it needs roughly 273.4 GB of VRAM — weights plus cache and runtime overhead.

VRAM by quantization

PrecisionWeightsCache/BufferTotal VRAM
2-bit (IQ2_XXS)129.6 GB48.6 GB180.2 GB
4-bit (Q4_K_M)222.8 GB48.6 GB273.4 GB
8-bit (Q8_0)425.3 GB48.6 GB475.9 GB
16-bit (FP16)810.0 GB48.6 GB860.6 GB

Which GPU can run Llama 3.1 (405B) (at 4-bit)?

GPU classVRAMLlama 3.1 (405B) (273.4 GB)
8 GB · RTX 5060 / 40608 GBWon’t fit
12 GB · RTX 5070 / 306012 GBWon’t fit
16 GB · RTX 5070 Ti / 408016 GBWon’t fit
24 GB · RTX 4090 / 309024 GBWon’t fit
32 GB · RTX 509032 GBWon’t fit
48 GB · 2×24 / RTX 6000 Ada48 GBWon’t fit
128 GB · M-series / RTX Spark128 GBWon’t fit

Meta's extreme-scale dense open model. Massive host RAM required.

Get the exact number for your setup
Pick your model, quantization, and context length — the calculator shows the full VRAM math and tells you precisely which hardware fits.
Open the Local AI Calculator
Related guides
Best GPU for Llama 3 70B How Much VRAM for DeepSeek-R1 Q4 vs Q8 Quantization Explained Apple Silicon for Local AI RTX Spark: 128GB Unified Memory

VRAM figures are reproducible estimates (weights + KV cache + overhead) and vary by runtime and quant format. Data current as of 2026-06-15.