Skip to content
RfRigFit

Yes. gpt-oss-20b fits on the MacBook Pro 14-inch M4 Max 36GB at Q8: 12.3 GB needed against 25.2 GB of usable unified memory, so 12.9 GB to spare. The next quant up, FP16, needs 50.2 GB, which is 25.0 GB more than is usable. With an FP16 KV cache, the model's full 131,072-token window of context fit beside the 12.1 GB of Q8 weights.

Can the MacBook Pro 14-inch M4 Max 36GB run gpt-oss-20b?

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.

gpt-oss-20b stores 20.9B parameters, 3.6B of them active per token. Against 25.2 GB usable, Q4 needs 11.8 GB (13.4 GB spare); Q8 needs 12.3 GB (12.9 GB spare); FP16 needs 50.2 GB (25.0 GB short). Q8 is the highest of the three that fits. Q4 comes from gpt-oss-20b-Q4_K_M.gguf plus KV cache at 8K.

The Hub repo also has Q5_K_M (gpt-oss-20b-Q5_K_M.gguf, 11.9 GB with KV, 13.3 GB spare) and Q6_K (gpt-oss-20b-Q6_K.gguf, 12.2 GB with KV, 13.0 GB spare), 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.

gpt-oss-20b

Quant ladder

Estimated memory for gpt-oss-20b on MacBook Pro 14-inch M4 Max 36GB
QuantEstimateHeadroomEst. tok/sVerdict
Q411.8 GB13.4 GB205 tok/sYes
Q812.3 GB12.9 GB197 tok/sYes
FP1650.2 GB-25.0 GB—No

Context length and KV cache

FP16 KV-cache estimate: 0.2 GB at 8,192 tokens and 0.8 GB at 32,768 tokens, about 25 KB per token (12 counted layers). GQA counts two tensors (K and V) for the stored KV heads and head dimension. config.json also sets a sliding window of 128 tokens. The figures assume every counted layer stores the full context, so they can overstate cache on sliding layers and understate the context that fits.

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 131,072-token window): Q4: the model's full 131,072-token window; Q8: the model's full 131,072-token window.

Speed estimate

gpt-oss-20b is a mixture-of-experts model: 20.9B parameters total, 3.6B active per token (17%). Memory has to hold all 20.9B (12.1 GB of Q8 weights), but each token reads only about 2.1 GB of them, so its speed ceiling is about 5.8x 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 2.1 GB of weights read per token at Q8 (12.1 GB file x 17% active) is a ceiling of 197 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 Q8. Going to FP16 would need 25.0 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/gpt-oss-20b-GGUF, the Hub repo whose file size is used above. It is not an official Ollama library tag.

ollama run hf.co/unsloth/gpt-oss-20b-GGUF:Q4_K_M

Nearby machines for gpt-oss-20b

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

All hardware for gpt-oss-20b · All models for the MacBook Pro 14-inch M4 Max 36GB

Questions

How much memory does gpt-oss-20b need at Q4?
The Q4 figure used here is 11.8 GB, from gpt-oss-20b-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 gpt-oss-20b?
Yes. gpt-oss-20b fits on the MacBook Pro 14-inch M4 Max 36GB at Q8: 12.3 GB needed against 25.2 GB of usable unified memory, so 12.9 GB to spare. The next quant up, FP16, needs 50.2 GB, which is 25.0 GB more than is usable. With an FP16 KV cache, the model's full 131,072-token window of context fit beside the 12.1 GB of Q8 weights.
How much context fits when gpt-oss-20b 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 131,072-token window): Q4: the model's full 131,072-token window; Q8: the model's full 131,072-token window.
How fast is gpt-oss-20b 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 2.1 GB of weights read per token at Q8 (12.1 GB file x 17% active) is a ceiling of 197 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 gpt-oss-20b at Q4?
Radeon RX 7600 XT, list price $329, with 15.2 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 Q8, 18.1 GB spare. The best quant stays Q8.