All hardware

Best AI models that run on MacBook Pro M5 Pro 48 GB

Apple · laptop
MacBook Pro M5 Pro 48 GB
48 GB 40 GB usable 307 GB/s $3.1k
switch in the live picker →

What models fit this build

MacBook Pro M5 Pro 48 GB has 40 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: 70–72B at Q2 (~31 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 Won't fit Won't fit Won't fit
~120B MoE Won't fit Won't fit Won't fit Won't fit
~235B MoE Won't fit Won't fit Won't fit Won't fit
~670B MoE Won't fit Won't fit Won't fit Won't fit
1T+ MoE Won't fit Won't fit Won't fit 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.

Recommended

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 92 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).

Also runs well

Gemma 4 12B Unified (dense)

12 B Apache 2.0 🤗

Jun 3 2026. Google's encoder-free 12B dense — unified decoder-only transformer with no separate vision/audio encoder; raw patches + audio waveforms project directly into embedding space. 256K context, 140+ langs, native multimodal (text/image/audio/video), Apache 2.0. Runs on a 16GB laptop (~8-9GB Q4). Strong for its size: AIME 77.5, GPQA 78.8, MMLU-Pro 77.2, LCB 72.0.

≥8 GB Q4 41 t/s
  • HLE5.2%
  • LCB72.0%

Coding: Gemma 4 12B scores LCB 72.0, AIME 77.5, Codeforces 1659 — strongest sub-16B open-weights coder. Encoder-free design means image+audio inputs add zero encoder latency. Runs on a 16GB laptop (8-9GB Q4) — the practical 'AI laptop' model of the month.

Agent: TAU2 69.0 is strong for 12B — usable in Cline / Roo Code for short agent loops, but sub-60B caps it at single-session autonomous work. Not a multi-hour orchestrator.

Also runs well

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 18 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).

Setup guide for MacBook Pro M5 Pro 48 GB

Every known recipe for running a model on this build — sourced from the State of Local AI 2026-07-05 snapshot (2026-07-05). Pick the one that matches your model + quant, then follow the linked original write-up.

Recipes for MacBook Pro M5 Pro 48 GB
ModelDecode tok/sPrompt processingRecipeRuns
qwen3-6-35b-a3b-moe@ MLX-4bit on MLX-LMGitHub ml-explore/mlx-lm
gemma-4-12b@ MLX 4-bit on Ollama 0.31 (MLX) + MTPOllama blog (framework-author first-party MTP recipe; M5-family). Directional only; M5 Pro not separately measured.
qwen3-6-27b-dense@ MLX 4-bit on mlx-lm / Ollama (MLX)Ollama model library (Apple-Silicon MLX build). Fit from db.json sizeQ4=16 vs 40 GB usable.

Want to compare this against other builds? Open the live picker (Q2 / Q4 / Q5 / Q8 toggles) or see best build by budget.

See all recipes

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.5 9B9 B · dense🤗
53 t/s560 pp4.7 min65.6%81.7%82.5%4623
DiffusionGemma 26B-A4B26 B · 4 B active · diffusion-moe🤗
54 t/s145 pp18.3 min69.1%73.2%77.6%4358
18 t/s145 pp18.3 min24.0%59.3%53.5%77.2%83.9%87.8%86.2%4280
Qwen 3 32B32 B · dense🤗
15 t/s145 pp18.3 min65.7%65.5%4278
Phi-4 14B14 B · dense🤗
35 t/s310 pp8.0 min56.1%70.4%4160
Qwen 3.6 35B-A3B (MoE)35 B · 3 B active · moe🤗
92 t/s145 pp18.3 min21.4%51.5%49.5%73.4%80.4%86.0%85.2%4084
41 t/s310 pp8.0 min5.2%72.0%78.8%77.2%3759
16 t/s145 pp18.3 min19.5%42.9%35.7%52.0%80.0%84.3%85.2%3697
20 t/s145 pp18.3 min45.3%66.0%3361
Gemma 3 27B27 B · dense🤗
18 t/s145 pp18.3 min42.4%67.5%3321
Gemma 4 26B-A4B (MoE)26 B · 4 B active · moe🤗
54 t/s145 pp18.3 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🤗
54 t/s145 pp18.3 min50.3%3042
Llama 3.1 8B8 B · dense🤗
60 t/s560 pp4.7 min34.6%49.0%2527
Qwen 3 8B8 B · dense🤗
60 t/s560 pp4.7 min2.8%47.0%65.5%2325
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 MacBook Pro M5 Pro 48 GB with another build → Try other hardware → Submit a benchmark for MacBook Pro M5 Pro 48 GB ↗

Last updated 2026-07-11