Which AI models run on the Apple M5 with 32 GB?
More than 40 AI models (LLMs) fit on the Apple M5 with 32 GB and run on your own computer, free and offline. The top pick today is qwen3.8 27B (UD-IQ3_S, 12.0 GB), which should generate about 9.7 tokens per second.
- 32 GB of unified memory
- 20.8 GB free for the model
- 153 GB/s memory bandwidth
The 10 best models for the Apple M5 with 32 GB
From most to least recommended. Copy the command and run it in the terminal, with Ollama installed.
-
1
qwen3.8 27B
Good for: chat, coding, agents, data extraction and json, reasoning, images and documents, long documents.
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-IQ3_S -
2
qwen3.6 27B
Good for: chat, coding, agents, data extraction and json, reasoning, images and documents, long documents.
ollama run hf.co/unsloth/Qwen3.6-27B-GGUF:Q3_K_S -
3
gemma4 31B
Good for: chat, coding, agents, data extraction and json, reasoning, images and documents, long documents.
ollama run hf.co/unsloth/gemma-4-31B-it-GGUF:Q3_K_S -
4
muse-glimmer 30B
Good for: chat, coding, agents, data extraction and json, reasoning, images and documents.
ollama run muse-glimmer:30b -
5
inkling-2-mini 26B-A5B New
Good for: chat, coding, agents, data extraction and json, reasoning, images and documents.
ollama run inkling-2-mini:26b-a5b-iq4_NL -
6
North-Mini-Code-1.0
Good for: coding.
ollama run hf.co/unsloth/North-Mini-Code-1.0-GGUF:UD-Q4_K_S -
7
MiniCPM-V-4.7-35B-A3B
Good for: images and documents.
ollama run hf.co/openbmb/MiniCPM-V-4.7-35B-A3B-gguf:IQ3_M -
8
Hy-Memory-30B-A3B
Good for: chat, data extraction and json.
ollama run hf.co/tencent/Hy-Memory-30B-A3B-GGUF:Q4_K_M -
9
diffusiongemma-26B-A4B-it
Good for: chat, data extraction and json, long documents.
ollama run hf.co/unsloth/diffusiongemma-26B-A4B-it-GGUF:Q4_K_M -
10
gemma4 26B-A4B
Good for: chat, coding, agents, data extraction and json, reasoning, images and documents, long documents.
ollama run gemma4:26b-a4b-it-q4_K_M
The best pick for each use
| Use | Model | Version | Speed |
|---|---|---|---|
| 💬 Chat | gemma4 31B | IQ4_XS · 16.4 GB | ~5.5–8.7 tok/s |
| 👨💻 Coding | gemma4 31B | IQ4_XS · 16.4 GB | ~5.5–8.7 tok/s |
| 🛠️ Agents | gemma4 31B | IQ4_XS · 16.4 GB | ~5.5–8.7 tok/s |
| 📋 Data extraction and JSON | gemma4 31B | IQ4_XS · 16.4 GB | ~5.5–8.7 tok/s |
| 🧠 Reasoning | gemma4 31B | IQ4_XS · 16.4 GB | ~5.5–8.7 tok/s |
| ⚡ Fast and light | nemotron-3-nano 4B | Q4_K_M · 2.9 GB | ~31–49 tok/s |
| 👁️ Images and documents | gemma4 31B | IQ4_XS · 16.4 GB | ~5.5–8.7 tok/s |
| 📚 Long documents | qwen3.8 27B | UD-IQ3_S · 12.0 GB | ~7.4–12 tok/s |
What does not fit yet
These come closest: even in their smallest good-quality version, they need more than the 20.8 GB available.
- ornith-1.5 35B — needs ~25.5 GB (Q4_K_M)
- flint 40B-A2B — needs ~25.6 GB (NVFP4)
- nemotron-3-nano 30B-A3B — needs ~26.3 GB (Q4_K_M)
- nemotron-3.5-lightning 30B-A3B — needs ~27.4 GB (Q4_K_M)
- nemotron3 33B — needs ~30.4 GB (Q4_K_M)
How this list is built
Only models that fit in memory at good compression quality make the list. The order favors the estimated intelligence of the model; speed counts until it is comfortable to read (about 10 tokens per second). Everything here is estimated from real file sizes. To measure for real on your own computer, the free app runs duels between your installed models.
Common questions
What is the best AI model for the Apple M5 with 32 GB?
Today it is qwen3.8 27B (UD-IQ3_S), which should generate about 9.7 tokens per second. For coding, the top pick is gemma4 31B.
Do I need internet or a subscription?
Only internet to download. After that the model runs on your computer with Ollama, a free program: no subscription, and your conversations are not sent anywhere.
How do I install it?
Install Ollama, open the terminal and paste the command shown next to the model. The download starts and, when it finishes, you can start chatting.