How to run a local LLM on the Apple M4 Pro (48GB)

A step-by-step setup for beginners. With 48 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 M4 Pro (48GB)

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-A3BVery fast: answers appear almost instantlyollama run qwen3-coder:30b
Writing and editingMistral Small 24BAbout as fast as you readollama run mistral-small:24b
Questions about my documentsQwen3 30B-A3BVery fast: answers appear almost instantlyollama run qwen3:30b
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 M4 Pro (48GB) 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 M4 Pro (48GB)?

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

Should I use LM Studio or Ollama on the Apple M4 Pro (48GB)?

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 M4 Pro (48GB) run a 70B model?

Yes, at Q2_K, at about 6 tokens per second.