All hardware

Best AI models that run on 2× Mac Studio M3 Ultra 512 GB cluster (TB5 / MLX)

1 TB unified Apple Silicon — used market only.

Apple · two desktops, Thunderbolt 5 RDMA
2× Mac Studio M3 Ultra 512 GB cluster (TB5 / MLX)
1024 GB 960 GB usable 819 GB/s $28k
switch in the live picker →

What models fit this build

2× Mac Studio M3 Ultra 512 GB cluster (TB5 / MLX) has 960 GB of usable memory. Here's which open-weights model sizes fit at each quant, at ~8K context with an FP8 KV cache.

Largest comfortable fit: 1T+ MoE at Q5 (~710 GB).

Model size Q2Q4Q5Q8
7–8B Fits Fits Fits Fits
13–14B Fits Fits Fits Fits
30–32B Fits Fits Fits Fits
70–72B Fits Fits Fits Fits
~120B MoE Fits Fits Fits Fits
~235B MoE Fits Fits Fits Fits
~670B MoE Fits Fits Fits Fits
1T+ MoE Fits Fits Fits Won't fit

✓ = the weights + FP8 KV cache fit within this build's usable memory at ~8K context. Longer context needs more — size any model in the picker →

Our picks for this build

Sourced from the State of Local AI snapshot — the model + quant + backend we'd actually deploy on this hardware today, with the recipe in the setup guide below.

Best dense

Qwen 3.6 27B (dense)

27 B Apache 2.0 🤗

Apr 22 2026. Dense 27B that hits 77.2% SWE-Bench Verified — beats much larger MoEs on coding. Vision-capable, 262 K native context. Best single-24 GB-card coder right now.

≥20 GB Q4 38 t/s
  • HLE24.0%
  • TB259.3%
  • SWE-Pro53.5%
  • SWE-Ver77.2%

Coding: The new local-coding king under 200B on r/LocalLLaMA — matches Claude Opus 4.5 on TB2 per Qwen's launch claims, beats Qwen3.5-397B-A17B on every coding eval. Daily-driver pick for Cline at Q4_K_M on a single Pro 6000 or M3 Ultra. Confirmed running ~160 tok/s with MTP on RTX 6000 per dzombak.com vLLM recipe.

Agent: Genuinely useful in Open-Claude / Claude Code routing — community reports 30-min+ sessions completing without derail. Still trails closed frontier on the very longest loops. Caps at agents:3 per site rule (sub-200B, TB2 59.3 below 65% threshold).

Best MoE that fits

Qwen 3.6 35B-A3B (MoE)

35 B · 3B active Apache 2.0 🤗

Apr 2026 release. 35B / 3B active MoE — beats Gemma 4-31B on agentic coding, matches Sonnet on most vision tasks. Native 262 K context (extensible to 1 M), ~18 GB at Q4. The new local-coding king under 200 B.

≥22 GB Q4 90 t/s
  • HLE21.4%
  • TB251.5%
  • SWE-Pro49.5%
  • SWE-Ver73.4%

Coding: r/LocalLLaMA's pick for fast local coding on a 24 GB card at Q4_K_M — 3B active so it's snappy. Vibes-codes 'perfectly fine' in OpenCode/Claude Code per multiple weekly-megathreads. Simon Willison's pelican test (April 2026): 'Qwen3.6-35B-A3B on my laptop drew me a better pelican than Claude Opus 4.7' — still resonating in the community.

Agent: Solid in 5-15 tool-hop loops in Cline. Long-horizon (60+ min) Open-Claude sessions still lose thread — 3B active is a ceiling on planning. Note: Qwen-self-reported TB2 51.5 vs community 23-24% — gap is harness-driven (Terminus-2 vs little-coder agent).

Dense runner-up

Mistral Medium 3.5 128B

128 B Modified MIT 🤗

Apr 30 2026. Western 128B dense with vision + 256 K context. 77.6% SWE-Bench Verified; first credible mid-tier open-weight from Mistral in months. Modified MIT.

≥80 GB Q4 13 t/s
  • SWE-Ver77.6%

Coding: Apr 30 2026 launch with built-in PR-opening coding agent. Western 128B-dense with vision + 256K — early r/LocalLLaMA reports treat it as a credible Cline driver but trailing Qwen 3.6-27B on real refactors.

Agent: Mistral's agent SDK is OK; in Open-Claude it handles ~20-min sessions reliably. Long-horizon ceiling still unclear pending community evals.

Every open-weights model that fits, ranked by composite score

Composite blends benchmark averages (60 %) with editorial 0-5 ratings (40 %). Closed-frontier references mix into the ranking and stay amber-tinted.

Modeltg/sppTTFT @ 100KHLETB2SWE-ProSWE-VerAiderLCBGPQAMMLU-ProScore
Qwen 3 235B-A22B (MoE)235 B · 22 B active · moe🤗
29 t/s330 pp8.8 min70.7%81.1%84.4%4964
Qwen 3 Next 80B-A3B (MoE)80 B · 3 B active · moe🤗
120 t/s630 pp4.2 min78.4%77.2%82.7%4920
13 t/s190 pp12.5 min77.6%4689
GLM-5.1 754B (MoE)754 B · 40 B active · moe🤗
8.3 t/s145 pp21.7 min52.3%63.5%58.4%77.8%84.1%86.2%91.7%4630
Qwen 3.5 9B9 B · dense🤗
129 t/s1,620 pp1.4 min65.6%81.7%82.5%4623
DeepSeek V4-Pro 1.6T (MoE)1600 B · 49 B active · moe🤗
4.6 t/s90 pp37.7%67.9%55.4%80.6%71.6%93.5%90.1%87.5%4519
GLM-4.5-Air 106B (MoE)106 B · 12 B active · moe🤗
30 t/s630 pp4.2 min57.6%4488
Kimi K2.6 1T (MoE)1000 B · 32 B active · moe🤗
11 t/s90 pp35.9%66.7%58.6%80.2%89.6%90.5%4479
DeepSeek V4-Flash 284B (MoE)284 B · 13 B active · moe🤗
25 t/s330 pp8.8 min29.4%56.9%52.6%79.0%91.6%88.1%86.4%4379
12 t/s330 pp8.8 min26.7%71.9%89.0%87.0%86.8%4372
DiffusionGemma 26B-A4B26 B · 4 B active · diffusion-moe🤗
150 t/s420 pp5.7 min69.1%73.2%77.6%4358
Mistral Small 4 119B-A6B (MoE)119 B · 6 B active · moe🤗
60 t/s630 pp4.2 min71.2%4301
Qwen 3.5 397B-A17B (MoE)397 B · 17 B active · moe🤗
38 t/s330 pp8.8 min37.6%52.5%50.9%76.4%83.6%88.4%87.8%4300
38 t/s420 pp5.7 min24.0%59.3%53.5%77.2%83.9%87.8%86.2%4280
Qwen 3 32B32 B · dense🤗
42 t/s420 pp5.7 min65.7%65.5%4278
Kimi K2.5 1T (MoE)1000 B · 32 B active · moe🤗
7.0 t/s90 pp30.1%43.2%50.7%76.8%85.0%87.6%87.1%4213
GLM-5.2 753B (MoE)753 B · 39 B active · moe🤗
8.5 t/s145 pp21.7 min54.7%62.1%91.2%4200
24 t/s190 pp12.5 min57.5%65.2%84.0%4171
Phi-4 14B14 B · dense🤗
92 t/s900 pp2.5 min56.1%70.4%4160
DeepSeek V3 671B (MoE)671 B · 37 B active · moe🤗
9.0 t/s145 pp21.7 min22.2%39.6%74.2%89.6%79.9%85.0%4151
Qwen 3.6 35B-A3B (MoE)35 B · 3 B active · moe🤗
90 t/s420 pp5.7 min21.4%51.5%49.5%73.4%80.4%86.0%85.2%4084
Qwen 3.5 122B-A10B (MoE)122 B · 10 B active · moe🤗
55 t/s630 pp4.2 min25.3%49.4%72.0%78.9%86.6%86.7%4021
Tencent Hy3 295B-A21B (MoE)295 B · 21 B active · moe🤗
30 t/s330 pp8.8 min25.5%54.4%57.9%78.0%90.4%87.4%3971
Llama 4 Maverick 400B-A17B (MoE)400 B · 17 B active · moe🤗
38 t/s330 pp8.8 min43.4%69.8%80.5%3905
30 t/s630 pp4.2 min18.3%31.0%60.5%81.2%79.2%83.7%3839
Llama 3.1 405B405 B · dense🤗
8.7 t/s330 pp8.8 min51.1%73.4%3762
107 t/s900 pp2.5 min5.2%72.0%78.8%77.2%3759
44 t/s420 pp5.7 min19.5%42.9%35.7%52.0%80.0%84.3%85.2%3697
Xiaomi MiMo V2.5 310B-A15B (MoE)310 B · 15 B active · moe🤗
50 t/s330 pp8.8 min65.8%56.1%3690
MiniMax M2.7 230B-A10B (MoE)230 B · 10 B active · moe🤗
64 t/s330 pp8.8 min45.1%56.2%78.0%3620
Xiaomi MiMo V2.5-Pro 1T-A42B (MoE)1020 B · 42 B active · moe🤗
5.3 t/s90 pp34.0%68.4%57.2%78.9%3614
MiniMax M3 428B-A23B (MoE)428 B · 23 B active · moe🤗
28 t/s330 pp8.8 min59.0%3579
GPT-OSS 120B120 B · 5 B active · moe🤗
72 t/s630 pp4.2 min18.5%18.7%16.2%62.4%87.8%80.9%90.0%3573
Kimi K2 1T (MoE)1000 B · 32 B active · moe🤗
7.0 t/s90 pp4.7%27.8%65.8%60.0%85.3%75.1%81.1%3408
56 t/s420 pp5.7 min45.3%66.0%3361
Gemma 3 27B27 B · dense🤗
50 t/s420 pp5.7 min42.4%67.5%3321
Llama 4 Scout 109B-A17B (MoE)109 B · 17 B active · moe🤗
22 t/s630 pp4.2 min32.8%57.2%74.3%3315
14 t/s190 pp12.5 min32.6%72.2%3174
Gemma 4 26B-A4B (MoE)26 B · 4 B active · moe🤗
150 t/s420 pp5.7 min8.7%34.2%13.8%17.4%77.1%82.3%82.6%3060
Qwen 3 Coder 30B-A3B (MoE)30 B · 3 B active · moe🤗
150 t/s420 pp5.7 min50.3%3042
Llama 3.3 70B70 B · dense🤗
24 t/s190 pp12.5 min28.8%50.5%68.9%2990
Llama 3.1 8B8 B · dense🤗
145 t/s1,620 pp1.4 min34.6%49.0%2527
Qwen 3 8B8 B · dense🤗
145 t/s1,620 pp1.4 min2.8%47.0%65.5%2325
Kimi K2.7 Code 1T (MoE)1000 B · 32 B active · moe🤗
7.0 t/s90 pp48
33 t/s630 pp4.2 min44
Mistral Large 3 675B-A41B (MoE)675 B · 41 B active · moe🤗
8.1 t/s145 pp21.7 min42
Cohere Command A+ 218B-A25B (MoE)218 B · 25 B active · moe🤗
26 t/s330 pp8.8 min39
Gemini 3.1 ProGoogle DeepMind · closed125 t/s2.1 min44.7%80.2%54.2%80.6%91.7%94.3%91.0%
ChatGPT 5.5OpenAI · closed61 t/s1.6 min52.2%82.0%58.6%88.7%88.0%93.6%
Claude Sonnet 5Anthropic · closed57.4%80.4%63.2%
Claude Opus 4.8Anthropic · closed59 t/s2.9 min57.9%69.2%88.6%93.6%
Open in the live picker (Q2 / Q4 / Q5 / Q8 toggles) → Compare 2× Mac Studio M3 Ultra 512 GB cluster (TB5 / MLX) with another build → Try other hardware → Submit a benchmark for 2× Mac Studio M3 Ultra 512 GB cluster (TB5 / MLX) ↗

Last updated 2026-07-11