Skip to content

Local LLM speed on Mac Studio M5 Ultra and M5 Max: a roundup of published benchmarks

Generation speed, memory use and thermals for local models on Mac Studio M5 Ultra and M5 Max, collected from published tests with the setup and date of each.

By MacRental teamPublished 4 min read

  • local LLM
  • benchmarks
  • Mac Studio

Every number below comes from a third-party test that is linked at the end. We did not run these benchmarks. The tests use different runtimes, quantizations and context lengths, so read each table as its own experiment and do not subtract numbers across tables.

What the tests measure

Generation speed is the number of tokens per second the model writes after it has read your prompt. Prompt processing is how fast it reads. For chat and coding agents, generation speed decides how fast the answer appears, and prompt processing decides how long you wait before the first token on a large context.

Generation on Apple silicon is largely limited by how much weight data must be read from unified memory for each token. That is why a mixture-of-experts model that activates only a few billion parameters per token runs much faster than a dense model of similar file size, as the tables show.

Mac Studio M5 Ultra, 256 GB

Bohemian Silicon published an MLX test of the M5 Ultra on 15 October 2026. Bohemian Silicon also rents Macs in Prague. The setup was macOS 27.0.1, mlx-lm 0.32, 4-bit weights (MXFP4-Q8 for both gpt-oss models, QAT 4-bit for Gemma 4), a 512-token prompt and 128 generated tokens. The 8k and 32k columns show how much speed drops when the context is already that long.

Generation speed in tokens per second, M5 Ultra 256 GB, MLX
ModelWeightsEmpty context8k context32k context
Qwen3.5 9B6.0 GB167161141
gpt-oss-20b12.1 GB184172145
Qwen3.5 27B16.1 GB555348
Gemma 4 31B28.8 GB312721
Qwen3.5 35B-A3B20.4 GB162154141
gpt-oss-120b63.4 GB12011396

The dense 27B and 31B models are the slowest rows, slower than gpt-oss-120b, a 63 GB model.

Very large models

Bohemian Silicon also ran Qwen3.5 397B-A17B at 4-bit on the 256 GB machine on 12 November 2026. Generation was 61.6 tokens per second at a 512-token prompt, 55.1 at 32k and 44.1 at 131k. The 32k and 131k figures are single runs of 64 generated tokens. Peak memory was 224.3 GB at the short prompt and 230.6 GB at 131k, and the chip drew at most about 104 W. That model fits only because the machine has 256 GB, with little left over for anything else.

Vše Smart tested the same chip on 24 October 2026 with a 128-token generation and a 4,096-token prompt. Qwen3 235B-A22B ran at 46 tokens per second on MLX. Llama 3.3 70B ran at 23 on llama.cpp and 25 on MLX. gpt-oss-120b ran at 142 on llama.cpp and 130 on MLX, so for that model llama.cpp was faster at generation, while MLX was ahead at prompt processing (6,538 against 3,387 tokens per second).

Mac Studio M5 Max, 128 GB

tbreak reviewed a Mac Studio M5 Max with 128 GB on 21 September 2026 under macOS 27.0, MLX 0.32.2 and mlx-lm 0.31.3, and also ran Ollama.

Generation speed in tokens per second, Mac Studio M5 Max 128 GB
ModelMLXOllama
Qwen3 4B171.2-
Qwen3 30B-A3B130.6113.7
gpt-oss-20b-107.5
Qwen3 32B (dense)-24.9
gpt-oss-120b-75.7

A dash means the review did not report that combination. tbreak also ran Llama 3.3 70B at 4-bit on MLX: 13.1 tokens per second, with peak memory of 41.2 GB.

Vše Smart measured a MacBook Pro with the same M5 Max chip and 128 GB on 2 November 2026 (MLX 0.32.4, mlx-lm 0.32.2). It is a laptop, so cooling differs from the Studio, but the figures show how much long context costs: gpt-oss-20b 142 tokens per second empty and 105 at 32k, Qwen3 30B-A3B 152 and 72, Llama 3.3 70B 13.6 and 10, gpt-oss-120b 94 and 70.

Sustained load and heat

  • Bohemian Silicon, 22 October 2026: one hour of gpt-oss-20b with 16 parallel streams gave 273 tokens per second in total. The chip averaged 73 W, which they put at 0.074 kWh per million tokens (chip only, not the whole machine).
  • Vše Smart, 24 October 2026: a 10-minute sustained run on the M5 Ultra showed no temperature-related slowdown. The GPU peaked at 87 °C during long-prompt reading.

What is missing

We found no published local-LLM numbers for the Mac Studio M5 Max with 36 GB, so do not read the 128 GB results as a prediction for it. Memory is the tighter limit: at 4-bit, models up to about 30B fit with an 8k context. We also did not find published local-LLM numbers for the Mac mini M5 Pro.

Pick the model first, then the memory. On the M5 Ultra, mixture-of-experts models up to gpt-oss-120b generate at roughly 96 to 184 tokens per second, while the dense 27B and 31B models drop to about 21 to 55. Our memory calculator shows which configuration fits your model and context length.

Sources

Need a Mac for this?

Mac Studio or Mac mini, for 1 to 365 days or monthly.

See machines and prices