Local AI on macOS

Written by Jakub Rusinowski · Last updated September 30, 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

When it breaks on macOS

Hardware and models on macOS

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

MemoryHardware on this platformModels to run
8 GB—Qwen 3 8B
GLM-6 9B
GLM-4 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
Qwen3.8 27B
48 GB—GLM-5.1 72B
Qwen 3.5 72B
Gemma 4 27B ⭐
96 GBApple M3 Max (30-core GPU)
Apple M2 Max
GPT-OSS 120B
Qwen 3.5 122B-A10B (MoE)
GLM-5.1 72B
192 GBApple M2 UltraQwen 3 235B-A22B (MoE)
DeepSeek V4.1 Flash
DeepSeek V4-Flash

Machines that run macOS

MachineMemory for modelsForm factorUpgradeable
Mac Studio (M5 Ultra, 512 GB)512 GB unifiedDesktopNo
Mac Studio (M5 Ultra, 256 GB)256 GB unifiedDesktopNo
MacBook Pro 16" (M4 Max, 128 GB)128 GB unifiedLaptopNo
Mac Studio (M5 Ultra, 96 GB)96 GB unifiedDesktopNo
MacBook Pro 16" (M4 Max, 48 GB)48 GB unifiedLaptopNo
Mac Studio (M3 Ultra, 256 GB)256 GB unifiedDesktopNo
Mac Studio (M5 Max 40-core GPU, 128 GB)128 GB unifiedDesktopNo
MacBook Pro 14" (M4 Pro, 24 GB)24 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