HARDWARE BENCHMARK & VRAM ENVELOPE • APPLE SILICON20 GB VRAM • 273 GB/s

What Models Can Run on Apple MacBook Pro M4 Pro (24GB Unified Memory)?

20 GB VRAM273 GB/s Bandwidth45W TDPMSRP: $1,999Used / eBay: ~$1,749Cloud: $0.45/hr on RunPod

Apple MacBook Pro M4 Pro (24GB Unified Memory) provides 20 GB of usable memory with 273 GB/s memory bandwidth at 45W TDP. Portable 273 GB/s laptop running 14B–27B Q4_K_M models (Qwen 3.8 27B, Gemma 4 26B MoE).

! PARTIAL OFFLOAD25.22 GB (126%)~2 t/s

Target Hardware & Model

interactive
The premier open-source coding model for single 24GB GPUs (RTX 4090/3090)
Qwen 2.5 Coder 32B Instruct on Apple MacBook Pro M4 Pro (24GB Unified Memory)

! Partial Offload — Slow CPU/RAM Spillover

! PARTIAL OFFLOAD
Required VRAM
25.22 GB
126% of hardware capacity (20 GB)
Est. Decode Speed
~2 tok/s
Dense model @ 273 GB/s
Available Headroom
-5.22 GB
Needs +5.22 GB more VRAM
Memory Allocation & Headroom
25.22 GB allocated of 20 GB capacity
126% utilized
Weights: 19.5 GB
KV: (32K): 4.29 GB
Overhead: 1.43 GB
Deficit: -5.22 GB
Architecture & Throughput Transparency: Single-user decode speed (~2 tok/s) is memory-bandwidth bound at batch size = 1 on Apple MacBook Pro M4 Pro (24GB Unified Memory) (273 GB/s). Prompt prefill / TTFT (~29 tok/s) is compute-bound and utilizes GPU Tensor cores. Actual latency varies with FlashAttention-2 and runtime engine (Ollama/vLLM/llama.cpp).

Quantization Precision Matrix

32K ctx • KV: Q8_0
QuantizationWeightsKV CacheTotal VRAMEst. SpeedFit Status
FP1616 bpw65 GB4.29 GB72.32 GB (362%)0 t/sOOM
Q8_08.5 bpw34.45 GB4.29 GB40.7 GB (204%)0 t/sOOM
Q6_K6.56 bpw26.65 GB4.29 GB32.62 GB (163%)0 t/sOOM
Q5_K_M5.68 bpw23.07 GB4.29 GB28.92 GB (145%)0 t/sOOM
Q4_K_M4.8 bpw19.5 GB4.29 GB25.22 GB (126%)~2 t/sPARTIAL
FP44.25 bpw17.23 GB4.29 GB22.87 GB (114%)~2 t/sPARTIAL
IQ3_XS3.3 bpw13.32 GB4.29 GB18.83 GB (94%)~12 t/sFITS

Export Full Architecture & Infrastructure Spec

Download an instant Markdown architecture spec with exact memory math, hardware benchmarks, and runtime CLI flags.

All Open-Weights Models Tested on Apple MacBook Pro M4 Pro (24GB Unified Memory) (Q4_K_M @ 32K Context)

Standard Q4_K_M precision with 32K context window and Q8_0 KV cache

23 Models Benchmarked
ModelArchitectureTotal VRAM NeededHeadroomEst. Decode SpeedCompatibilityDetailed Config
Qwen 2.5 Coder 32B Instruct
Alibaba Cloud
32.5B Dense25.22 GB(126%)-5.22 GB~2 tok/s! PARTIALConfigure CLI →
DeepSeek-R1 (671B MoE)
DeepSeek
671B MoE427.26 GB(999%)-407.26 GB0 (OOM)✕ OOMConfigure CLI →
DeepSeek-V3 (671B MoE)
DeepSeek
671B MoE427.26 GB(999%)-407.26 GB0 (OOM)✕ OOMConfigure CLI →
Meta Llama 3.3 70B Instruct
Meta AI
70.6B Dense49.96 GB(250%)-29.96 GB0 (OOM)✕ OOMConfigure CLI →
DeepSeek-R1 Distill Qwen 32B
DeepSeek
32.8B Dense25.41 GB(127%)-5.41 GB~2 tok/s! PARTIALConfigure CLI →
DeepSeek-R1 Distill Qwen 14B
DeepSeek
14.8B Dense13.16 GB(66%)+6.84 GB~18 tok/s✓ FITSConfigure CLI →
Qwen 2.5 72B Instruct
Alibaba Cloud
72.7B Dense51.27 GB(256%)-31.27 GB0 (OOM)✕ OOMConfigure CLI →
Meta Llama 3.1 8B Instruct
Meta AI
8B Dense7.87 GB(39%)+12.13 GB~33 tok/s✓ FITSConfigure CLI →
Microsoft Phi-4 14B
Microsoft
14.7B Dense13.24 GB(66%)+6.76 GB~18 tok/s✓ FITSConfigure CLI →
DeepSeek Coder V2 236B MoE
DeepSeek
236B MoE147.91 GB(740%)-127.91 GB0 (OOM)✕ OOMConfigure CLI →
Mistral Large 2 (123B Instruct)
Mistral AI
123B Dense83.04 GB(415%)-63.04 GB0 (OOM)✕ OOMConfigure CLI →
Meta Llama 3.1 405B Instruct
Meta AI
405B Dense260.72 GB(999%)-240.72 GB0 (OOM)✕ OOMConfigure CLI →
Google Gemma 2 27B Instruct
Google
27.2B Dense19.18 GB(96%)+0.82 GB~10 tok/s• TIGHT FITConfigure CLI →
Google Gemma 2 9B Instruct
Google
9.2B Dense7.87 GB(39%)+12.13 GB~30 tok/s✓ FITSConfigure CLI →
Qwen 3.8 27B Instruct
Alibaba Cloud
27.2B Dense21.93 GB(110%)-1.93 GB~2 tok/s! PARTIALConfigure CLI →
Qwen 3.8 235B-A22B MoE
Alibaba Cloud
235B MoE149.84 GB(749%)-129.84 GB0 (OOM)✕ OOMConfigure CLI →
Qwen 3.6 35B-A3B MoE
Alibaba Cloud
35B MoE24.1 GB(121%)-4.1 GB~17 tok/s! PARTIALConfigure CLI →
DeepSeek-V4.1-Flash (552B Engram MoE)
DeepSeek
552B MoE343.85 GB(999%)-323.85 GB0 (OOM)✕ OOMConfigure CLI →
Meta Muse Spark Open (816B-A42B MoE)
Meta AI
816B MoE512.86 GB(999%)-492.86 GB0 (OOM)✕ OOMConfigure CLI →
Google Gemma 4 26B MoE
Google
26.4B MoE20.23 GB(101%)-0.23 GB~12 tok/s! PARTIALConfigure CLI →
Google Gemma 4 E4B (Edge 4B)
Google
4.1B Dense4.24 GB(21%)+15.76 GB~65 tok/s✓ FITSConfigure CLI →
Meta Llama 4 Scout (109B-A17B MoE)
Meta AI
109B MoE71.66 GB(358%)-51.66 GB0 (OOM)✕ OOMConfigure CLI →
Microsoft Phi-4 Mini 3.8B
Microsoft
3.8B Dense3.92 GB(20%)+16.08 GB~70 tok/s✓ FITSConfigure CLI →