RackedPrice
Will it run?

Can I run Llama 4 Maverick (400B) at home?

402 billion parameters. At Q4 it needs about 229 GB of GPU memory.

Q4 (Q4_K_M)

Needs about 229 GB

Bigger than any GPU setup or Mac we track.

The usual choice for running at home. Small quality loss.

Q8 (Q8_0)

Needs about 400 GB

Bigger than any GPU setup or Mac we track.

Close to full quality, about twice the memory of Q4.

FP16 (unquantized)

Needs about 751 GB

Bigger than any GPU setup or Mac we track.

Full size, as released. Mostly for fine-tuning and research.

Hardware that fits

Single GPUs and Macs first, cheapest first, then multi-GPU setups (slower, more setup). Today's typical prices. ✓ means the estimate fits in usable memory. Extra cards that wouldn't fit anything more are left out.

Plan a build →
None of the GPUs or Macs we track can hold Llama 4 Maverick (400B), even at Q4 with 4 cards.

Too small for this model even at Q4: Mac mini M4 16GB (10.7 GB usable), Nvidia Quadro P2000 5GB (used) (4.5 GB usable), Nvidia T400 4GB (3.5 GB usable), RTX 2080 Ti 11GB (used) (10.5 GB usable), RTX 3060 12GB (used) (11.5 GB usable), RTX 3080 10GB (used) (9.5 GB usable), RTX 3090 (used) (23.5 GB usable), RTX 4090 (used) (23.5 GB usable), RTX A6000 48GB (used) (47.5 GB usable), Radeon RX 7900 XT 20GB (19.5 GB usable), Tesla P100 16GB (used) (15.5 GB usable), Tesla P40 (used) (23.5 GB usable), Tesla T4 16GB (used) (15.5 GB usable), RTX 4060 Ti 16GB (15.5 GB usable), RTX 5090 (31.5 GB usable), Radeon RX 7900 XTX (used) (23.5 GB usable), Mac mini M4 Pro 64GB (48.0 GB usable), Mac Studio M4 Max 128GB (96.0 GB usable), Mac Studio M3 Ultra 256GB (192 GB usable), Mac Studio M2 Ultra 192GB (used) (144 GB usable), RTX 4070 Super (11.5 GB usable), RTX 4070 Ti Super 16GB (15.5 GB usable), RTX 5070 12GB (11.5 GB usable), RTX 5070 Ti 16GB (15.5 GB usable), RTX 5080 16GB (15.5 GB usable), Radeon RX 9070 XT (15.5 GB usable), Intel Arc B580 12GB (11.5 GB usable), RTX A4000 16GB (used) (15.5 GB usable), RTX A5000 24GB (used) (23.5 GB usable), RTX 3090 Ti (used) (23.5 GB usable), Radeon Instinct MI50 32GB (used) (31.5 GB usable), RTX 4080 Super 16GB (15.5 GB usable), RTX 4060 8GB (7.5 GB usable), Intel Arc A770 16GB (15.5 GB usable), Intel Arc A380 6GB (5.5 GB usable).

Memory needed

Estimate for each quantization. Model numbers from its published config.

QuantizationWeightsKV cache (8,192 tokens)OverheadTotal
Q4 (Q4_K_M)227 GB1.5 GB1.0 GB229 GB
Q8 (Q8_0)398 GB1.5 GB1.0 GB400 GB
FP16 (unquantized)749 GB1.5 GB1.0 GB751 GB

Longer chats need more memory

Quantization4K context8K context32K context128K context
Q4 (Q4_K_M)229 GB229 GB234 GB252 GB
Q8 (Q8_0)400 GB400 GB405 GB423 GB
FP16 (unquantized)751 GB751 GB756 GB774 GB

Total memory at each chat length (tokens the model keeps in view). Llama 4 Maverick (400B) supports up to 131,072 tokens. The cards above use 8,192. Pick a different length in the build planner.

Good to know. Mixture of experts: 17B parameters work on each token, but all of it has to fit. The model card says 400B total; Hugging Face's file count is 402B, which we use to be safe.

How we estimate memory

This is an estimate, worked out by code from each model's published size. Real use varies by app (llama.cpp, Ollama, LM Studio, vLLM), settings and context length.

  • Weights = parameters × bits per weight ÷ 8.
  • KV cache (the model's short-term memory of your chat) = 2 × layers × KV heads × head size × 8,192 tokens of context × 2 bytes. Longer chats need more.
  • Overhead = 1 GB for the app and its working buffers.
  • Usable memory: each GPU keeps 0.5 GB back for the driver. On a Mac, macOS lets the GPU use about 67% of memory on models with 36 GB or less and about 75% on bigger ones.
  • Several GPUs: apps like llama.cpp and vLLM can split a model across cards. You need a motherboard, power supply and case that can hold them, which isn't in the price.

Worked example, Llama 4 Maverick (400B) at Q4: 402 billion weights × 4.85 bits ÷ 8 = 227 GB of weights. KV cache: 2 × 48 layers × 8 KV heads × 128 × 8,192 tokens × 2 bytes = 1.5 GB. Plus 1 GB overhead = about 229 GB.

GB here are the same gigabytes GPU makers use for VRAM. Prices are today's typical price from our tracker (for eBay, the median of matching Buy It Now listings); a multi-GPU price is that times the number of cards. We don't show speed (tokens per second) because we don't have benchmark numbers we can stand behind.

Planning a whole PC for Llama 4 Maverick (400B)? The local AI build planner lets you pick the GPU, CPU, RAM, SSD and power supply from tracked parts, with a live total and the same VRAM check.

Other models

All models →
Follow any price, no sign-up. Every product page has an RSS feed ("Follow this price") for your feed reader, and "Add to my list" keeps the items you care about on one page, stored only in your browser. Discord and Telegram alerts are coming.