gpt-oss 20B on Mac mini M4 24 GB: VRAM, speed and fit
gpt-oss 20B at MXFP4 runs on the M4 24 GB with 128K of context at about 34 tokens a second.
Text generation · Chat · Ollama / LM Studio
Runs comfortably · on M4 24 GB · MXFP4 · Ollama / LM Studio · Chat
- GPU memory
- 23.0 GB
- of 24.0 GB
- Context
- 128K
- auto
- Speed
- 34 tok/s
- 16 when full
- First reply
- 12 s
- 2K prompt
Where the memory goes
- Model
- 11.3 GB
- Context
- 3.0 GB
- Overhead
- 739 MB
- OS
- 8.0 GB
- Free
- 1.0 GB
- Memory
- 23.0 GB of 24.0 GB
- Context
- 128K tokens · auto
- Speed
- 34 tok/s · 16 when full
- First reply
- 12 s for a 2K prompt
- Running cost
- $0.85/mo at home · $29/mo on a cloud RTX 2000 Ada
Validation: Not validated
| Check | Target | Result | Status |
|---|---|---|---|
| Fits in GPU memory | 16.0 GB usable | 15.0 GB needed | Pass |
| Headroom | 5% free | 1.0 GB free (6%) | Pass |
| Context for chat | 16K or more | 128K | Pass |
| Writing speed | 15 tok/s or more | 34 tok/s | Pass |
| First reply | under 3 s, 2K prompt | 12 s | Fails |
Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.
The setup
- Model
- gpt-oss 20B
- Parameters
- 20.9B, 3.6B active
- Precision
- MXFP4
- Context
- 128K, auto
- Chats at once
- 1
- Use
- Chat
- Runs in
- Ollama / LM Studio
- Hardware
- M4 24 GB
- GPU can use
- 16.0 GB of 24.0 GB
Running cost
- At home
- $0.85/mo
- 39 W at the wall
- Renting instead
- $29/mo
- RTX 2000 Ada at $0.24/h
4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 22, 2026.
How to run it
- Ollama
ollama run gpt-oss:20b- llama.cpp
llama-server -hf unsloth/gpt-oss-20b-GGUF- vLLM
vllm serve openai/gpt-oss-20b- MLX (Mac)
mlx_lm.chat --model mlx-community/gpt-oss-20b-MXFP4-Q4- Model card
- huggingface.co/openai/gpt-oss-20b
gpt-oss 20B on similar machines
- 2× RTX 5090Runs
- 4× RTX 3090Runs
- RTX PRO 6000 BlackwellRuns
- Mac mini M4 16 GBJust misses
- Mac mini M4 32 GBRuns
- Mac mini M4 Pro 24 GBRuns
- Mac mini M4 Pro 48 GBRuns
- Mac mini M4 Pro 64 GBRuns
All machines: gpt-oss 20B VRAM requirements. Everything that runs here: what can the Mac mini M4 24 GB run?
Other models that run on Mac mini M4 24 GB
Questions
Can gpt-oss 20B run on Mac mini M4 24 GB?
gpt-oss 20B at MXFP4 runs on the M4 24 GB with 128K of context at about 34 tokens a second.
Report VR-15FHC4H, calculated Nov 22, 2026 from published specs, not benchmarked.