Mac Studio M3 Ultra unified memory: 512GB for local LLMs
The 512GB M3 Ultra arrived last week, so here are the numbers everyone in this category actually wants: can it run the big dense models, and how fast.
Setup: llama.cpp b4712, Metal, 32k context, flash attention on, KV cache q8_0.
model size pp512 (tok/s) tg128 (tok/s)
Llama 3.1 405B Q4_K_M 231GB 210 11.8
Llama 3.3 70B Q8_0 75GB 512 21.4
Qwen3 235B-A22B Q4_K_M 133GB 385 34.2
Mistral Small 24B Q8_0 25GB 1105 62.7
What this means in practice:
- 405B at 11.8 tok/s is genuinely usable for single-user interactive work. Not fast, but the difference between "possible" and "impossible" is the whole story. Memory headroom with 32k context: about 240GB free.
- The MoE numbers are the real headline. Qwen3 235B at 34 tok/s beats my old 2× 3090 rig by 4× on decode, because all 133GB sit behind 819GB/s of unified memory bandwidth.
- Prompt processing is still the weak spot versus CUDA — 210 tok/s pp512 on 405B means a 20k-token document takes a minute and a half before the first token.
Power draw at the wall: 68W idle, 172W under full inference load. The 2× 3090 rig did 780W under load. The machine pays for itself in electricity if you run inference more than a few hours a day.
The power numbers are the part nobody factors into the price-per-VRAM comparisons. My 2× 3090 rig plus the space heater it doubles as runs about 0.28 kWh/hour under load; at my electricity price that is roughly €90/month if I ran it 24/7. The Studio at 172W is a fifth of that, which over a three-year horizon is not pocket change against the Apple premium.
Where the CUDA rig still wins, and it is worth being honest about it: anything batch-oriented. When I need to embed 50k documents or run a nightly eval sweep, the 3090s chew through it at a fraction of the wall-clock time because prompt processing on Metal is the bottleneck you identified. Interactive single-user: Studio. Batch jobs: discrete GPUs. I have stopped pretending one box does both.
On the prompt-processing gap: try MLX for the prefill-heavy workloads. In my testing MLX-LM processes prompts roughly 1.6-1.8× faster than llama.cpp Metal on the same M-series silicon, because its prefill kernels are better tuned for the unified memory architecture. Decode is a wash or slightly behind llama.cpp, so my setup is now MLX for the RAG ingestion path and llama.cpp for serving.
Also, with 240GB of headroom you can do something no GPU rig can: keep three large models resident simultaneously and hot-swap between them with zero load time. I keep 70B Q8, the 235B MoE, and an embedding model all mapped at once. That changes how you use the machine — models stop being something you load and become something you have.