Macs

Which AI models run on the M5 (24 GB) MacBook Pro or MacBook Air?

The M5 (24 GB) has 24 GB of memory, about 16.0 GB of it usable for a model, and 153 GB/s of memory bandwidth. 53 of the 110 models in our catalog run on it at 4-bit or better.

Macs with the M5 chip: MacBook Pro, MacBook Air. Not every memory size is sold in every model.

Covers the 8-core and 10-core GPU versions. Both have 24 GB and 153 GB/s, so the same models fit. Speeds shown are for the 10-core version. Token generation depends mostly on memory bandwidth, so the smaller GPU should be close; prompt processing is slower with fewer GPU cores.

Data as of 2 November 2026 · Vendor specs

Compare with other machines
24 GBmemory ~16.0 GB usable for a model
153 GB/sbandwidth, sets the speed
53models run at 4-bit or better
Our pick for this machine gpt-oss-20b MXFP4 · 15.1 of 16.0 GB · ~32 tok/s ModelFit est. The largest model on our shortlist of current models that runs at 4-bit or better and 10 tok/s or more.

Models that run on it

ModelBest buildMemorySpeed
gpt-oss-20b21B MoEMXFP415.1 GB~32 tok/s ModelFit est.
Nemotron Nano 9B v29BQ6_K8.6 GB~11 tok/s our est.
Qwen3.5 9B Instruct9BQ8_012.0 GB~16 tok/s ModelFit est.
Qwen2.5 7B Instruct7BQ4_K_M6.6 GB~29 tok/s ModelFit est.
Gemma 3 4B Instruct4BQ8_05.0 GB~30 tok/s ModelFit est.
LFM2 24B-A2B Instruct24B MoEQ4_K_M15.3 GB~57 tok/s ModelFit est.
Qwen2.5 14B Instruct14BQ4_K_M12.3 GB~14 tok/s ModelFit est.
Phi-3 Medium 14B14BQ4_K_M12.3 GB~7.7 tok/s slow our est.
Phi-4 14B14BQ4_K_M12.8 GB~14 tok/s ModelFit est.
Qwen2.5 Coder 14B14BQ4_K_M12.3 GB~14 tok/s ModelFit est.
Qwen3 14B14BQ4_K_M12.3 GB~14 tok/s ModelFit est.
DeepSeek-R1 Distill Qwen 14B14BQ4_K_M12.3 GB~14 tok/s ModelFit est.
Ministral 3 14B13.5BQ4_K_M10.3 GB~14 tok/s ModelFit est.
Mellum2.1 12B-A2.5B Thinking12.1B MoEQ4_K_M9.3 GB~50 tok/s our est.
Mistral Nemo 12B12BQ8_013.4 GB~10 tok/s ModelFit est.
Gemma 3 12B Instruct12BQ4_K_M10.7 GB~17 tok/s ModelFit est.
Gemma 4 12B12BQ8_014.1 GB~10 tok/s ModelFit est.
GLM-4-9B-Chat9.4BQ8_011.2 GB~14 tok/s ModelFit est.
Gemma 2 9B Instruct9BQ4_K_M8.2 GB~18 tok/s ModelFit est.
Ornith 1.0 9B9BQ4_K_M6.7 GB~26 tok/s ModelFit est.
MiMo-V2.6-Distill-Qwen-9B9BQ4_K_M6.9 GB~25 tok/s ModelFit est.
Jebadiah 9B9BQ8_011.0 GB~15 tok/s ModelFit est.
Granite 4.2 8B8.8BQ4_K_M6.1 GB~23 tok/s ModelFit est.
Granite Switch 4.1 8B8.8BQ4_K_M7.6 GB~19 tok/s ModelFit est.
MiniCPM-V 4.5 8B8.7BQ4_K_M6.8 GB~25 tok/s ModelFit est.
Ministral 3 8B8.4BQ4_K_M7.1 GB~21 tok/s ModelFit est.
LFM2.5 8B-A1B8.3B MoEQ4_K_M6.6 GB~75 tok/s ModelFit est.
Llama 3.1 8B Instruct8BQ8_09.2 GB~16 tok/s ModelFit est.
Qwen3 8B8BQ8_09.3 GB~15 tok/s ModelFit est.
Granite 4.1 8B Instruct8BQ4_K_M6.6 GB~22 tok/s ModelFit est.
Mistral 7B Instruct7BQ8_08.4 GB~16 tok/s ModelFit est.
Qwen2.5 Coder 7B7BQ4_K_M6.6 GB~29 tok/s ModelFit est.
DeepSeek-R1 Distill Qwen 7B7BQ8_08.7 GB~17 tok/s ModelFit est.
Gemma 4 E4B4.5BQ8_08.7 GB~26 tok/s ModelFit est.
Qwen3.5 4B Instruct4BQ8_05.4 GB~29 tok/s ModelFit est.
NVIDIA Nemotron 3.5 Bolt E4B4BQ4_K_M9.1 GB~34 tok/s ModelFit est.
Phi-3 Mini 3.8B3.8BQ4_K_M4.3 GB~26 tok/s our est.
Phi-4 Mini 3.8B3.8BQ8_04.9 GB~28 tok/s ModelFit est.
Granite 4.2 3B3.7BQ4_K_M3.2 GB~53 tok/s ModelFit est.
Ministral 3 3B3.4BQ4_K_M4.1 GB~38 tok/s ModelFit est.
Qwen2.5 3B Instruct3BQ4_K_M3.6 GB~61 tok/s ModelFit est.
Llama 3.2 3B Instruct3BQ4_K_M3.6 GB~51 tok/s ModelFit est.
Granite 4.1 3B Instruct3BQ4_K_M3.0 GB~52 tok/s ModelFit est.
Gemma 4 E2B2.3BQ8_05.7 GB~61 tok/s ModelFit est.
Gemma 2 2B Instruct2BQ4_K_M2.8 GB~59 tok/s ModelFit est.
Qwen3.5 2B Instruct2BQ4_K_M2.8 GB~62 tok/s ModelFit est.
LFM3 1.7B1.73BQ4_K_M2.1 GB~105 tok/s ModelFit est.
Qwen2.5 1.5B Instruct1.5BQ4_K_M2.5 GB~109 tok/s ModelFit est.
Llama 3.2 1B Instruct1BQ4_K_M2.0 GB~125 tok/s ModelFit est.
Gemma 3 1B Instruct1BQ8_02.0 GB~110 tok/s ModelFit est.
Qwen3.5 0.8B Instruct0.8BQ4_K_M1.8 GB~135 tok/s ModelFit est.
Qwen2.5 0.5B Instruct0.5BQ4_K_M1.8 GB~231 tok/s ModelFit est.
SmolLM2 360M0.36BQ4_K_M1.5 GB~131 tok/s ModelFit est.

Speeds come from ModelFit's estimates (CC BY 4.0) where it covers the model, otherwise from our bandwidth formula. Method

Fits only at 3-bit or lower

Nemotron 3 Nano 30B-A3B.

Too big for this machine

Mistral Small 3.1 (16.4 GB), Devstral Small 2 24B (16.6 GB), Gemma 4 26B-A4B (17.4 GB), Qwen3.5 27B Instruct (17.4 GB), Qwen3.8-27B (17.9 GB), Granite 4.2 30B (17.9 GB), Jebadiah 27B (18.2 GB), Muse Glimmer 30B (18.3 GB), Mistral Small 22B (18.4 GB), AREX-2 27B (18.6 GB), Qwen3.6 27B (19.4 GB), Qwen3-Coder-30B-A3B (20 GB) and more.

Questions

What is the best AI model for the M5 (24 GB)?

gpt-oss-20b at MXFP4: the largest model on our shortlist of current models that runs at 4-bit or better at a usable speed (about 32 tok/s, ModelFit est.).

How much memory can a model use on the M5 (24 GB)?

About 16.0 GB of the 24 GB.

How fast is the M5 (24 GB) for local LLMs?

Decode speed is limited by memory bandwidth: 153 GB/s. A model that reads 10 GB per token runs at under 15 tokens per second.