Apple · M5 Ultra · Desktop
Best AI Models for Mac Studio M5 Ultra (512 GB)
Runs 70–120B models well; fits models up to 822B, like Muse Spark Open 816B A42B.
| # | Model | Speed | llmrun Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Inkling 2 SmallThinking MachinesHow to run → Q4_K_M · 359.1 GB · 46.5 t/s | 46.5 tok/s | Q4_K_M · 359.1 GB | |
| 2 | DeepSeek V4.1 Flash 1017DeepSeek Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 3 | MiMo V2.6 Flash RLXiaomi Q4_K_M · 186.5 GB · 49.8 t/s | 49.8 tok/s | Q4_K_M · 186.5 GB | |
| 4 | GLM 5.3Z.ai Q4_K_M · 453.8 GB · 22.2 t/s | 22.2 tok/s | Q4_K_M · 453.8 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
| # | Model | Speed | Coding Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 2 | GLM 5.3Z.ai Q4_K_M · 453.8 GB · 22.2 t/s | 22.2 tok/s | Q4_K_M · 453.8 GB | |
| 3 | Q4_0 · 461.5 GB · 27.4 t/s | 27.4 tok/s | Q4_0 · 461.5 GB | |
| 4 | MiMo V2.6 Flash RLXiaomi Q4_K_M · 186.5 GB · 49.8 t/s | 49.8 tok/s | Q4_K_M · 186.5 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
| # | Model | Speed | Reasoning Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 2 | Inkling 2 SmallThinking Machines Q4_K_M · 359.1 GB · 46.5 t/s | 46.5 tok/s | Q4_K_M · 359.1 GB | |
| 3 | DeepSeek V4.1 FlashDeepSeek Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 4 | GLM 5.3Z.ai Q4_K_M · 453.8 GB · 22.2 t/s | 22.2 tok/s | Q4_K_M · 453.8 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
| # | Model | Speed | Math Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 2 | DeepSeek V4.1 FlashDeepSeek Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 3 | GLM 5.3Z.ai Q4_K_M · 453.8 GB · 22.2 t/s | 22.2 tok/s | Q4_K_M · 453.8 GB | |
| 4 | Q4_0 · 461.5 GB · 27.4 t/s | 27.4 tok/s | Q4_0 · 461.5 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
| # | Model | Speed | Long context Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Inkling 2 SmallThinking MachinesHow to run → Q4_K_M · 359.1 GB · 46.5 t/s | 46.5 tok/s | Q4_K_M · 359.1 GB | |
| 2 | MiMo V2.6 Flash RLXiaomi Q4_K_M · 186.5 GB · 49.8 t/s | 49.8 tok/s | Q4_K_M · 186.5 GB | |
| 3 | DeepSeek V4 Flash 0731DeepSeek Q4_K_M · 183.0 GB · 36.1 t/s | 36.1 tok/s | Q4_K_M · 183.0 GB | |
| 4 | GLM 5.3 FlashZ.ai Q4_K_M · 205.2 GB · 45.6 t/s | 45.6 tok/s | Q4_K_M · 205.2 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
| # | Model | Speed ↓ | llmrun Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Qwen3.5 4BAlibabaHow to run → Q4_K_M · 3.4 GB · 264 t/s | 264 tok/s | Q4_K_M · 3.4 GB | |
| 2 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB · 135 t/s | 135 tok/s | Q4_K_M · 6.6 GB | |
| 3 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 128 t/s | 128 tok/s | Q4_K_M · 13.1 GB | |
| 4 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB · 109 t/s | 109 tok/s | Q4_K_M · 16.5 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
| # | Model | Speed | Vision Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Inkling 2 SmallThinking MachinesHow to run → Q4_K_M · 359.1 GB · 46.5 t/s | 46.5 tok/s | Q4_K_M · 359.1 GB | |
| 2 | DeepSeek V4.1 Flash 1017DeepSeek Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 3 | DeepSeek V4.1 FlashDeepSeek Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 4 | Q4_0 · 461.5 GB · 27.4 t/s | 27.4 tok/s | Q4_0 · 461.5 GB | |
| 5 | Muse Glimmer 30BMeta Q4_K_M · 19.6 GB · 46.9 t/s | 46.9 tok/s | Q4_K_M · 19.6 GB |
| # | Model | Speed | Agents Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 2 | GLM 5.3Z.ai Q4_K_M · 453.8 GB · 22.2 t/s | 22.2 tok/s | Q4_K_M · 453.8 GB | |
| 3 | GLM 5.2Z.ai Q4_K_M · 453.8 GB · 22.2 t/s | 22.2 tok/s | Q4_K_M · 453.8 GB | |
| 4 | DeepSeek V4.1 FlashDeepSeek Q4_K_M · 458.4 GB · 52.1 t/s | 52.1 tok/s | Q4_K_M · 458.4 GB | |
| 5 | Hy3Tencent Q4_K_M · 182.3 GB · 32.6 t/s | 32.6 tok/s | Q4_K_M · 182.3 GB |
The Mac Studio M5 Ultra is the fastest 512 GB machine: it runs 70–120B models well. macOS keeps about 3.5 GB, leaving 508.5 GB for models. With 136 TFLOPS it reads long prompts faster than most 512 GB machines: a 4K-token prompt takes 5.1 s. At its $22,299 MSRP it gives 3.9 tok/s per $1,000, 6th of the 6 machines compared here. M5 Ultra generation, released 2026.
Mac Studio M5 Ultra strengths and weaknesses
Strengths
- Runs 120B MoE models: GPT OSS 120B at 89.0 tok/s in 70.8 GB
- Room for long context: Llama 3.3 70B Instruct at Q4 uses 51.3 GB, leaving 457.2 GB free
Weaknesses
- Slow prompt reading: A 32K-token prompt on Inkling 2 Small waits 41.0 s for the first token
- No CUDA: vLLM, AWQ, GPTQ and FP8 builds don't run; use GGUF or MLX
Memory for models
508.5 GB of 512 GBEverything on the size ladder fits. MiMo V2.6 Flash RL and DeepSeek V4 Flash 0731 together use 369.5 GB and leave 139 GB free.
Speed per dollar and per watt
On Qwen3.6 35B A3B (35B params, 3B active) at Q4_K_M. New means a shop price, either a street quote or the maker's own price; used is compared with used. The last two columns are the speed you get per $1,000 of price and per 100 W of power; higher is better. The Mac Studio M5 Ultra has no current new price, so it is shown at its MSRP.
| Machine | New price | tok/s | tok/s per $1,000 | tok/s per 100 W |
|---|---|---|---|---|
RTX 509032 GB | about $5,502 | 213 | 38.8 | 37.1 |
Mac Studio M5 Ultra96 GB | about $5,499 | 87.9 | 16.0 | – |
Mac Studio M2 Ultra192 GB | about $5,599 | 75.9 | 13.6 | 25.7 |
Mac Studio M5 Ultra256 GB | about $9,499 | 87.9 | 9.3 | – |
Mac Studio M3 Ultra512 GB | about $9,499 | 76.6 | 8.1 | 28.4 |
Mac Studio M5 Ultra512 GB | about $22,299 | 87.9 | 3.9 | – |
Cost per token: the Mac Studio M5 Ultra against 24–512 GB machines and GPUs
On Qwen3.6 35B A3B (35B params, 3B active, Q4_K_M, 4K context). Speed, cost per token and power per token depend on the model.
- Machine, MSRP
- $16.09
- Power
- not published
Each dot is a machine or GPU; hover or tap it for its numbers, click to open it. Machines without a price for the chosen basis are left out. Machines without a published power figure are left out of Per watt and costed without power. How we calculate cost per token
Other memory sizes of the same machine first, then machines and GPUs people weigh against it, each with the one reason it is worth a look. Speeds on Qwen3.6 35B A3B.
Output speed depends on memory bandwidth (1228 GB/s). Grey rows need more than the 508.5 GB available.
- 9BQwen3.5 9B · Q4_K_M · 6.6 GB135tok/s
- 14BQwen3 14B · Q4_K_M · 11.9 GB90.5tok/s
- 27–31BQwen3.8 27B · Q4_K_M · 17.9 GB49.3tok/s
- 35B MoEQwen3.6 35B A3B · Q4_K_M · 22.0 GB87.9tok/s
- 70BLlama 3.3 70B Instruct · Q4_K_M · 51.3 GB18.5tok/s
- 120B MoEGPT OSS 120B · Q4_K_M · 70.8 GB89.0tok/s
Estimated speeds: Q4_K_M, 4K context, one user. How we estimate
Ultra generations: writing vs compute
M1 Ultra → M5 UltraWriting speed follows memory bandwidth and barely moved: 75.9 to 87.9 tok/s since the M1 Ultra. Compute, which sets how fast prompts are read, grew 4.4×. Indexed to the M1 Ultra; speeds on Qwen3.6 35B A3B, same 128 GB.
All 443 models on the Mac Studio M5 Ultra
Featured onlyBest quant that fits in 508.5 GB, ordered by llmrun Score. Fit grades how well it runs here, S best. How ranking works
| Model | Quant | VRAM | Speed | Context | Score | Fit |
|---|---|---|---|---|---|---|
DeepSeek v2Chat | Q4_K_M | 142.9 GB | 36.7 t/s | 164K | A73, Runs well | |
Qwen1.5 32BChat | Q4_K_M | 24.1 GB | 42.3 t/s | 33K | A76, Runs well | |
Llama 2 13B HFChat | Q4_K_M | 11.5 GB | 100.1 t/s | — | S91, Runs great | |
Qwen2.5 72BChatFunctions | Q4_K_M | 49.3 GB | 19.3 t/s | 131K | B59, Decent | |
Internlm 20BChat | BF16 | 45.3 GB | 20.1 t/s | 4K | B60, Decent | |
Qwen2.5 Coder 32BChatCodeFunctions | Q4_K_M | 24.3 GB | 41.9 t/s | 33K | A76, Runs well | |
Qwen1.5 110BChat | Q4_K_M | 72.4 GB | 12.7 t/s | 33K | B51, Decent | |
Deepseek Coder 33B BaseChatCode | Q4_K_M | 24.5 GB | 41.3 t/s | 16K | A76, Runs well |
Specs
- Chip
- M5 Ultra
- CPU cores
- 36
- GPU cores
- 80
- Unified memory
- 512 GB
- For models
- 508.5 GB (macOS keeps 3.5 GB)
- Memory bandwidth
- 1.2 TB/s
- FP16 (dense)
- 136 TFLOPS
- Neural Engine
- 76 TOPS
- Released
- 2026-10-28
- MSRP
- $22,299
Mac Studio M5 Ultra FAQ
Is the Mac Studio M5 Ultra (512 GB) worth it for local LLMs in 2026?
At its $22,299 MSRP it gives 3.9 tok/s per $1,000 on Qwen3.6 35B A3B, 6th of the 6 machines compared here. It runs 70–120B models well; fits models up to 822B, like Muse Spark Open 816B A42B.
How much memory is available for AI on the Mac Studio M5 Ultra (512 GB)?
About 508.5 GB of the 512 GB. macOS keeps roughly 3.5 GB for itself and other apps.
What is the largest model the Mac Studio M5 Ultra (512 GB) can run?
Muse Spark Open 816B A42B (822.0B) is the largest at 4-bit or better: at Q4_0 it uses 461.5 GB, 91% of the available memory, and runs at about 27.4 tok/s. At 3-bit, a bigger model fits too: Inkling (952.4B) at Q3_K_M, 467.9 GB.
Can the Mac Studio M5 Ultra (512 GB) run Inkling 2 Small?
Yes. Inkling 2 Small fits at Q4_K_M, using 359.1 GB of the 508.5 GB available, and it is the best model that runs well on this machine.
How long does the Mac Studio M5 Ultra (512 GB) take to read a long prompt?
On Inkling 2 Small, about 5.1 s for a 4K-token prompt and 41 s for a 32K-token document before the first word appears.