How to Run Local AI on macOS: Ollama on Apple Silicon, LM Studio and Memory Rules

Published October 21, 2026 · Last updated October 21, 2026

How to Run Local AI on macOS: Ollama on Apple Silicon, LM Studio and Memory Rules
Photo by Luke Chesser (Unsplash)
Some links on this page are affiliate links. If you buy through them, we may earn a commission at no extra cost to you. This never influences our rankings or opinions.

Apple Silicon Macs are the sweet spot for local AI: unified memory means big models fit where a Windows PC with the same “RAM” number couldn’t load them. This guide gets you from zero to a working local model in about ten minutes.

What your Mac can run

The math for Apple Silicon: a Q4-quantized model of N billion parameters needs about N GB, and macOS lets a model use up to ~75% of unified memory. So:

Your MacComfortable maxRecommended
8 GB (M1/M2/M3 base)4-7B modelsGemma 3 4B, Qwen 3 4B
16 GB14B quantizedQwen 3 14B, GPT-OSS 20B (tight)
24-36 GB32B-45B quantizedQwen 3 32B, GPT-OSS 20B comfortably
48-128 GB (Pro/Max/Ultra)70B-123B quantizedLlama 3.3 70B, Qwen 3 123B (careful)

Install Ollama (two ways)

With Homebrew (recommended if you already use brew):

brew install --cask ollama

Or download the app from https://ollama.com/download/mac, drag to Applications and launch. Both register the menu-bar server and the ollama CLI.

Then pull and run a model:

ollama pull qwen3:14b
ollama run qwen3:14b

Screenshot: installing Ollama with Homebrew

Ask it something; /bye exits. ollama ps shows whether the model is on GPU — on Apple Silicon it always is, via Metal.

Verify performance

ollama run qwen3:14b --verbose

Screenshot: model answering with tokens/sec stats

The output shows tokens/sec. Realistic numbers in 2026: an M-series base chip does roughly 20-40 tok/s on 14B Q4; Pro/Max chips do much better with bigger models. If you see single digits, your model is too big for your RAM.

LM Studio with MLX (the Apple-optimized option)

LM Studio now ships MLX builds — Apple’s own ML framework, which is meaningfully faster than GGUF for some models:

  1. Install LM Studio from https://lmstudio.ai (macOS Apple Silicon build).
  2. In the search, filter framework by MLX and pick an MLX-quantized model (e.g. MLX variants of Qwen, Llama and Mistral models are plentiful).
  3. Load and chat. Check the engine selector shows “MLX” rather than “GGUF” for the speed bump.
  4. Server tab → Start: you get an OpenAI-compatible endpoint at http://localhost:1234/v1 that any app can consume.

Command-line tips that save you pain

Common macOS problems

Where to go from here