← CanIRunLocal · All hardware · All models

Can Llama 4 Maverick 400B (MoE) Run on Ryzen AI Max+ 395 128GB?

Llama 4 Maverick 400B (MoE) at Q4_K_M on Ryzen AI Max+ 395 128GB: 247.7 GB needed versus 96.0 GB usable; try ollama run llama4:128x17b.

No. Llama 4 Maverick 400B (MoE) does not fit on Ryzen AI Max+ 395 128GB: Q4_K_M needs 247.7 GB and 96.0 GB is usable.

Hardware: Ryzen AI Max+ 395 128GB · Model: Llama 4 Maverick 400B (MoE)

Ryzen AI Max+ 395 128GB has 128 GB of unified memory and 256 GB/s of memory bandwidth. AMD Variable Graphics Memory can dedicate 75% of this unified memory to the GPU, so Ollama can use 96.0 GB. Speeds are estimates. 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 memory96.0 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 unified memory96.0 GB
Headroom151.7 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 96.0 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 Ryzen AI Max+ 395 128GB?

Open Ryzen AI Max+ 395 128GB 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