← CanIRunLocal · All hardware · All models

Can a Mac Studio M5 Max (40c GPU) 48GB run Qwen 2.5 Coder 1.5B?

Yes. Qwen 2.5 Coder 1.5B fits in fast memory on Mac Studio M5 Max (40c GPU) 48GB at Q8_0 (2.3 GB needed, 36.0 GB usable), about 307 tok/s (estimate).

Hardware: Mac Studio M5 Max (40c GPU) 48GB · Model: Qwen 2.5 Coder 1.5B

Mac Studio M5 Max (40c GPU) 48GB has 48 GB of unified memory and 614 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 36.0 GB. Qwen 2.5 Coder 1.5B (1.54B, Alibaba) at Q8_0 is a 1.6 GB download and needs 2.3 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size1.6 GB
Memory needed2.3 GB
Usable fast memory36.0 GB
Fitfits in fast memory
Estimated speed~307 tok/s (estimate)
Commandollama run qwen2.5-coder:1.5b-instruct-q8_0
Open Mac Studio M5 Max (40c GPU) 48GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-23.

A project by OnDevice Labs · llms.txt