Local AI on a Mac: the same model, tested on an M4 Pro and a gaming PC
We wanted a straight answer to a question we kept seeing: is a Mac any good for running AI models at home? So we took one model, Qwen 3.8 27B, and ran our full test set on three setups:
- Mac, Ollama: MacBook Pro, M4 Pro chip, 24 GB of memory. The same GGUF model file as our PC.
- Mac, MLX: the same Mac, running Apple's own MLX engine with the MLX version of the model.
- PC, Ollama: our desktop with an NVIDIA RTX 4080 SUPER (16 GB).
Each setup did three full runs of the same tests: 20 questions about facts hidden in a 40-page document, 10 multi-step reasoning problems and 4 screenshots. The test content is made up fresh for each run, and every setup got the same three sets.
The results
| Setup | Long document | Reasoning | Screenshots | Speed | 40-page read | Standard week |
|---|---|---|---|---|---|---|
| PC, Ollama | 52/60 | 26/30 | 10/12 | 45 tokens/s | 16 s | 3.4 hours |
| Mac, MLX | 54/60 | 26/30 | text only | 15 tokens/s | 172 s | 9.4 hours |
| Mac, Ollama | 52/60 | 26/30 | 12/12 | 12 tokens/s | 192 s | 12.9 hours |
"Standard week" is 200 prompts of 4,000 tokens: the time you'd spend waiting for answers. Scores are totals over three runs.
What this means
The Mac answers just as well. On text, Ollama on the Mac and on the PC scored exactly the same in every run (18, 17, 17 on the document and 9, 9, 8 on reasoning). On screenshots the Mac did slightly better, 12/12 against the PC's 10/12; small differences like that are normal between chips. Where a model runs changes how long you wait, not how smart it is.
MLX is the faster way to run a model on a Mac. On the same Mac, MLX wrote about 15 tokens a second against Ollama's 12, read the 40-page document in 172 s against 192 s, and cut a standard week of waiting from 12.9 hours to 9.4. It also scored 54/60 on the document against 52/60, likely because the MLX file is 4-bit where the Ollama one is 3-bit.
A gaming PC is still much faster. The RTX 4080 SUPER wrote 45 tokens a second, three times the Mac's best, and read the 40-page document in 16 s. A standard week of waiting is 3.4 hours on the PC against 9.4 on the Mac.
24 GB is the floor for a 27B model. macOS lets the graphics side of the chip use about 19 GB of the 24. The model takes 13 to 15 GB of that, which leaves only a few gigabytes for a long document. MLX ran out of memory on the 40-page test until we told it to read the document in smaller pieces and compress what it remembers (the settings are below). If you're buying a Mac or Mac mini for AI, get more memory before a faster chip.
How to set it up
Ollama is the easiest start:
brew install ollama
ollama serve
ollama pull hf.co/unsloth/Qwen3.8-27B-GGUF:UD-Q3_K_XL
To match our settings, start the server with OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q4_0 ollama serve.
MLX takes one more step and is worth it:
python3 -m venv ~/mlx && ~/mlx/bin/pip install mlx-lm
~/mlx/bin/mlx_lm.server --model mlx-community/Qwen3.8-27B-mxfp4 --prefill-step-size 512 --kv-bits 4 --quantized-kv-start 0 --prompt-cache-size 1
The last four settings are what made a 40-page document fit on a 24 GB Mac. Any app that talks to OpenAI-style servers can then use http://localhost:8080.
GGUF or MLX?
They are two file formats for the same model. GGUF is what Ollama, LM Studio and llama.cpp use on every platform. MLX only runs on Apple Silicon and is built for it. On our Mac the MLX version answered just as well, and faster. The catch: the MLX server we used only handles text, so for screenshots we'd still use Ollama.
Full reviews
One email a week
What we tested this week, what it cost to run, and the one tool worth your time. No spam, unsubscribe in one click.