Run GPT-oss 120B on M5 Ultra

GPT-oss 120B runs at 130 tok/s on a 256 GB M5 Ultra, a published figure reported by vsesmart.cz (MLX, MXFP4, empty context, 128 generated). It needs about 62 GB of unified memory. It is OpenAI's 117B mixture-of-experts model (5.1B active), released under the Apache 2.0 licence.

Speed
sourced130
tok/s
First Token
—
seconds
RAM Needed
62
GB minimum
Engine
MLX
of this figure
Want to run GPT-oss 120B faster — or step up to bigger models? Find your Mac →

The figure

This is a published figure: a real run, reported by its source and linked below. The index records it as given and never adjusts it.

MetricValue
Tokens per secondsourced130 tok/s
Provenancepublished figure · vsesmart.cz
QuantizationMXFP4
EngineMLX
Prompt processing (prefill)sourced6538 tok/s at 4K context
Contextempty context, 128 generated
Figure dated2026-10-26
Minimum RAM62 GB
Parameters117B MoE (5.1B active)
Chip bandwidth1228 GB/s

Every figure for GPT-oss 120B on the M5 Ultra

Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (62 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.

SpeedQuantEngineMac RAMContextSourceNote
sourced142 tok/sMXFP4llama.cpp256 GBempty context, 128 generatedvsesmart.czVse Smart review: Mac Studio M5 Ultra (80-core GPU, 256 GB), macOS 27.0.1, measured 24 Oct; llama.cpp with every layer on the GPU, build not stated.
sourced130 tok/sMXFP4MLX256 GBempty context, 128 generatedvsesmart.czVse Smart review: Mac Studio M5 Ultra (80-core GPU, 256 GB), macOS 27.0.1, measured 24 Oct; MLX 0.32 with mlx-lm, point version not stated.
community120 tok/sMXFP4MLX256 GB512-token random prompt, 128 generated, empty context, mean of 2bohemiansilicon.comMac Studio, mlx-lm 0.32 on macOS 27.0.1, mlx-community MXFP4-Q8 build (MXFP4 experts, 8-bit elsewhere). 113 tok/s at 8K and 96 at 32K. Published by Bohemian Silicon, which rents out this Mac.
estimated130 tok/sMXFP4MLX96 GB—LLMCheck estimator—
Provenance key
sourced
Published figure — vendor or press review
estimated
community
Linked individual run — blog, forum or submission

Speed by context depth: GPT-oss 120B on the M5 Ultra

Measured figures only, each from its source’s own session; the index does not estimate long-context or prefill speed, so a missing cell is —. Each @ column is plain decode with that many tokens already in the prompt, from the same session as the row’s short-context figure: decode slows as the KV cache it reads grows. Prefill is prompt processing, the tokens per second a runtime reads a prompt at; with long agent contexts it sets how long you wait before the first token.

RunDecode (row)@8K@16K@32KPrefill
llama.cpp · MXFP4 · 256 GB Mac · vsesmart.czsourced142 tok/s
empty context, 128 generated
———sourced3387 tok/s
at 4K
MLX · MXFP4 · 256 GB Mac · vsesmart.czsourced130 tok/s
empty context, 128 generated
—sourced114 tok/s—sourced6538 tok/s
at 4K
MLX · MXFP4 · 256 GB Mac · bohemiansilicon.comcommunity120 tok/s
512-token random prompt, 128 generated, empty context, mean of 2
community113 tok/s—community96 tok/s—

Setup: run GPT-oss 120B on a Mac

Ollama — install it (brew install ollama or the app from ollama.com), then pull the model by its tag, checked on ollama.com on 2026-11-14:

ollama run gpt-oss:120b

MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:

pip install -U mlx-lm
mlx_lm.generate --model <repo-id> --prompt "Hello"

Downloads: Ollama page → · Hugging Face model card →

The 130 tok/s figure above came from MLX at MXFP4; other runtimes and quants run at different speeds.

Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.

GPT-oss 120B on other Apple Silicon chips

ChipSpeedQuantEngineBandwidth
M1 Ultraestimated113 tok/sMXFP4Ollama800 GB/s
M5 Maxcommunity92 tok/sMXFP4MLX614 GB/s

For the estimated figures here, the bandwidth formula’s typical error for large MoEs is ±34% (mostly below the measured figure), against 70 measured runs of 18 models (how it is computed).

About GPT-oss 120B

OpenAI's Apache 2.0 open-weight MoE: 117B total with 5.1B active, shipped in MXFP4 (~62 GB), so it needs a 96 GB+ Mac to run comfortably. tbreak's Mac Studio review measured 75.65 tok/s on an M5 Max in Ollama (quantization not stated). Vse Smart measured 110 tok/s (llama.cpp) and 94 (mlx-lm) on a 128 GB M5 Max, and 142 / 130 on a 256 GB M5 Ultra.

Apache 2.0 licence · 117B MoE · 128K context · LLMCheck capability 32/50 · see its leaderboard rank →

Memory by context length

Estimated, not measured: the index’s minimum for GPT-oss 120B (62 GB — the weights at the quant that fits, plus ~2 GB) plus the KV cache for that many tokens, computed from its config.json. 18 full layers + 18 sliding-window layers (window 128). A 16-bit KV cache is the default in llama.cpp, Ollama, LM Studio and mlx-lm; a q8 cache halves the KV part. Coding agents hold 64K tokens or more. Runtimes also add a buffer that grows with context, so leave a few GB spare. macOS lets the GPU use only part of a Mac’s memory by default (figures for an M5 Ultra Mac, which runs macOS 26 or later): “fits” means within the GPU memory a Mac of that tier can use with the limit raised, a tier tagged raise GPU limit fits only after sudo sysctl iogpu.wired_limit_mb raises it (the tooltip has the exact command), and the last column is the smallest Mac memory size whose default limit holds it (the GPU memory limit).

ContextKV cache (16-bit)RAM neededRAM, q8 KVSmallest tier that fitsWithin the default GPU limit
8K~0.3 GB~62.2 GB~62.1 GB128 GB Mac96 GB Mac
32K~1.2 GB~63.1 GB~62.5 GB128 GB Mac96 GB Mac
64K (coding-agent context)~2.4 GB~64.3 GB~63.1 GB128 GB Mac96 GB Mac
128K~4.8 GB~66.7 GB~64.3 GB128 GB Mac96 GB Mac

System requirements

Macs with the M5 Ultra

🛒 Get a Mac that runs GPT-oss 120B

GPT-oss 120B needs about 62 GB of unified memory. These Apple Silicon Macs have enough to run it. Apple builds the higher-memory configurations to order; Amazon does not stock them, so the used option links Amazon Renewed listings.

As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.

Compare More Models

See how GPT-oss 120B stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard