RunsOnMy ModelsGPUs & MacsBy VRAMBest GPUCan I run…?OllamaStart hereAPI pricesVRAM calculatorNew

Can I run Llama 3.1 405B Instruct locally?

Llama 3.1 405B Instruct by meta-llama has 406B parameters. At 4-bit with an 8K context it needs about 236 GB of GPU memory. It fits on 2 of 65 GPUs and Macs we track.

236 GBQ4_K_M · 8K context
nonesmallest consumer GPU that fits
M3 Ultra 512GBsmallest Mac that fits
128Kmax context
GQAattention type

Memory needed by quant and context length

GB of GPU memory = weights + KV cache (FP16) + runtime overhead. Weights use parameter count × bits per weight. How we calculate.

QuantQuality4K ctx8K ctx32K ctx128K ctx
2-bit (Q2_K)rough144 GB146 GB158 GB205 GB
3-bit (Q3_K_M)usable187 GB189 GB201 GB248 GB
4-bit (Q4_K_M)good, most popular234 GB236 GB247 GB295 GB
5-bit (Q5_K_M)very good272 GB274 GB286 GB333 GB
6-bit (Q6_K)near lossless313 GB315 GB326 GB374 GB
8-bit (Q8_0)effectively lossless404 GB406 GB418 GB465 GB
16-bit (F16/BF16)original weights759 GB761 GB772 GB820 GB

Which GPUs and Macs run Llama 3.1 405B Instruct?

Best quality quant that fits at 8K context. "Tight" = within 10% of usable memory. Speed is a ceiling from memory bandwidth (real speed is typically 50–80% of it).

HardwareMemoryFits?Best quantNeedsMax tok/s (est.)Details
RTX 3060 12GB12 GBNo———details
RTX 4060 Ti 16GB16 GBNo———details
RTX 309024 GBNo———details
RTX 409024 GBNo———details
RTX 509032 GBNo———details
RTX 5070 Ti16 GBNo———details
RX 7900 XTX24 GBNo———details
Mac M4 Pro 48GB48 GBNo———details
Mac M4 Max 128GB128 GBNo———details
Mac M3 Ultra 512GB512 GBFitsQ6_K315 GB2.5details
DGX Spark128 GBNo———details
RTX 407012 GBNo———details
RTX 5060 Ti 16GB16 GBNo———details
RTX 40608 GBNo———details
Arc B58012 GBNo———details
RTX 3060 Ti8 GBNo———details
RTX 30708 GBNo———details
RTX 3080 10GB10 GBNo———details
RTX 3080 12GB12 GBNo———details
RTX 3090 Ti24 GBNo———details
RTX 4060 Ti 8GB8 GBNo———details
RTX 4070 Super12 GBNo———details
RTX 4070 Ti12 GBNo———details
RTX 4070 Ti Super16 GBNo———details
RTX 408016 GBNo———details
RTX 4080 Super16 GBNo———details
RTX 50608 GBNo———details
RTX 507012 GBNo———details
RTX 508016 GBNo———details
2x RTX 30902×24 GBNo———details
2x RTX 40902×24 GBNo———details
2x RTX 50902×32 GBNo———details
RTX A600048 GBNo———details
RTX 6000 Ada48 GBNo———details
RTX PRO 6000 Blackwell96 GBNo———details
L40S48 GBNo———details
A100 40GB40 GBNo———details
A100 80GB80 GBNo———details
H100 PCIe80 GBNo———details
H100 SXM80 GBNo———details
H200141 GBNo———details
RX 76008 GBNo———details
RX 7700 XT12 GBNo———details
RX 7800 XT16 GBNo———details
RX 7900 GRE16 GBNo———details
RX 7900 XT20 GBNo———details
RX 907016 GBNo———details
RX 9070 XT16 GBNo———details
Ryzen AI Max+ 395 128GB128 GBNo———details
Arc A770 16GB16 GBNo———details
Mac M1 16GB16 GBNo———details
Mac M2 24GB24 GBNo———details
Mac M3 24GB24 GBNo———details
Mac M4 16GB16 GBNo———details
Mac M4 32GB32 GBNo———details
Mac M1 Pro 32GB32 GBNo———details
Mac M3 Pro 36GB36 GBNo———details
Mac M4 Pro 24GB24 GBNo———details
Mac M4 Pro 64GB64 GBNo———details
Mac M1 Max 64GB64 GBNo———details
Mac M2 Max 96GB96 GBNo———details
Mac M3 Max 128GB128 GBNo———details
Mac M4 Max 64GB64 GBNo———details
Mac M2 Ultra 192GB192 GBNo———details
Mac M3 Ultra 256GB256 GBFitsQ2_K146 GB5.4details

Questions

How much VRAM does Llama 3.1 405B Instruct need?

About 236 GB at 4-bit (Q4_K_M) with an 8K context: 231 GB of weights (estimated), 3.9 GB of KV cache and 0.6 GB of runtime overhead. At 8-bit it needs about 406 GB.

What is the smallest GPU that runs Llama 3.1 405B Instruct?

No single consumer GPU in our table fits it at Q4_K_M with 8K context; the smallest option that does is the Mac M3 Ultra 512GB (512 GB).

Can I run Llama 3.1 405B Instruct on a Mac?

Yes. At Q4_K_M with 8K context it fits on a Mac M3 Ultra 512GB or larger, using the default macOS GPU memory limit.

Similar models

Same family or a similar parameter count, with the VRAM each needs at Q4_K_M and 8K context.

Llama 4 Maverick 17B 128E Instruct

402B · 228 GB at 4-bit

Llama 4 Scout 17B 16E Instruct

109B · 65.2 GB at 4-bit

Llama 3.3 70B Instruct

71B · 42.7 GB at 4-bit

MiniMax M3

427B · 245 GB at 4-bit

GLM 4.5

358B · 207 GB at 4-bit

GLM 4.7

358B · 207 GB at 4-bit

Embed this

Llama 3.1 405B Instruct: needs 236 GB VRAM Free badge and "Will it run on my GPU?" widget for model cards, READMEs and blogs. No cookies, no tracking. All options.

Copy a snippet

Markdown badge

[![Llama 3.1 405B Instruct: needs 236 GB VRAM (RunsOnMy)](https://runsonmy.com/badge/llama-3-1-405b-instruct.svg)](https://runsonmy.com/model/llama-3-1-405b-instruct/)

Widget (script)

<div class="runsonmy-widget" data-model="llama-3-1-405b-instruct"><a href="https://runsonmy.com/model/llama-3-1-405b-instruct/">Will Llama 3.1 405B Instruct run on my GPU? Check on RunsOnMy</a></div>
<script async src="https://runsonmy.com/embed.js"></script>

Widget (iframe)

<iframe src="https://runsonmy.com/embed/m/llama-3-1-405b-instruct/" width="100%" height="220" style="max-width:440px;border:0" loading="lazy" title="Will Llama 3.1 405B Instruct run on my GPU? (RunsOnMy)"></iframe>

Model facts

Hugging Face repometa-llama/Llama-3.1-405B-Instruct
Parameters405,853,388,800 (406B)
Layers / hidden size126 / 16384
AttentionGQA; 128 heads, 8 KV heads, head dim 128
KV cache per token (FP16)504.0 KiB
Max context131,072 tokens
Licensellama3.1 (gated: accept terms on Hugging Face)
Released on HFJul 16, 2024
Downloads (30d) / likes7,465 / 608

Sources: Hugging Face model API · config.json (nvidia/Llama-3.1-405B-Instruct-NVFP4) · GPU specs from vendor pages (list). Data fetched Nov 17, 2026. Spot an error? Report it.