Local AI on macOS

Written by Jakub Rusinowski · Last updated July 12, 2026

Unified memory lets a Mac load models far larger than any consumer GPU can hold, at a fraction of the memory bandwidth — capacity you can buy, speed you cannot.

Runtimes that work on macOS

RuntimeHow to installAccelerationWatch out for
OllamaOfficial macOS app, or Homebrew.
brew install ollama
Metal (Apple Silicon)
LM StudioOfficial macOS app; ships both the Metal and MLX runtimes.Metal, MLX
MLXApple's own array framework, installed via pip.
pip install mlx-lm
Metal (Apple Silicon)Usually the fastest option on Apple Silicon, but needs MLX-format weights — not every model has an MLX conversion.
llama.cppHomebrew, or build from source (Metal is enabled by default on Apple Silicon).
brew install llama.cpp
Metal, CPU

What macOS is good at

macOS limitations

Hardware and models on macOS

macOS supports Apple accelerators — 18 of the 55 in our hardware database, up to 512 GB.

MemoryHardware on this platformModels to run
8 GBQwen 3 8B
GLM-6 9B
GLM-4.7 9B
16 GBApple M1Mistral Small 3.1 24B
Qwen 3.5 14B
Qwen 3.5 14B
24 GBApple M4 Pro
Apple M2
Apple M3
Gemma 4 27B ⭐
Mistral Small 3.1 24B
Qwen 3.7 35B-A3B
48 GBNemotron 70B Instruct
GLM-5.1 72B
Qwen 3.5 72B
96 GBApple M2 MaxGPT-oss 120B
Nemotron 70B Instruct
Qwen 3.5 122B-A10B (MoE)
192 GBApple M2 UltraQwen 3 235B-A22B (MoE)
DeepSeek V4.1 Flash
DeepSeek V4-Flash

Machines that run macOS

MachineMemory for modelsForm factorUpgradeable
MacBook Pro 16" (M4 Max, 128 GB)128 GB unifiedLaptopNo
MacBook Pro 16" (M4 Max, 48 GB)48 GB unifiedLaptopNo
Mac Studio (M3 Ultra, 256 GB)256 GB unifiedDesktopNo
MacBook Pro 14" (M4 Pro, 24 GB)24 GB unifiedLaptopNo
Mac Studio (M4 Max, 64 GB)64 GB unifiedDesktopNo
MacBook Air (M4, 16 GB)16 GB unifiedLaptopNo
Mac mini (M4, 16 GB)16 GB unifiedMini PCNo
MacBook Pro 16" (M5 Max, 128 GB)128 GB unifiedLaptopNo

FAQ

What is the best way to run an LLM locally on macOS?

Ollama — Official macOS app, or Homebrew. It reaches Metal (Apple Silicon).

Which GPUs work for local AI on macOS?

Apple hardware, up to 512 GB in our database.

What are the downsides of running local AI on macOS?

macOS caps how much unified memory the GPU may claim; the default ceiling is roughly 75% of total memory, which is why usable figures on this site are below the sticker capacity.

Machines Running This Platform

Hardware for This Platform

Other Platforms

Tools

← All platforms | Check your hardware