← Every comparisonHead to head

Apple M4 vs Apple M5 for local AI

Both fit the same models we track, up to Qwen3 32B. The Apple M5 generates about 27% faster on any model both can run, because it has 153 GB/s of memory bandwidth to the Apple M4's 120 GB/s.

The numbers that matter

Memory and bandwidth

Memory decides which models fit. Bandwidth decides how fast they generate, because every token reads the model's active weights once.

Apple M4Apple M5
Memory16 or 24 or 32 GB unified memory16 or 24 or 32 GB unified memory
Usable for modelsAbout 21 GB of 32 GBAbout 21 GB of 32 GB
Bandwidth120 GB/s153 GB/s
Biggest model that fitsQwen3 32BQwen3 32B
Best everyday pickQwen3 30B-A3B, ~21 tok/sQwen3 30B-A3B, ~27 tok/s
Model by model

Every model, side by side

Estimated generation speed at the largest memory size each was sold in (32 GB and 32 GB).

ModelApple M4Apple M5
Qwen3 4B
About 4 GB
~26 tok/s Usable~34 tok/s Runs great
Qwen3 8B
About 7 GB
~13 tok/s Usable~16 tok/s Usable
Gemma 3 12B
About 10 GB
~8 tok/s Slow~10 tok/s Usable
Qwen3 14B
About 11 GB
~7 tok/s Slow~9 tok/s Slow
gpt-oss 20B
About 16 GB
~21 tok/s Usable~27 tok/s Usable
Gemma 3 27B
About 19 GB
~4 tok/s Slow~5 tok/s Slow
Qwen3 30B-A3B
About 21 GB
~21 tok/s Usable~27 tok/s Usable
Qwen3 32B
About 22 GB
~3 tok/s Slow~4 tok/s Slow
Llama 3.3 70B
About 45 GB
Needs 45 GBNeeds 45 GB
gpt-oss 120B
About 67 GB
Needs 67 GBNeeds 67 GB
Qwen3 235B-A22B
About 144 GB
Needs 144 GBNeeds 144 GB
DeepSeek R1 671B
About 406 GB
Needs 406 GBNeeds 406 GB
Which should you get?

The Apple M5, for speed. They fit the same models. Price matters as much as either number: check used prices on the builds page, where every parts list has a measured or estimated speed.

How we estimate

Both columns use the same formula: memory bandwidth divided by the weights read per token, calibrated on our own rack, with Ollama's default 4-bit sizes. Real results are usually within about a third. Measured either one? Send us the number.

Compare

Other matchups

Every comparison