← CanIRunLocal · All hardware · All models

What local LLMs run on M4 Pro 24GB?

With 24 GB unified memory (about 16.1 GB usable by the GPU), these are the best open models that fit. The top pick is Bonsai 2 27B (ternary) at Q2_0 (~10.6 GB, ~26 tok/s): ollama run bonsai-2:27b.

Best for coding: gpt-oss 20B (MoE, MXFP4) (gpt-oss:20b), Mistral Small 24B (mistral-small:24b), LFM2.5 8B-A1B (MoE) (lfm2.5:8b-a1b-q8_0).

Runtimes available for this hardware: Ollama, LM Studio, llama.cpp, MLX.

Open the interactive checker for M4 Pro 24GB
#ModelQuantMemory neededFitSpeedCommand
1Bonsai 2 27B (ternary)Q2_010.6 GBfits in fast memory~26 tok/sollama run bonsai-2:27b
2gpt-oss 20B (MoE, MXFP4)MXFP415.1 GBfits in fast memory~45 tok/sollama run gpt-oss:20b
3Mistral Small 24BQ4_K_M15.8 GBfits in fast memory~16 tok/sollama run mistral-small:24b
4Bonsai 2 9B (ternary)Q2_04.6 GBfits in fast memory~68 tok/sollama run bonsai-2:9b
5DeepSeek R1 Distill Qwen 14BQ4_K_M10.3 GBfits in fast memory~24 tok/sollama run deepseek-r1:14b
6LFM2.5 8B-A1B (MoE)Q8_09.8 GBfits in fast memory~103 tok/sollama run lfm2.5:8b-a1b-q8_0
7Phi-4 14BQ4_K_M10.4 GBfits in fast memory~24 tok/sollama run phi4:14b
8Qwen3 14BQ4_K_M10.6 GBfits in fast memory~23 tok/sollama run qwen3:14b
9Ministral 3 14BQ4_K_M10.7 GBfits in fast memory~24 tok/sollama run ministral-3:14b
10Mistral Nemo 12BQ8_014.2 GBfits in fast memory~17 tok/sollama run mistral-nemo:12b-instruct-2407-q8_0
11Gemma 3 12BQ8_014.6 GBfits in fast memory~17 tok/sollama run gemma3:12b-it-q8_0
12Gemma 4 12BQ8_014.6 GBfits in fast memory~17 tok/sollama run gemma4:12b-it-q8_0
13Qwen3.5 9BQ8_011.4 GBfits in fast memory~22 tok/sollama run qwen3.5:9b-q8_0
14Llama 3.2 Vision 11BQ8_013.5 GBfits in fast memory~18 tok/sollama run llama3.2-vision:11b-instruct-q8_0
15Ornith-1.5 9BDefault8 GBfits in fast memory~33 tok/sollama run ornith-1.5:9b
16Nimble v3 9B (Bespoke Labs, decision)Q8_010.6 GBfits in fast memory~23 tok/sollama run nimble-v3:9b-q8_0
17Granite 4.2 8BQ8_010.3 GBfits in fast memory~23 tok/sollama run granite4.2:8b-q8_0
18Ministral 3 8BQ8_011.3 GBfits in fast memory~22 tok/sollama run ministral-3:8b-instruct-2512-q8_0
19Qwen3-VL 8BQ8_011.2 GBfits in fast memory~22 tok/sollama run qwen3-vl:8b-instruct-q8_0
20Qwen3 8BQ8_09.9 GBfits in fast memory~25 tok/sollama run qwen3:8b-q8_0
21DeepSeek R1 0528 Qwen3 8BQ8_09.9 GBfits in fast memory~25 tok/sollama run deepseek-r1:8b-0528-qwen3-q8_0
22DeepSeek R1 Distill Qwen 7BQ8_09.1 GBfits in fast memory~27 tok/sollama run deepseek-r1:7b-qwen-distill-q8_0
23Qwen 2.5 VL 7BQ8_010.8 GBfits in fast memory~23 tok/sollama run qwen2.5vl:7b-q8_0
24MiniCPM-V 2.6 8BQ8_010.5 GBfits in fast memory~24 tok/sollama run minicpm-v:8b-2.6-q8_0
25Gemma 4 E4B (effective 4.5B)Q8_010.3 GBfits in fast memory~24 tok/sollama run gemma4:e4b-it-q8_0
26Clef-Flash 9B (Cloudflare, decision)Q8_012.4 GBfits in fast memory~20 tok/sollama run clef-flash:9b-q8_0
27DeepSeek Coder V2 Lite 16B (MoE)Q5_K_M13 GBfits in fast memory~60 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q5_K_M
28Gemma 3n E4B (on-device)Q8_010.5 GBfits in fast memory~23 tok/sollama run gemma3n:e4b-it-q8_0
29Qwen3.5 4BQ8_06.4 GBfits in fast memory~42 tok/sollama run qwen3.5:4b-q8_0
30Gemma 4 E2B (effective 2.3B)Q8_07.2 GBfits in fast memory~36 tok/sollama run gemma4:e2b-it-q8_0
31Phi-4 Mini 3.8BQ8_04.9 GBfits in fast memory~53 tok/sollama run phi4-mini:3.8b-q8_0
32Qwen3 4BQ8_05.2 GBfits in fast memory~50 tok/sollama run qwen3:4b-q8_0
33Granite 4.2 3BQ8_04.7 GBfits in fast memory~56 tok/sollama run granite4.2:3b-q8_0
34Qwen3-VL 4BQ8_06.3 GBfits in fast memory~43 tok/sollama run qwen3-vl:4b-instruct-q8_0
35Gemma 3 4BQ8_06.2 GBfits in fast memory~44 tok/sollama run gemma3:4b-it-q8_0
36Gemma 3n E2B (on-device)Q8_07.8 GBfits in fast memory~32 tok/sollama run gemma3n:e2b-it-q8_0
37Bonsai 2 4B (ternary)Q2_02.8 GBfits in fast memory~137 tok/sollama run bonsai-2:4b
38tev1 4B (Together AI, decision)Q8_05.4 GBfits in fast memory~47 tok/sollama run tev1:4b-q8_0
39Ministral 3 3BQ8_05.6 GBfits in fast memory~49 tok/sollama run ministral-3:3b-instruct-2512-q8_0
40Llama 3.2 3BQ8_04.2 GBfits in fast memory~64 tok/sollama run llama3.2:3b-instruct-q8_0
41Qwen3.5 2BQ8_03.8 GBfits in fast memory~81 tok/sollama run qwen3.5:2b-q8_0
42Qwen3-VL 2BQ8_03.8 GBfits in fast memory~81 tok/sollama run qwen3-vl:2b-instruct-q8_0
43Qwen3 1.7BQ8_02.9 GBfits in fast memory~99 tok/sollama run qwen3:1.7b-q8_0
44Qwen 2.5 14BQ5_K_M12.3 GBfits in fast memory~20 tok/sollama run qwen2.5:14b-instruct-q5_K_M
45Qwen 2.5 Coder 14BQ5_K_M12.3 GBfits in fast memory~20 tok/sollama run qwen2.5-coder:14b-instruct-q5_K_M
46DeepSeek R1 Distill Qwen 1.5BQ8_02.6 GBfits in fast memory~115 tok/sollama run deepseek-r1:1.5b-qwen-distill-q8_0
47SmolLM2 1.7BQ8_02.5 GBfits in fast memory~121 tok/sollama run smollm2:1.7b
48Bonsai 2 2B (ternary)Q2_02 GBfits in fast memory~240 tok/sollama run bonsai-2:2b
49GLM-OCR 0.9BBF163.7 GBfits in fast memory~81 tok/sollama run glm-ocr:latest
50MiniCPM-V 4.6 1BQ8_02.9 GBfits in fast memory~115 tok/sollama run minicpm-v4.6:q8_0
51Llama 3.2 1BQ8_02 GBfits in fast memory~168 tok/sollama run llama3.2:1b
52LFM2.5 1.2B ThinkingQ8_01.9 GBfits in fast memory~182 tok/sollama run lfm2.5-thinking:1.2b-q8_0
53Llama 3.1 8BQ8_09.5 GBfits in fast memory~26 tok/sollama run llama3.1:8b-instruct-q8_0
54Qwen 2.5 7BQ8_09.1 GBfits in fast memory~27 tok/sollama run qwen2.5:7b-instruct-q8_0
55Qwen 2.5 Coder 7BQ8_09.1 GBfits in fast memory~27 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
56Gemma 3 1BQ8_01.8 GBfits in fast memory~199 tok/sollama run gemma3:1b-it-q8_0
57Mistral 7B v0.3Q8_08.7 GBfits in fast memory~28 tok/sollama run mistral:7b-instruct-q8_0
58LLaVA 1.6 7BQ8_09.1 GBfits in fast memory~28 tok/sollama run llava:7b-v1.6-vicuna-q8_0
59Code Llama 7BQ8_08.1 GBfits in fast memory~30 tok/sollama run codellama:7b-instruct-q8_0
60Qwen3.5 0.8BQ8_02 GBfits in fast memory~218 tok/sollama run qwen3.5:0.8b-q8_0
61Qwen3 0.6BQ8_01.5 GBfits in fast memory~263 tok/sollama run qwen3:0.6b-q8_0
62Qwen 2.5 3BQ8_04.1 GBfits in fast memory~66 tok/sollama run qwen2.5:3b-instruct-q8_0
63SmolLM2 360MFP161.3 GBfits in fast memory~299 tok/sollama run smollm2:360m
64SmolLM2 135MFP160.9 GBfits in fast memory~809 tok/sollama run smollm2:135m
65Qwen 2.5 Coder 1.5BQ8_02.3 GBfits in fast memory~137 tok/sollama run qwen2.5-coder:1.5b-instruct-q8_0

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-18.

A project by OnDevice Labs · llms.txt