Llama 3.1 405B VRAM needed and GPU rental cost

Llama 3.1 405B has 405.9 billion parameters (from the model card). Weights alone take 811.8 GB at FP16. With a 20% allowance for the KV cache and activations, plan for about 974 GB of VRAM at FP16, 487 GB at FP8 and 244 GB at INT4. The cheapest public on-demand way to hold it at FP8 is 7x A100 at Thunder Compute, $7.63/hr.

Parameters
405.9B
From the model card
FP16
974 GB
Estimated VRAM
FP8
487 GB
Estimated VRAM
INT4
244 GB
Estimated VRAM

Memory and cost

Estimated VRAM and the cheapest public rental that fits

Each row is a way to run or tune Llama 3.1 405B. The option is the cheapest on-demand price we track, from rows we rate high or medium confidence, on one node of up to 8 GPUs. Change the precision or hours in the calculator.

Llama 3.1 405B memory estimate and cheapest rental by mode
ModeEstimated VRAMCheapest public on-demand optionPer month (730 h)Source
Inference, FP16 or BF16974 GB6x MI300X at Crusoe, $20.70 per hour$15,111.00Source
Inference, FP8 or INT8487 GB7x A100 at Thunder Compute, $7.63 per hour$5,569.90Source
Inference, INT4 (4-bit)244 GB4x A100 at Thunder Compute, $4.36 per hour$3,182.80Source
Fine-tune, LoRA (16-bit base)974 GB6x MI300X at Crusoe, $20.70 per hour$15,111.00Source
Fine-tune, QLoRA (4-bit base)244 GB4x A100 at Thunder Compute, $4.36 per hour$3,182.80Source
Fine-tune, full (Adam, mixed precision)7793 GBNeeds more than 8 GPUs of any type, so a multi-node job.n/a
How to read this. Memory is an estimate, not a benchmark. Multi-GPU setups need fast links between GPUs, and the cheapest row may be a marketplace or PCIe listing. Check the source page before you rent.

Fit by chip

How many GPUs Llama 3.1 405B needs, by chip

Number of GPUs whose combined memory covers the estimate. Compare the chips on their price pages.

GPUs needed by chip and precision
PrecisionL40S
48 GB
A100
80 GB
H100
80 GB
H200
141 GB
B200
180 GB
MI300X
192 GB
B300
288 GB
FP16 (974 GB)more than 8more than 8more than 87664
FP8 (487 GB)more than 8774332
INT4 (244 GB)6442221

FAQ

Llama 3.1 405B questions

How much VRAM does Llama 3.1 405B need?

About 974 GB at FP16, 487 GB at FP8 and 244 GB at INT4. These are estimates: parameters times bytes per parameter, plus 20% for the KV cache and activations. Long contexts and large batches need more.

Can Llama 3.1 405B run on one H100?

An H100 has 80 GB. At FP16 it needs more than 8 H100 GPUs, at FP8 7 and at INT4 4, by this estimate.

What does it cost to rent a GPU for Llama 3.1 405B?

At FP8 the cheapest public on-demand option we track is 7x A100 at Thunder Compute, $7.63/hr, about $5,569.90 for a 730-hour month. At INT4 it is 4x A100 at Thunder Compute, $4.36/hr. Prices change often, so check the source link on each row. Last checked Nov 9, 2026.

How are these estimates made?

Memory is the parameter count times bytes per parameter (2 for FP16, 1 for FP8, 0.5 for INT4), times 1.2. Fine-tuning uses 2 bytes for LoRA, 0.5 for QLoRA and 16 for full fine-tuning with Adam (2 weights, 2 gradients, 12 optimizer bytes), times 1.2. Real usage depends on the framework, context length and batch size.

Need this capacity?

Tell us the GPU, count, term, region and budget. We reply with the public prices that match and the checks to run before you pay. Free, and we do not sell compute.