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

A step-by-step setup for beginners. With 16 GB of unified memory, the best everyday model for this Mac is Qwen3 8B, which runs faster than you can read.

What to run on the Apple M4 (16GB)

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 questionsQwen3 8BFaster than you can readollama run qwen3:8b
Help with codeQwen3 8BFaster than you can readollama run qwen3:8b
Writing and editingLlama 3.1 8BFaster than you can readollama run llama3.1:8b
Questions about my documentsQwen3 8BFaster than you can readollama run qwen3:8b
Maths, logic and homeworkQwen3 8BFaster than you can readollama run qwen3:8b

Set up Qwen3 8B 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 Qwen3 8B 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 Qwen3 8B, 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 Qwen3 8B, which can take a while.
  4. ollama run qwen3:8b
  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 (16GB) 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 (16GB)?

For everyday chat, Qwen3 8B: it fits in the Apple M4 (16GB)'s 16 GB at Q4_K_M and runs at about 15 tokens per second.

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

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 (16GB) 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.