The best local LLM for a Mac Studio M5 Ultra (512 GB) is Qwen3.8-Flash-Next at 85 tok/s. With 512 GB of unified memory it runs 65 of the models we benchmark — from compact options up to 753B-class models. For everyday chat and coding, Qwen3.8-Flash-Next is the sweet spot. Full ranking below.
Considering this Mac?
Mac Studio M5 Ultra (512GB) on Amazon → · not sure? the Mac Advisor picks a config →
Ranked by LLMCheck suitability (capability balanced against speed on the M5 Ultra). Click a model for its full benchmark and setup. All speeds are index estimates (memory-bandwidth model, cross-referenced with sourced benchmarks where available) — submit a real run →
| # | Model | Size | License | Speed | Capability |
|---|---|---|---|---|---|
| 1 | Qwen3.8-Flash-Next | 125B | Qwen Custom | 85 tok/s | 47/50 |
| 2 | GLM 5.2 | 753B | MIT | 45 tok/s est. | 50/50 |
| 3 | Qwen3.8-27B | 27.8B | Apache 2.0 | 57 tok/s | 46/50 |
| 4 | DeepSeek V4 Flash | 284B | MIT | 47 tok/s | 47/50 |
| 5 | DeepSeek V4 Flash Vision-Exp | 305B | MIT | 47 tok/s | 47/50 |
| 6 | GLM-5.3-Flash | 320B | MIT | 35 tok/s | 48/50 |
| 7 | GLM-5.3 | 753B | GLM-5.3 | 17 tok/s | 50/50 |
| 8 | KAT-Coder-V2.5 | 35B | Apache 2.0 | 106 tok/s est. | 39/50 |
| 9 | Inkling-Small | 276B | Apache 2.0 | 45 tok/s | 46/50 |
| 10 | Qwen 3.6-27B | 27B | Apache 2.0 | 61 tok/s est. | 44/50 |
| 11 | Nemotron 3.5 Lightning | 30B | OpenMDW | 123 tok/s est. | 36/50 |
| 12 | Qwen 3.6-35B-A3B | 35B | Apache 2.0 | 106 tok/s est. | 38/50 |
Showing the top 12 of 65 models that fit in 512 GB. See the full leaderboard or all benchmarks.
The fastest way to get started is Ollama. Install it, then pull the top pick for your Mac:
Prefer a GUI? LM Studio gives you a one-click download and chat window. For step-by-step help see our Ollama install guide, or open the Qwen3.8-Flash-Next on M5 Ultra benchmark page for exact settings.
The Mac Studio M5 Ultra (512 GB) comfortably runs 65 of the models we benchmark, led by Qwen3.8-Flash-Next. Grab one and start running LLMs offline today:
As an Amazon Associate, LLMCheck earns from qualifying purchases. Affiliate links cost you nothing extra and never influence our rankings.
Qwen3.8-Flash-Next (125B, Qwen Custom) is the best all-round pick at 85 tok/s on the M5 Ultra. If you want maximum speed, Maple Preview 20B-A1B hits 575 tok/s; for maximum capability, GLM 5.2 still fits in 512 GB.
About 65 of the 85 models in the LLMCheck leaderboard fit in 512 GB of unified memory, from compact models up to GLM 5.2 (753B).
Yes. A 70B model in Q4 quantization needs roughly 40–44 GB of memory, which fits in 512 GB with headroom for context.
512 GB is plenty for local AI — you can run capable 30B–70B-class models. Because Apple Silicon uses unified memory, that figure is both your system RAM and your VRAM.