Can a Mac Studio M3 Ultra, 512GB run local LLMs?
Yes — all 48 current models on this site fit in its 384 GB of usable memory. The strongest it holds, MiniMax M3.1 Flash, runs at 14 tok/s with a 32k window, worked out from memory bandwidth. Whether that saves you money is a different question: at its $9,499 launch price and 500k tokens a day, it pays back in 509 years.
Run the numbers on this machine
What the Mac Studio M3 Ultra, 512GB runs
Memory never runs out first here. Every model below holds 256k, where the calculator's list ends, or the longest setting its own context limit allows, so the window you get is the model's choice rather than this machine's.
| Model | Speed | Class | Memory | Longest context |
|---|---|---|---|---|
| MiniMax M3.1 FlashUD-Q4_K_XL | 14 tok/s estimated | Sonnet-class | 254 GB | 256k |
| GLM-5.3-FlashUD-Q4_K_M | 22 tok/s estimated | Sonnet-class | 190 GB | 256k |
| Ling 3.1 flashQ4_K_M | 15 tok/s estimated | Sonnet-class | 358 GB | 256k |
| Qwen3.8 Flash NextQ4_K_M | 50 tok/s estimated | Sonnet-class | 121 GB | 256k |
| DeepSeek V4-FlashUD-Q4_K_M | 34 tok/s estimated | Sonnet-class | 155 GB | 256k |
| Qwen3.8 27BQ4_K_M | 33 tok/s estimated | Sonnet-class | 19 GB | 256k |
| Beam 1.0 501B-A23BUD-Q4_K_XL | 16 tok/s estimated | Sonnet-class | 308 GB | 256k |
| Inkling SmallUD-Q4_K_M | 29 tok/s estimated | Haiku-class | 164 GB | 256k |
| Tencent Hy3Q4_K_M | 10 tok/s estimated | Haiku-class | 193 GB | 256k |
| Ling 3.0 flashQ4_K_M | 71 tok/s estimated | Haiku-class | 78 GB | 256k |
| MiniMax M2.7Q4_K_M | 17 tok/s estimated | Haiku-class | 149 GB | 128k |
| Qwen3.6 27BQ4_K_M | 32 tok/s estimated | Haiku-class | 19 GB | 256k |
Speed and memory are at 32k context, the setting the calculator starts on; the memory column is the weights plus the cache for that much of it. Each speed says how it was arrived at, and every one here is estimated from this machine's 819 GB/s of memory bandwidth rather than taken from a published benchmark. There is a page on how that sum works, and what each size needs, and one on what 512 GB runs, machine by machine. The longest context is the longest setting the calculator offers that this machine still holds the model at, cache included, and each one opens the calculator on that model at that length. A figure tagged memory is one this machine ran out of room for, and the rest are stopped by the model's own limit or by the end of the list.
For scale, the calculator starts from 80 tok/s for a hosted API and times a local machine against it. Nothing above reaches it, and the quickest is 71 tok/s.
36 more fit. Ranked below the twelve above: Nemotron 3.5 Bolt 74B-A9B, Qwen3.6 35B-A3B, Muse Glimmer 30B, Gemma 4 26B-A4B, Qwen3.5 122B-A10B, Gemma 4 31B it, Granite 4.2 30B, GLM-4.7-Flash, Gemma 4 12B, Qwen3.5 9B, Nemotron 3.5 Lightning 30B-A3B, MiniCPM5 2B, Qwen3.5 4B, gpt-oss-120b, Ling 3.0 tiny, Granite 4.2 8B, Mistral Small 4 (119B-2603), Qwen3-Coder 30B-A3B, Qwen3-Coder Next, gpt-oss-20b, Gemma 4 E4B, Devstral 2 123B, LFM2.5 2.6B, Devstral Small 2 24B, Ministral 3 14B, Ministral 3 8B. The other 10 have no intelligence-index score, so the ranking cannot place them: Laguna XS 2.1, LFM3 1.7B, Ornith 1.5 9B, Ornith 1.5 35B-A3B, Ornith 1.5 122B, Spark-X2.5 4B, Spark-X2.6 4B, KAT-Coder V2.5 Dev 35B-A3B, LFM2.5 24B-A2B, Flint 40B-A2.5B. Their pages show what each one needs and what runs it.
The 48 counted above are the current models. This site prices 16 superseded ones as well, because people still run them, and this machine holds 16 of those at 32k, strongest first: Qwen3 235B-A22B Instruct 2507, GLM-4.5-Air, Qwen3 30B-A3B Instruct 2507, DeepSeek-R1-Distill-Qwen-32B, DeepSeek-R1-Distill-Llama-70B, Llama 3.3 70B Instruct, Llama 3.1 8B Instruct at Q4_K_M, Llama 3.1 8B Instruct at Q8_0, Mistral Small 3.2 24B Instruct, Qwen3 32B at Q4_K_M, Qwen3 32B at Q8_0, Qwen3 14B, Llama 4 Scout 17B-16E, Qwen3 8B, Gemma 3 27B it, Gemma 3 12B it. Each of those pages asks whether the model is still worth running.
What has been measured on the Mac Studio M3 Ultra, 512GB
Not one of the speeds above was measured on this machine, and that is not because nobody has run a model on one. This site holds five published speeds taken on this machine, four of them on superseded models the table above leaves out. They are below, as published and again at 32k of context, which is what every other speed on this page is taken at.
| Model | At 32k | As published |
|---|---|---|
| gpt-oss-20bMXFP4 | 83 tok/s measured | 115 tok/smeasured at an empty window |
| DeepSeek-R1-Distill-Qwen-32BQ4_K_Msuperseded | 19 tok/s measured | 27 tok/smeasured at an empty window |
| Llama 3.3 70B InstructQ4_K_Msuperseded | 11 tok/s measured | 14 tok/smeasured at an empty window |
| DeepSeek-R1-Distill-Llama-70BQ4_K_Msuperseded | 11 tok/s measured | 14 tok/smeasured at an empty window |
| Qwen3 235B-A22B Instruct 2507Q4_K_Msuperseded | 11 tok/s measured | 16 tok/smeasured at an empty window |
A published figure is what its source reports, at the window the model was run at. The 32k figure is that measurement read at 32k of context: every token generated reads the weights and the whole key-value cache, so the longer the window the slower it runs. The figures come from geerlingguy/ai-benchmarks, hostbor.com, macstories.net.
Other machines to weigh against the Mac Studio M3 Ultra, 512GB
| Machine | Price | Memory | Models that fit | Pay-back |
|---|---|---|---|---|
| The rest of the Mac Studio range | ||||
| Mac Studio M5 Max, 36GB | $2,499 | 36 GB | 32 | Pays back in 149 years |
| Mac Studio M5 Max, 48GB | $3,099 | 48 GB | 32 | Pays back in 174 years |
| Mac Studio M5 Max, 64GB | $3,499 | 64 GB | 32 | Pays back in 197 years |
| Mac Studio M5 Max, 128GB | $5,099 | 128 GB | 39 | Pays back in 287 years |
| Mac Studio M5 Ultra, 96GB | $5,499 | 96 GB | 34 | Pays back in 307 years |
| Mac Studio M5 Ultra, 256GB | $10,799 | 256 GB | 44 | Pays back in 2,126 years |
| Mac Studio M5 Ultra, 512GB | not published | 512 GB | 48 | Not enough data to compute a pay-back. |
| Mac Studio M4 Max, 36GBdiscontinued | $1,999 | 36 GB | 32 | Pays back in 123 years |
| Mac Studio M4 Max, 48GBdiscontinued | $2,499 | 48 GB | 32 | Pays back in 144 years |
| Mac Studio M4 Max, 64GBdiscontinued | $2,699 | 64 GB | 32 | Pays back in 155 years |
| Mac Studio M4 Max, 128GBdiscontinued | $3,499 | 128 GB | 39 | Pays back in 201 years |
| Mac Studio M3 Ultra, 96GBdiscontinued | $3,999 | 96 GB | 34 | Pays back in 242 years |
| Mac Studio M3 Ultra, 256GBdiscontinued | $7,099 | 256 GB | 44 | Pays back in 2,379 years |
| Nearest in price elsewhere on the list | ||||
| NVIDIA GeForce RTX 5090, 32GB | $1,999card only | 32 GB | 32 | Pays back in 123 years |
| Mac mini M5 Pro, 64GB | $2,699 | 64 GB | 32 | Pays back in 182 years |
| DGX Spark GB10 Grace Blackwell, 128GB | $4,699 | 128 GB | 39 | Pays back in 346 years |
| Strix Halo HP Z2 Mini G1a, 128GB | $5,544 | 128 GB | 39 | Pays back in 396 years |
| MacBook Pro M5 Max (16-inch), 128GB | $6,999 | 128 GB | 39 | Pays back in 393 years |
Every row uses the same defaults as the figures above: 500k tokens a day at 15:1 input to output, 32k context, and each machine's strongest model that fits, counted against the same 48 current models. The GeForce RTX 5090, 32GB is priced as the card alone, so add the PC around it before comparing it with a complete computer. All seven cards here are ranked by what each one holds.
The specifics
- Chip
- M3 Ultra — 32-core CPU / 80-core GPU
- Memory bandwidth
- 819 GB/s
- Usable by the GPU
- 384 GB — macOS lets the GPU wire roughly 75% of unified memory by default (llama.cpp discussion #2182: 66.7% at 32 GiB or less, 75% above). Raise it with `sudo sysctl iogpu.wired_limit_mb`. Memory is treated as GB throughout, which is slightly conservative.
- Power under load
- 270 W (published) — Apple's published 'max' figure for this chip (support article 102027), a CPU+GPU stress number; inference typically draws less.
- Availability
- Discontinued 2026-08-25. Launch price; Apple no longer sells it new, so treat as a refurbished/used reference. 512GB option withdrawn March 2026.
- Sources
- Apple Support, Apple Support, Low End Mac