Can a Mac run gpt-oss-20b?

Yes, with 24 GB of unified memory or more. gpt-oss-20b has 21B parameters, 3.6B of them active for each token; here is the memory it needs at each precision and how fast every Apple chip runs it.

Memory at native 4.25-bit15.3 GBweights 13.8 GB + context
Smallest Mac24 GBnative 4.25-bit · 54 Mac configurations
Fastest Mac284–505tokens/s · M5 Ultra 96 GB (estimate)

Memory at each precision

VersionWeightsWith contextSmallest Mac
native 4.25-bit13.8 GB15.3 GB24 GB
3-bit lower quality9.2 GB10.7 GB16 GB
2-bit lower quality6.6 GB8.1 GB16 GB

Ships in a native low-bit format: about 14 GB of weights.

On every Apple chip

The smallest memory size of each chip that runs gpt-oss-20b, the best version that fits it, and the writing speed you can expect.

ChipNeedsVersionTokens/s
M624 GBnative 4.25-bit Runs well40–72
M5 Ultra96 GBnative 4.25-bit Runs well284–505
M5 Max36 GBnative 4.25-bit Runs well109–194
M5 Pro24 GBnative 4.25-bit Runs well73–129
M524 GBnative 4.25-bit Runs well36–64
M4 Max36 GBnative 4.25-bit Runs well97–173
M4 Pro24 GBnative 4.25-bit Runs well65–115
M424 GBnative 4.25-bit Runs well28–51
M3 Ultra96 GBnative 4.25-bit Runs well194–345
M3 Max36 GBnative 4.25-bit Runs well71–126
M3 Pro36 GBnative 4.25-bit Runs well36–63
M324 GBnative 4.25-bit Runs well24–42
M2 Ultra64 GBnative 4.25-bit Runs well189–337
M2 Max32 GBnative 4.25-bit Runs well95–168
M2 Pro32 GBnative 4.25-bit Runs well47–84
M224 GBnative 4.25-bit Runs well24–42
M1 Ultra64 GBnative 4.25-bit Runs well189–337
M1 Max32 GBnative 4.25-bit Runs well95–168
M1 Pro32 GBnative 4.25-bit Runs well47–84
M116 GB3-bit Runs well19–34

How to run it

  1. The easy way: download MLX Harness, free and open source. Search for gpt-oss-20b, download the version that fits your Mac, and chat. It also serves the model to your other apps over an OpenAI-compatible API.Download MLX HarnessFree · Apple Silicon · macOS 14.5 or later
  2. In Terminal with Apple’s MLX:pip install mlx-lmmlx_lm.chat --model mlx-community/gpt-oss-20b-MXFP4-Q8Build: mlx-community/gpt-oss-20b-MXFP4-Q8 on Hugging Face. Other precisions sit next to it.

Step by step: download and run LLMs on a Mac · how to use MLX Harness · MLX vs Ollama vs llama.cpp

About gpt-oss-20b

Made byOpenAI
Parameters21B total · 3.6B active (mixture of experts)
Context128K tokens
LicenceApache-2.0
Released2025-08
InputText
Intelligence9 on the Artificial Analysis Intelligence Index
Weightsopenai/gpt-oss-20b

Questions

How much memory does gpt-oss-20b need?
About 13.8 GB of weights at native 4.25-bit, plus room for the context: 15.3 GB in all. On a Mac that means 24 GB of unified memory or more, since macOS lets the GPU use about 75% of it by default.
How fast is gpt-oss-20b on a Mac?
Writing speed depends on memory bandwidth. The fastest Mac for it here is an M5 Ultra with 96 GB at about 284–505 tokens a second (native 4.25-bit). The smallest Mac that runs it, with 24 GB, manages about 73–129 on an M5 Pro.
Why does gpt-oss-20b run faster than its size suggests?
It is a mixture-of-experts model: it holds 21B parameters in memory but reads only 3.6B for each token, so it writes at the speed of a much smaller model.

Similar models

Every model · Every Mac · Compare your Mac

For your model card or README

Runs on a Mac: gpt-oss-20b Shows the smallest Mac that runs gpt-oss-20b well and links here.

[![Runs on a Mac](https://mlx.app/badge/run/gpt-oss-20b.svg)](https://mlx.app/run/gpt-oss-20b)

How it’s worked out

Memory: the model’s parameters at 8, 6, 4, 3 or 2 bits per weight plus MLX’s group scales (half a bit per weight), or its native format, with room for the context on top. By default macOS lets the GPU use about 75% of unified memory. Speed: memory bandwidth divided by the bytes read per token is the ceiling for one conversation; in llama.cpp’s public Apple Silicon benchmarks real runs reach about 45% to 80% of it, which is the range shown. These are estimates, not measurements: measure your own Mac on MLX Bench. Model figures from each official model card, chip figures from Apple’s Tech Specs. Checked 2026-10-19. Same data as mlx.app/compare.

Can a Mac run gpt-oss-20b? RAM and speed