Run Llama 3.1 405B on M5 Ultra

The LLMCheck index estimates Llama 3.1 405B at ~4 tok/s on an M5 Ultra at Q4_K_M, a figure from its published bandwidth model, not a measured run. It needs about 240 GB of unified memory. It is Meta's 405B dense model, released under the Meta Custom licence.

Speed
estimated~4
tok/s
First Token
—
seconds
RAM Needed
240
GB minimum
Engine
MLX
of this figure
Want to run Llama 3.1 405B faster — or step up to bigger models? Find your Mac →

The figure

This is an LLMCheck index estimate from its published two-term bandwidth model, not a measured run; the index labels it so everywhere it appears. The bandwidth formula’s typical error for dense models is ±9%, against 75 measured runs of 20 models (how it is computed). Own this Mac? Submit a real run →

MetricValue
Tokens per secondestimated~4 tok/s
Provenanceestimate · how estimates are made
QuantizationQ4_K_M
EngineMLX
Figure dated2026-08
Minimum RAM240 GB
Parameters405B
Chip bandwidth1228 GB/s

Every figure for Llama 3.1 405B on the M5 Ultra

Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (240 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.

SpeedQuantEngineMac RAMContextSourceNote
estimated4 tok/sQ4_K_MMLX512 GB—LLMCheck estimator—
Provenance key
sourced
Published figure — vendor or press review
estimated
community
Linked individual run — blog, forum or submission

Setup: run Llama 3.1 405B on a Mac

Ollama — install it (brew install ollama or the app from ollama.com), then pull the model by its tag, checked on ollama.com on 2026-11-14:

ollama run llama3.1:405b

MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:

pip install -U mlx-lm
mlx_lm.generate --model <repo-id> --prompt "Hello"

Downloads: Ollama page → · Hugging Face model card →

Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.

About Llama 3.1 405B

Meta's dense 405B (Meta Custom license, 128K context). Needs ~240 GB, so it starts at a 256 GB Mac Studio, where dense decoding is slow.

Meta Custom licence · 405B · 128K context · LLMCheck capability 35/50 · see its leaderboard rank →

System requirements

Macs with the M5 Ultra

🛒 Get a Mac that runs Llama 3.1 405B

Llama 3.1 405B needs about 240 GB of unified memory. These Apple Silicon Macs have enough to run it. Apple builds the higher-memory configurations to order; Amazon does not stock them, so the used option links Amazon Renewed listings.

As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.

Compare More Models

See how Llama 3.1 405B stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard