← CanIRunLocal · All hardware · All models

What local LLMs run on M4 Max (40c GPU) 64GB?

With 64 GB unified memory (about 48.0 GB usable by the GPU), these are the best open models that fit. The top pick is Nemotron 3.5 Bolt 74B-A9B (MoE, IQ2-class) at Default (~27.7 GB, ~72 tok/s): ollama run nemotron-3.5-bolt:74b-a9b.

Best for coding: Nemotron 3.5 Bolt 74B-A9B (MoE, IQ2-class) (nemotron-3.5-bolt:74b-a9b), Qwen3.6 35B-A3B (MoE) (qwen3.6:35b-a3b-q8_0), Qwen3-Coder 30B-A3B (MoE) (qwen3-coder:30b-a3b-q8_0).

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

Open the interactive checker for M4 Max (40c GPU) 64GB
#ModelQuantMemory neededFitSpeedCommand
1Nemotron 3.5 Bolt 74B-A9B (MoE, IQ2-class)Default27.7 GBfits in fast memory~72 tok/sollama run nemotron-3.5-bolt:74b-a9b
2Qwen3.5 35B-A3B (MoE)Q8_040.9 GBfits in fast memory~67 tok/sollama run qwen3.5:35b-a3b-q8_0
3Qwen3.6 35B-A3B (MoE)Q8_040.9 GBfits in fast memory~67 tok/sollama run qwen3.6:35b-a3b-q8_0
4Qwen3-Next 80B-A3B (MoE)Q4_K_M52.4 GBfits if the Mac GPU limit is raised~116 tok/sollama run qwen3-next:80b
5Qwen3 30B-A3B (MoE)Q8_034.4 GBfits in fast memory~61 tok/sollama run qwen3:30b-a3b-q8_0
6Qwen3-Coder 30B-A3B (MoE)Q8_033.4 GBfits in fast memory~63 tok/sollama run qwen3-coder:30b-a3b-q8_0
7Laguna XS 2.1 33B-A3B (MoE)Q8_037.4 GBfits in fast memory~68 tok/sollama run laguna-xs-2.1:q8_0
8Bonsai 2 27B (ternary)Q2_010.6 GBfits in fast memory~53 tok/sollama run bonsai-2:27b
9Nemotron 3.5 Lightning 30B-A3B (MoE)Q8_036.4 GBfits in fast memory~66 tok/sollama run nemotron-3.5-lightning:30b-a3b-q8_0
10GLM-4.7-Flash 30B-A3B (MoE)Q8_033.4 GBfits in fast memory~71 tok/sollama run glm-4.7-flash:q8_0
11Qwen3-VL 30B-A3B (MoE)Q8_035.7 GBfits in fast memory~67 tok/sollama run qwen3-vl:30b-a3b-instruct-q8_0
12Gemma 4 26B-A4B (MoE)Q8_029.6 GBfits in fast memory~53 tok/sollama run gemma4:26b-a4b-it-q8_0
13Llama 3.3 70BQ4_K_M47.1 GBfits in fast memory~10 tok/sollama run llama3.3:70b
14DeepSeek R1 Distill Llama 70BQ4_K_M47.1 GBfits in fast memory~10 tok/sollama run deepseek-r1:70b
15Ornith-1.5 35B-A3B (MoE)Default24.8 GBfits in fast memory~111 tok/sollama run ornith-1.5:35b
16gpt-oss 20B (MoE, MXFP4)MXFP415.1 GBfits in fast memory~91 tok/sollama run gpt-oss:20b
17LFM2.5 24B-A2B (MoE)Q8_026.2 GBfits in fast memory~105 tok/sollama run lfm2.5:24b-a2b-q8_0
18Qwen3-VL 32BQ8_038.6 GBfits in fast memory~12 tok/sollama run qwen3-vl:32b-instruct-q8_0
19Qwen3 32BQ8_037.2 GBfits in fast memory~12 tok/sollama run qwen3:32b-q8_0
20DeepSeek R1 Distill Qwen 32BQ8_037.2 GBfits in fast memory~12 tok/sollama run deepseek-r1:32b-qwen-distill-q8_0
21North Mini Code 1.0 30B (MoE)Q8_034.1 GBfits in fast memory~14 tok/sollama run north-mini-code-1.0:q8_0
22Muse Glimmer 30BQ8_033.4 GBfits in fast memory~14 tok/sollama run muse-glimmer:30b-q8_0
23Gemma 4 31BQ8_036.5 GBfits in fast memory~13 tok/sollama run gemma4:31b-it-q8_0
24Granite 4.2 30BQ8_033.1 GBfits in fast memory~14 tok/sollama run granite4.2:30b-q8_0
25Qwen3.5 27BQ8_032.3 GBfits in fast memory~15 tok/sollama run qwen3.5:27b-q8_0
26Qwen3.6 27BQ8_032.3 GBfits in fast memory~15 tok/sollama run qwen3.6:27b-q8_0
27Gemma 3 27BQ8_032.3 GBfits in fast memory~15 tok/sollama run gemma3:27b-it-q8_0
28Clef 27B (Cloudflare, decision)Q8_032.3 GBfits in fast memory~15 tok/sollama run clef:27b-q8_0
29Qwen3.8 27BQ8_032.3 GBfits in fast memory~15 tok/sollama run qwen3.8:27b-q8_0
30Mistral Small 24BQ8_026.8 GBfits in fast memory~17 tok/sollama run mistral-small:24b-instruct-2501-q8_0
31Devstral Small 2 24BQ8_027.8 GBfits in fast memory~17 tok/sollama run devstral-small-2:24b-instruct-2512-q8_0
32Mixtral 8x7B (MoE)Q5_K_M34.8 GBfits in fast memory~24 tok/sollama run mixtral:8x7b-instruct-v0.1-q5_K_M
33Qwen3 14BQ8_017.3 GBfits in fast memory~27 tok/sollama run qwen3:14b-q8_0
34DeepSeek R1 Distill Qwen 14BQ8_017.3 GBfits in fast memory~27 tok/sollama run deepseek-r1:14b-qwen-distill-q8_0
35Phi-4 14BQ8_017.3 GBfits in fast memory~27 tok/sollama run phi4:14b-q8_0
36Ministral 3 14BQ8_016.6 GBfits in fast memory~29 tok/sollama run ministral-3:14b-instruct-2512-q8_0
37Mistral Nemo 12BQ8_014.2 GBfits in fast memory~34 tok/sollama run mistral-nemo:12b-instruct-2407-q8_0
38Gemma 3 12BQ8_014.6 GBfits in fast memory~34 tok/sollama run gemma3:12b-it-q8_0
39Gemma 4 12BQ8_014.6 GBfits in fast memory~34 tok/sollama run gemma4:12b-it-q8_0
40Qwen3.5 9BQ8_011.4 GBfits in fast memory~44 tok/sollama run qwen3.5:9b-q8_0
41Bonsai 2 9B (ternary)Q2_04.6 GBfits in fast memory~137 tok/sollama run bonsai-2:9b
42Llama 3.2 Vision 11BQ8_013.5 GBfits in fast memory~36 tok/sollama run llama3.2-vision:11b-instruct-q8_0
43Nimble v3 9B (Bespoke Labs, decision)Q8_010.6 GBfits in fast memory~46 tok/sollama run nimble-v3:9b-q8_0
44Granite 4.2 8BQ8_010.3 GBfits in fast memory~47 tok/sollama run granite4.2:8b-q8_0
45Ministral 3 8BQ8_011.3 GBfits in fast memory~44 tok/sollama run ministral-3:8b-instruct-2512-q8_0
46Qwen3-VL 8BQ8_011.2 GBfits in fast memory~45 tok/sollama run qwen3-vl:8b-instruct-q8_0
47Qwen3 8BQ8_09.9 GBfits in fast memory~49 tok/sollama run qwen3:8b-q8_0
48DeepSeek R1 0528 Qwen3 8BQ8_09.9 GBfits in fast memory~49 tok/sollama run deepseek-r1:8b-0528-qwen3-q8_0
49Ornith-1.5 9BDefault8 GBfits in fast memory~66 tok/sollama run ornith-1.5:9b
50DeepSeek R1 Distill Qwen 7BQ8_09.1 GBfits in fast memory~54 tok/sollama run deepseek-r1:7b-qwen-distill-q8_0
51Qwen 2.5 VL 7BQ8_010.8 GBfits in fast memory~46 tok/sollama run qwen2.5vl:7b-q8_0
52MiniCPM-V 2.6 8BQ8_010.5 GBfits in fast memory~48 tok/sollama run minicpm-v:8b-2.6-q8_0
53Gemma 4 E4B (effective 4.5B)Q8_010.3 GBfits in fast memory~49 tok/sollama run gemma4:e4b-it-q8_0
54Clef-Flash 9B (Cloudflare, decision)Q8_012.4 GBfits in fast memory~40 tok/sollama run clef-flash:9b-q8_0
55Gemma 3n E4B (on-device)Q8_010.5 GBfits in fast memory~46 tok/sollama run gemma3n:e4b-it-q8_0
56LFM2.5 8B-A1B (MoE)Q8_09.8 GBfits in fast memory~206 tok/sollama run lfm2.5:8b-a1b-q8_0
57Gemma 3n E2B (on-device)Q8_07.8 GBfits in fast memory~63 tok/sollama run gemma3n:e2b-it-q8_0
58Gemma 4 E2B (effective 2.3B)Q8_07.2 GBfits in fast memory~73 tok/sollama run gemma4:e2b-it-q8_0
59Qwen3.5 4BQ8_06.4 GBfits in fast memory~84 tok/sollama run qwen3.5:4b-q8_0
60Qwen 2.5 72BQ4_K_M51.1 GBfits if the Mac GPU limit is raised~9 tok/sollama run qwen2.5:72b
61DeepSeek Coder V2 Lite 16B (MoE)Q8_018 GBfits in fast memory~84 tok/sollama run deepseek-coder-v2:16b-lite-instruct-q8_0
62Qwen3-VL 4BQ8_06.3 GBfits in fast memory~86 tok/sollama run qwen3-vl:4b-instruct-q8_0
63Gemma 3 4BQ8_06.2 GBfits in fast memory~87 tok/sollama run gemma3:4b-it-q8_0
64Qwen3 4BQ8_05.2 GBfits in fast memory~99 tok/sollama run qwen3:4b-q8_0
65tev1 4B (Together AI, decision)Q8_05.4 GBfits in fast memory~95 tok/sollama run tev1:4b-q8_0
66Qwen 2.5 32BQ8_037.2 GBfits in fast memory~12 tok/sollama run qwen2.5:32b-instruct-q8_0
67Qwen 2.5 Coder 32BQ8_037.2 GBfits in fast memory~12 tok/sollama run qwen2.5-coder:32b-instruct-q8_0
68Ministral 3 3BQ8_05.6 GBfits in fast memory~97 tok/sollama run ministral-3:3b-instruct-2512-q8_0
69Phi-4 Mini 3.8BQ8_04.9 GBfits in fast memory~107 tok/sollama run phi4-mini:3.8b-q8_0
70Granite 4.2 3BQ8_04.7 GBfits in fast memory~112 tok/sollama run granite4.2:3b-q8_0
71Bonsai 2 4B (ternary)Q2_02.8 GBfits in fast memory~273 tok/sollama run bonsai-2:4b
72Llama 3.2 3BQ8_04.2 GBfits in fast memory~128 tok/sollama run llama3.2:3b-instruct-q8_0
73Qwen 2.5 14BQ8_017.3 GBfits in fast memory~27 tok/sollama run qwen2.5:14b-instruct-q8_0
74Qwen 2.5 Coder 14BQ8_017.3 GBfits in fast memory~27 tok/sollama run qwen2.5-coder:14b-instruct-q8_0
75Qwen3.5 2BQ8_03.8 GBfits in fast memory~162 tok/sollama run qwen3.5:2b-q8_0
76Qwen3-VL 2BQ8_03.8 GBfits in fast memory~162 tok/sollama run qwen3-vl:2b-instruct-q8_0
77Llama 3.1 8BQ8_09.5 GBfits in fast memory~51 tok/sollama run llama3.1:8b-instruct-q8_0
78Qwen 2.5 7BQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5:7b-instruct-q8_0
79Qwen 2.5 Coder 7BQ8_09.1 GBfits in fast memory~54 tok/sollama run qwen2.5-coder:7b-instruct-q8_0
80Qwen3 1.7BQ8_02.9 GBfits in fast memory~199 tok/sollama run qwen3:1.7b-q8_0
81Mistral 7B v0.3Q8_08.7 GBfits in fast memory~57 tok/sollama run mistral:7b-instruct-q8_0
82LLaVA 1.6 7BQ8_09.1 GBfits in fast memory~56 tok/sollama run llava:7b-v1.6-vicuna-q8_0
83Code Llama 7BQ8_08.1 GBfits in fast memory~61 tok/sollama run codellama:7b-instruct-q8_0
84DeepSeek R1 Distill Qwen 1.5BQ8_02.6 GBfits in fast memory~230 tok/sollama run deepseek-r1:1.5b-qwen-distill-q8_0
85SmolLM2 1.7BQ8_02.5 GBfits in fast memory~243 tok/sollama run smollm2:1.7b
86Bonsai 2 2B (ternary)Q2_02 GBfits in fast memory~480 tok/sollama run bonsai-2:2b
87GLM-OCR 0.9BBF163.7 GBfits in fast memory~162 tok/sollama run glm-ocr:latest
88MiniCPM-V 4.6 1BQ8_02.9 GBfits in fast memory~230 tok/sollama run minicpm-v4.6:q8_0
89Llama 3.2 1BQ8_02 GBfits in fast memory~336 tok/sollama run llama3.2:1b
90LFM2.5 1.2B ThinkingQ8_01.9 GBfits in fast memory~364 tok/sollama run lfm2.5-thinking:1.2b-q8_0
91Gemma 3 1BQ8_01.8 GBfits in fast memory~397 tok/sollama run gemma3:1b-it-q8_0
92Qwen3.5 0.8BQ8_02 GBfits in fast memory~437 tok/sollama run qwen3.5:0.8b-q8_0
93Qwen3 0.6BQ8_01.5 GBfits in fast memory~526 tok/sollama run qwen3:0.6b-q8_0
94Qwen 2.5 3BQ8_04.1 GBfits in fast memory~132 tok/sollama run qwen2.5:3b-instruct-q8_0
95SmolLM2 360MFP161.3 GBfits in fast memory~598 tok/sollama run smollm2:360m
96SmolLM2 135MFP160.9 GBfits in fast memory~1618 tok/sollama run smollm2:135m
97Qwen 2.5 Coder 1.5BQ8_02.3 GBfits in fast memory~273 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