Skip to content
RfRigFit

Yes. GLM-4.7-Flash fits on the MacBook Pro 14-inch M4 Max 36GB at Q4: 18.8 GB needed against 25.2 GB of usable unified memory, so 6.4 GB to spare. The next quant up, Q8, needs 32.3 GB, which is 7.1 GB more than is usable. With an FP16 KV cache, about 127,000 tokens of context fit beside the 18.3 GB of Q4 weights.

Can the MacBook Pro 14-inch M4 Max 36GB run GLM-4.7-Flash?

Data updated . Last reviewed the same day, when this catalog snapshot was written.

Memory math

The MacBook Pro 14-inch M4 Max 36GB has 36.0 GB of unified memory shared by the CPU and GPU. The catalog counts 70% of it, 25.2 GB, as available for weights plus KV cache and leaves 10.8 GB for the operating system and other apps. A result under 2 GB of headroom is labeled tight.

GLM-4.7-Flash stores 31.2B parameters, 3B of them active per token. Against 25.2 GB usable, Q4 needs 18.8 GB (6.4 GB spare); Q8 needs 32.3 GB (7.1 GB short); FP16 needs 74.9 GB (49.7 GB short). Q4 is the highest of the three that fits. Q4 comes from GLM-4.7-Flash-Q4_K_M.gguf plus KV cache at 8K.

The Hub repo also has Q5_K_M (GLM-4.7-Flash-Q5_K_M.gguf, 21.9 GB with KV, 3.3 GB spare) and Q6_K (GLM-4.7-Flash-UD-Q6_K_XL.gguf, 26.6 GB with KV, 1.4 GB too big here), between the catalog's Q4 and Q8 steps.

The MacBook Pro 14-inch M4 Max 36GB

Check used prices on eBay for MacBook Pro 14-inch M4 Max 36GB

The eBay link is a search of used listings, not a price or a recommendation of a seller. RigFit may earn a commission from qualifying eBay purchases made through links on this site, at no extra cost to you. See the disclosure.

GLM-4.7-Flash

Quant ladder

Estimated memory for GLM-4.7-Flash on MacBook Pro 14-inch M4 Max 36GB
QuantEstimateHeadroomEst. tok/sVerdict
Q418.8 GB6.4 GB233 tok/sYes
Q832.3 GB-7.1 GB—No
FP1674.9 GB-49.7 GB—No

Context length and KV cache

FP16 KV-cache estimate: 0.4 GB at 8,192 tokens and 1.8 GB at 32,768 tokens, about 54 KB per token (47 counted layers). MLA models use the compressed latent plus the RoPE key from config.json, not a per-head KV.

Context that fits in 25.2 GB usable unified memory, counting weights plus FP16 KV cache and nothing else (estimate: (usable - weight file) / KV per token, capped at the model's 202,752-token window): Q4: about 127,000 tokens.

Speed estimate

GLM-4.7-Flash is a mixture-of-experts model: 31.2B parameters total, 3B active per token (9.6%). Memory has to hold all 31.2B (18.3 GB of Q4 weights), but each token reads only about 1.8 GB of them, so its speed ceiling is about 10.4x higher than a dense model with the same file size.

Estimate, not a benchmark and not from a cited run: 410 GB/s divided by 1.8 GB of weights read per token at Q4 (18.3 GB file x 9.6% active) is a ceiling of 233 tok/s. It ignores prompt processing, KV-cache reads, and software overhead, so real generation is slower.

Offload

This machine has one memory pool, so there is no VRAM-versus-RAM split and nothing to offload at Q4. Going to Q8 would need 7.1 GB more than is usable, and there is no second pool to spill into.

Ollama

This command pulls the Q4_K_M file from unsloth/GLM-4.7-Flash-GGUF, the Hub repo whose file size is used above. It is not an official Ollama library tag.

ollama run hf.co/unsloth/GLM-4.7-Flash-GGUF:Q4_K_M

Nearby machines for GLM-4.7-Flash

Nearby models on the MacBook Pro 14-inch M4 Max 36GB

All hardware for GLM-4.7-Flash · All models for the MacBook Pro 14-inch M4 Max 36GB

Questions

How much memory does GLM-4.7-Flash need at Q4?
The Q4 figure used here is 18.8 GB, from GLM-4.7-Flash-Q4_K_M.gguf plus KV cache at 8K. GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
Can the MacBook Pro 14-inch M4 Max 36GB run GLM-4.7-Flash?
Yes. GLM-4.7-Flash fits on the MacBook Pro 14-inch M4 Max 36GB at Q4: 18.8 GB needed against 25.2 GB of usable unified memory, so 6.4 GB to spare. The next quant up, Q8, needs 32.3 GB, which is 7.1 GB more than is usable. With an FP16 KV cache, about 127,000 tokens of context fit beside the 18.3 GB of Q4 weights.
How much context fits when GLM-4.7-Flash runs on the MacBook Pro 14-inch M4 Max 36GB?
Context that fits in 25.2 GB usable unified memory, counting weights plus FP16 KV cache and nothing else (estimate: (usable - weight file) / KV per token, capped at the model's 202,752-token window): Q4: about 127,000 tokens.
How fast is GLM-4.7-Flash on the MacBook Pro 14-inch M4 Max 36GB, as a bandwidth estimate?
Estimate, not a benchmark and not from a cited run: 410 GB/s divided by 1.8 GB of weights read per token at Q4 (18.3 GB file x 9.6% active) is a ceiling of 233 tok/s. It ignores prompt processing, KV-cache reads, and software overhead, so real generation is slower.
What is the cheapest catalog device that runs GLM-4.7-Flash at Q4?
Radeon RX 7900 XT, list price $899, with 19.0 GB usable.
What changes with the next machine up from the MacBook Pro 14-inch M4 Max 36GB?
GeForce RTX 5090 (32.0 GB VRAM, 30.4 GB usable, 1,792 GB/s, list $1,999), 5.2 GB more usable than here. Yes at Q4, 11.6 GB spare. The best quant stays Q4.