← CanIRunLocal · All hardware · All models

Can I run Llama 4 Maverick 400B (MoE) locally?

Meta · 400B parameters (17B active) · chat, vision.

Ollama weight files: Q4_K_M 245 GB (llama4:128x17b).

Yes on 9 machines in this list. The smallest is Mac Studio M3 Ultra 256GB: Q4_K_M, about 228.3 GB, roughly 34 tokens per second, via LM Studio. lms get mlx-community/Llama-4-Maverick-17B-128E-Instruct-4bit

Setup on 2x DGX Spark 128GB

Open Llama 4 Maverick 400B (MoE) in the checker

Hardware that fits

HardwareRuntimeQuantMemoryFitSpeedCommand
Mac Studio M3 Ultra 256GBLM StudioMLX 4bit228.3 GBfits if the Mac GPU limit is raised~34 tok/slms get mlx-community/Llama-4-Maverick-17B-128E-Instruct-4bit
Mac Studio M5 Ultra (64c GPU) 256GBLM StudioMLX 4bit228.3 GBfits if the Mac GPU limit is raised~50 tok/slms get mlx-community/Llama-4-Maverick-17B-128E-Instruct-4bit
Mac Studio M5 Ultra (80c GPU) 256GBLM StudioMLX 4bit228.3 GBfits if the Mac GPU limit is raised~50 tok/slms get mlx-community/Llama-4-Maverick-17B-128E-Instruct-4bit
2x DGX Spark 128GBvLLMW4A16218.3 GBfits in fast memory~21 tok/svllm serve RedHatAI/Llama-4-Maverick-17B-128E-Instruct-quantized.w4a16 --tensor-parallel-size 2 --distributed-executor-backend ray --max-model-len 8192
4x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ5_K_M GGUF286.8 GBfits in fast memory~15 tok/sllama-server -hf unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF:Q5_K_M --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
2x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ5_K_M GGUF286.8 GBfits in fast memory~34 tok/sllama-server -hf unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF:Q5_K_M --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra (80c GPU) 512GBOllamaQ4_K_M247.3 GBfits in fast memory~31 tok/sollama run llama4:128x17b
4x DGX Spark 128GBllama.cppQ8_0 GGUF428.2 GBfits in fast memory~7 tok/sllama-server -hf unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF428.2 GBfits in fast memory~20 tok/sllama-server -hf unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node

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. Data updated 2026-10-16.

A project by OnDevice Labs · llms.txt