⌕ search /

How much VRAM does LLaMA 3.1 405B need?

LLaMA 3· 405B params

Headline estimate

At bf16, reference 8K context, batch size 1: 820.4GB of VRAM. The recommended configuration is 4× B300 SXM 288GB.

Size LLaMA 3.1 405B for your own context, users and GPUs in the calculator →

VRAM by quantization

Context length sensitivity

bf16 · batch 1

Same model, same bf16 dtype, batch size 1 — VRAM at longer context windows.

ContextVRAM (bf16)
8K820.4GB
32K833.1GB
128K883.8GB

Model facts

Parameters405B
Architecturedense
Max context131,072

About LLaMA 3.1 405B

How much VRAM does an LLaMA 3.1 405B need? At bf16 — the reference precision, no quality loss — a reference 8K-context, batch-1 deployment needs 820.4GB, which is enough to tell you the recommended configuration is 4× B300 SXM 288GB. That number comes straight out of our GPU calculator's architecture-aware model, the same path the interactive calculator uses, not a size-based estimate. LLaMA 3.1 405B is a LLaMA 3 model built from 405B parameters, and most of that VRAM at batch size 1 is model weights rather than KV cache or runtime overhead — which is exactly why quantization moves the needle so much. Switching to fp8 cuts the weight footprint roughly in half; AWQ (weight-only int4) goes further, at some quality cost on harder tasks; and NVFP4 lands in a similar range to AWQ but with native throughput on Blackwell GPUs instead of an emulated dtype. The table above walks through all four options with the exact VRAM total and the recommended GPU configuration for each one. Context length adds its own pressure on top of the weights: every additional token of context grows the KV cache, so a 128K-context deployment of this model needs meaningfully more headroom than the 8K reference case shown as the headline number — the context-sensitivity table breaks that out at 32K and 128K wherever this model's native window allows it.

Frequently asked questions

How much VRAM does LLaMA 3.1 405B need?

At bf16, reference 8K context and batch size 1, LLaMA 3.1 405B needs 820.4GB of VRAM. The recommended configuration we find is 4× B300 SXM 288GB.

How many parameters does LLaMA 3.1 405B have?

LLaMA 3.1 405B has 405B parameters (dense — every parameter is active on every token).

Does quantization reduce LLaMA 3.1 405B's VRAM requirement?

Yes — switching from bf16 to fp8 brings the total down to 423.5GB, and weight-only int4 formats (AWQ, NVFP4) go further still. See the per-dtype table above for exact numbers.

Where do these VRAM numbers come from?

They're computed by the same calculator engine behind our interactive GPU calculator, from the model's published architecture (layers, hidden size, attention heads, KV cache config) — not a generic per-parameter estimate.

Methodology: VRAM figures are computed by the same calculator engine behind our interactive GPU calculator, from LLaMA 3.1 405B's published architecture (layer count, hidden size, attention heads, KV cache configuration) — not a generic per-parameter estimate. Reference scenario: batch size 1, vLLM framework, fp16 KV cache. These are engineering estimates, not a guarantee — always validate against your actual serving framework and workload before committing to hardware.

Size a full deployment of LLaMA 3.1 405B — concurrency, framework, quantization — in the calculator →

Prices are collected daily from each provider's public price list or API. Estimates, not quotes — always confirm on the provider's own page before committing.

How this works · How accurate it is