← CanIRunLocal · All hardware · All models

Can Llama 4 Maverick 400B (MoE) Run on H100 PCIe 80GB?

Llama 4 Maverick 400B (MoE) at Q4_K_M on H100 PCIe 80GB: 247.7 GB needed versus 79.5 GB usable; try ollama run llama4:128x17b.

No. Llama 4 Maverick 400B (MoE) does not fit on H100 PCIe 80GB: Q4_K_M needs 247.7 GB and 79.5 GB is usable.

Hardware: H100 PCIe 80GB · Model: Llama 4 Maverick 400B (MoE)

H100 PCIe 80GB has 80 GB of VRAM and 2000 GB/s of memory bandwidth. The checker holds back 0.5 GB of VRAM for the driver and assumes 16 GB of system RAM, so fast memory usable by Ollama is 79.5 GB. Partial offload may also use 60% of that system RAM. Llama 4 Maverick 400B (MoE) (400B, 17B active, Meta) at Q4_K_M is a 245 GB download and needs 247.7 GB with headroom for about 8k tokens.

Best quantQ4_K_M
Download size245 GB
Memory needed247.7 GB
Usable fast memory79.5 GB
Fitdoes not fit
Estimated speedno estimate, it does not fit
Commandollama run llama4:128x17b

Memory breakdown

Weights at Q4_K_M245 GB
Context / KV cache (~8k tokens and one image)2.7 GB
Total needed247.7 GB
Usable GPU memory79.5 GB
Headroom168.2 GB over

Weights are the listed download size. The context line is the checker's allowance for about 8,192 tokens, not a measured KV cache. Total needed rounds that sum to 0.1 GB.

Safe context length

The Q4_K_M weights (245 GB) are larger than the 79.5 GB of usable memory, so this page does not estimate a safe context length in fast memory.

Quants

Every quant this checker lists for the command below. Yes fits in fast memory with at least 1 GB spare. Tight means under 1 GB spare, partial offload, or a raised Mac GPU limit. Speeds are estimates from memory bandwidth, not measured benchmarks. How we estimate

QuantSizeFitsEst. tok/s
Q4_K_M picked245 GBno—

Smallest hardware that runs it: 4x Mac Studio M5 Max (40c GPU) 128GB at Q4_K_M (fits in fast memory, 247.7 GB needed, 378.0 GB usable, about 52 tok/s (estimate)).

A smaller Meta model that fits this hardware: Llama 4 Scout 109B (MoE) at Q4_K_M (fits in fast memory, 69.7 GB). Can Llama 4 Scout 109B (MoE) Run on H100 PCIe 80GB?

Open H100 PCIe 80GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Speeds are for short chats. Long conversations (around 8k tokens) run about 10–15% slower because the model rereads its memory of the chat for every word. How we estimate. Data updated 2026-11-25.

A project by OnDevice Labs · llms.txt · How we estimate