The best local LLM for each Mac
General chat and writing
Mixture-of-experts models dominate here because they're fast for their size: gpt-oss 20B and Gemma 4 26B A4B on 32 GB, Qwen3.5 and Qwen3.6 35B-A3B where they fit, and gpt-oss 120B or Qwen3.5 122B-A10B on a 128 GB Mac Studio. See the Qwen and Gemma family pages.
Coding
Qwen3-Coder-Next is the standout from 64 GB; Devstral Small 2 and GLM-4.7-Flash below that. Coding agents also need a large context, which costs memory. See the best local LLM for coding and Claude Code with a local model.
Reasoning
DeepSeek-R1's distilled models think step by step before answering, so they write more tokens per answer; speed matters more than usual. The full 671B model needs a 512 GB Mac Studio. See DeepSeek models on a Mac.
Check memory before you download
A model needs its file size in memory, about 4 GB for macOS, and room for context. The memory calculator does the sums; the most popular Ollama models page shows what fits each Mac.
FAQ
What is the best local LLM?
What's the best local LLM for 16 GB?
What is the most popular local LLM?
See any model on the exact Mac you're considering.
- Ollama library, sorted by popularity
- Hugging Face: Qwen
- OpenAI: Introducing gpt-oss
- Google: Gemma 4 model card
- Hugging Face: DeepSeek-R1
Speeds come from published measurements (with source links) or labeled estimates. How we measure