← CanIRunLocal · All hardware · All models

Can a Mac Studio M5 Max (40c GPU) 64GB run GLM-4.7-Flash 30B-A3B (MoE)?

Yes. GLM-4.7-Flash 30B-A3B (MoE) fits in fast memory on Mac Studio M5 Max (40c GPU) 64GB at Q8_0 (33.4 GB needed, 48.0 GB usable), about 80 tok/s (estimate).

Hardware: Mac Studio M5 Max (40c GPU) 64GB · Model: GLM-4.7-Flash 30B-A3B (MoE)

Mac Studio M5 Max (40c GPU) 64GB has 64 GB of unified memory and 614 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 48.0 GB. GLM-4.7-Flash 30B-A3B (MoE) (31.2B, 3B active, Z.ai) at Q8_0 is a 32 GB download and needs 33.4 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size32 GB
Memory needed33.4 GB
Usable fast memory48.0 GB
Fitfits in fast memory
Estimated speed~80 tok/s (estimate)
Commandollama run glm-4.7-flash:q8_0
Open Mac Studio M5 Max (40c GPU) 64GB 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