How to Run Local LLMs on a Mac in 2026: Step-by-Step Guide
The short answer
On an Apple Silicon Mac, install Ollama, LM Studio or MLX, pick a model that fits in your unified memory, and run it. All three are free. As of November 25, 2026:
| Ollama | LM Studio | MLX (mlx-lm) | |
|---|---|---|---|
| Best for | API service other apps and agents call | Desktop app with model browser | Python scripting, quantizing, LoRA fine-tuning |
| Requirements | macOS 14 Sonoma+, Apple M-series (Intel = CPU only) | Apple Silicon, macOS 14+, 16 GB+ RAM recommended; no Intel | Apple Silicon, Python |
| Install | Drag Ollama.app to Applications | Download the app | pip install mlx-lm |
| Interface | CLI + API on localhost:11434 | GUI, local server, MCP servers, chat with documents | mlx_lm.generate, mlx_lm.chat, Python API |
| Model source | Ollama library | Hugging Face (GGUF and MLX) | Hugging Face mlx-community |
On Windows instead? See how to run local LLMs on Windows. Still choosing hardware? See best Mac for running local LLMs.
Step 1: Check your memory
Open Apple menu → About This Mac and note the chip and memory. On Apple Silicon the GPU uses the same unified memory as the CPU, so that number is your model budget. Rule of thumb at 4-bit: about 0.6 GB per billion parameters, plus 2–4 GB for context and some headroom for macOS (by default macOS lets the GPU wire only part of total memory).
| Unified memory | What runs well (4-bit) |
|---|---|
| 8–16 GB | 3B–8B models: drafting, summaries, autocomplete |
| 24–32 GB | 14B–32B dense models; small MoE models such as Inkling 2 Mini (~20 GB checkpoint, Mac 32 GB+) |
| 64 GB | 70B dense at 4-bit; ~120B MoE only tightly |
| 96–128 GB | ~120B MoE models comfortably, long contexts |
| 256–512 GB | 200B–500B-class open-weight models |
Memory bandwidth decides speed: a Max or Ultra chip generates tokens several times faster than a base chip with the same model.
Step 2a: Ollama (fastest start)
- Download Ollama, open the
.dmg, drag it to Applications and launch it; it offers to link theollamaCLI into/usr/local/bin. - In Terminal:
ollama run inkling-2-mini(or any model from the library). The first run downloads the weights to~/.ollama. - Point apps at
http://localhost:11434— coding agents, Open WebUI and most local-AI tools speak Ollama’s API. - Logs live in
~/.ollama/logs(server.log) if something fails.
Step 2b: LM Studio (no Terminal)
- Install LM Studio, open the Discover tab and search for a model; it marks which files fit your memory.
- On a Mac, prefer the MLX build of a model where offered; otherwise use GGUF.
- Chat in the app, attach documents, or start the local server for other apps. LM Studio also connects to MCP servers.
Step 2c: MLX (for developers)
pip install mlx-lm
mlx_lm.chat --model mlx-community/<model-name>-4bit
mlx_lm.generate --prompt "..." runs one-off generations, and the Python API (from mlx_lm import load, generate) drops into scripts. mlx-lm can also quantize models, upload them to Hugging Face, and run LoRA or full fine-tuning — something Ollama and LM Studio do not do.
Step 3: Keep it fast
- Close memory-heavy apps before loading a large model; swapping kills speed.
- Use 4-bit for chat; go to 6- or 8-bit only if you have spare memory and notice quality issues.
- Keep context windows as small as the task allows — long contexts consume memory quickly.
- For which models to run, see best local LLMs for Mac.
Last verified: November 25, 2026.