How to run a local LLM on the Apple M2 Pro (32GB)

A step-by-step setup for beginners. With 32 GB of unified memory, the best everyday model for this Mac is gpt-oss 20B, which runs fast: a paragraph in a couple of seconds.

What to run on the Apple M2 Pro (32GB)

The best model for each job that fits fully in memory at the default Q4_K_M download and runs at a comfortable reading speed.

JobModelSpeedOllama command
Chat and everyday questionsgpt-oss 20BFast: a paragraph in a couple of secondsollama run gpt-oss:20b
Help with codeQwen3 Coder 30B-A3BFast: a paragraph in a couple of secondsollama run qwen3-coder:30b
Writing and editingGemma 3 12BFaster than you can readollama run gemma3:12b
Questions about my documentsQwen3 14BFaster than you can readollama run qwen3:14b
Maths, logic and homeworkgpt-oss 20BFast: a paragraph in a couple of secondsollama run gpt-oss:20b

Set up gpt-oss 20B in about ten minutes

Pick one app. LM Studio is easiest if you've never used a terminal.

LM Studio on Mac

  1. Go to lmstudio.ai and click Download for Mac.
  2. Open the downloaded file and drag LM Studio into your Applications folder, then open it from there.
  3. If it offers to download a first model, you can skip that. Click the search (magnifying glass) icon in the left sidebar to open Discover.
  4. Type gpt-oss 20B in the search box. On a Mac you may see both MLX and GGUF versions: either works, and MLX is often a little faster.
  5. Choose the 4-bit (or Q4_K_M) version if a list appears, then click Download.
  6. Open the Chat tab, click Select a model to load at the top, pick gpt-oss 20B, and type your first message.

Ollama on Mac

  1. Go to ollama.com/download and download Ollama for macOS.
  2. Open the download, move Ollama to your Applications folder, and open it. Allow it to install its command-line tool when asked.
  3. Open Terminal (press Cmd + Space and type "Terminal") and run the command below. The first time, it downloads gpt-oss 20B, which can take a while.
  4. ollama run gpt-oss:20b
  5. When you see >>>, type a message and press Enter. Type /bye to quit. Ollama's own app window can also chat with any model you have downloaded.

Run it in the cloud

Want a bigger model than the Apple M2 Pro (32GB) can hold?

Rent a GPU with more memory by the hour, or see whether upgrading or renting is cheaper for you.

Frequently asked questions

What is the best local LLM for the Apple M2 Pro (32GB)?

For everyday chat, gpt-oss 20B: it fits in the Apple M2 Pro (32GB)'s 32 GB at Q4_K_M and runs at about 55 tokens per second.

Should I use LM Studio or Ollama on the Apple M2 Pro (32GB)?

Either works. LM Studio is a point-and-click app and the easiest start; Ollama is a one-line command that other apps and coding tools can connect to.

Can the Apple M2 Pro (32GB) run a 70B model?

Not fully in memory: a 70B model needs about 46.1 GB at Q4_K_M. It would spill into system RAM and run very slowly, so renting a GPU is the practical option.