llamaperf

M5 Max 128GB

APPLE · 128GB unified memory · 52 reports

On the M5 Max 128GB, Qwen3.6 27B at 8-bit, the model most run on it, generates a median of 17.2 tokens per second from one plain run (community reports, as of 11 Nov 2026).

As of 11 Nov 2026, the models most run on the M5 Max 128GB, with generation and prompt-processing medians from plain runs (one device, one request, no speculative decoding):

Engines people use on it: llama.cpp 10 (reports) · MLX 6 (reports) · oMLX 5 (reports) · ds4 3 (reports) · Inco Splash 2 (reports) · mlx-serve 2 (reports) · mlx-vlm 2 (reports) · LM Studio 1 (reports) · Ollama 1 (reports) · Strata 1 (reports) · mlx-dspark 1 (reports)

Run models on your M5 Max 128GB? Add your numbers.

Your coding agent can run a speed test on your machine and send it here with a free account. Or paste a result you've already posted.

Reported performance on the M5 Max 128GB

These reports mix GPU counts and memory setups, so a model listed here may have needed extra cards or CPU offloading. The calculator estimates which models fit in 128 GB of unified memory. Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.

Showing 20 of 52 reports. See all of them →

Apple hardware
generation:
2.0 tokens/s
prompt processing (prefill):
8.4 tokens/s

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing.

User reports Kimi 3.1 running locally on a MacBook Pro M5 Max 128GB at 2 tok/s decode and 8.4 tok/s prefill. The run uses a source build of the ds4 engine with weights downloaded separately. No quant, context length or KV cache setting is stated.

Nov 10, 2026

Qwen3.6 35B (3B active)

M5 Max 128GB · IronMLX · 8,192 ctx

Apple hardware
generation:
267.4 tokens/s
quant:
4bit (MLX)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

coding

User reports Qwen3.6-35B-A3B at 267.4 tok/s on an M5 Max 128GB for short-prompt MoE workloads. Setup is IronMLX v0.2.0-rc.4 with the 4-bit MLX model, 8,192 context for short prompts, temperature 0, thinking off, one request at a time, speculative decoding verified active. Short prompts were 40-83 input tokens; long prompts were 30,732 tokens at 32,768 context. Outputs were repeatable. Benchmarks compare against Splash 1.5.0 and oMLX 0.7.3rc1 on the same machine.

Nov 2, 2026

Qwen3.6 35B (3B active)

M5 Max 128GB · Kapitsa · 4,096 ctx

Tone: positiveApple hardware
generation:
346.0 tokens/s
prompt processing (prefill):
6036.0 tokens/s
quant:
Q4

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing.

coding

User reports Qwen3.6 35B-A3B at 346 tok/s decode and 6,036 tok/s prefill on an M5 Max 128GB MacBook Pro, using the Kapitsa engine. Decode is a 512-token coding answer, prefill a 4K prompt, median of 3 runs, with KFlash tree-based speculative decoding. The post also lists Clover 35B-A3B at 304/5,981, Flint 40B at 265/5,770, Nemotron Bolt 74B at 154/1,075, Qwen3.8 27B at 143/904 and Qwen Flash-Next 180B at 108/1,701 tok/s. At 32K context the 35B still writes 175 tok/s and Flash-Next drops from 90 to 78 tok/s. Flash-Next with SSD expert offloading runs at 61 tok/s on a 48 GB Mac.

Nov 2, 2026
Tone: positiveApple hardware
generation:
116.6 tokens/s
quant:
Q5_K_S

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

codingtool-useagenticlong-context

User reports Qwen3.8-Flash-Next Uncensored at a median 116.6 t/s decode over 363 real coding-agent requests on an M5 Max 128GB. Setup is Inco Splash 1.4.1 on Metal behind an oMLX proxy, Q5_K_S GGUF with int8 KV cache, DFlash2 speculative decoding on, single sequential request, all weights resident and the 51B n-gram table served from SSD cache. Median decode by prompt length was 124.3 t/s under 32K, 95.8 t/s at 32-64K, 104.6 t/s at 64-128K and 97.9 t/s at 128K+, with p25 100.9 and max 205.5 t/s. Median stream-visible TTFT was 0.87 s (p90 3.56 s) with a warm prefix cache; cold long prompts reached up to 68 s. Prefill rate was not isolated because prefix reuse dominated.

Oct 31, 2026

Nanbeige4.3 33B

M5 Max 128GB · mlx-lm · 512 ctx

Tone: mixedApple hardware
generation:
28.8 tokens/s
prompt processing (prefill):
757.0 tokens/s
quant:
4-bit (MLX)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing.

coding

User benchmarks Nanbeige4.3-33B (dense, 4-bit) on a MacBook Pro M5 Max with 128 GB, comparing mlx-lm, llama.cpp and Kapitsa at prompt lengths from 512 to 32K tokens. At 512 tokens mlx-lm prefills at 757 t/s and decodes at 28.8 t/s, llama.cpp at 691 t/s and 27.3 t/s, and Kapitsa at 693 t/s and 34.9 t/s. mlx-lm and Kapitsa read the same 4-bit MLX AWQ pack (group 64); llama.cpp reads Q4_K_M. Kapitsa's decode figures use KFlash, its tree-based speculative decoding with a small drafter, while mlx-lm and llama.cpp run plain decoding. On a 512-token Python coding task Kapitsa reaches 36.6 tok/s greedy and 32.3 tok/s sampled, against 27.1 and 26.7 for mlx-lm and 24.9 and 24.8 for llama.cpp. At 29.5K context mlx-lm has the fastest cold TTFT at 59.4 s, Kapitsa the fastest follow-up TTFT at 300 ms and the lowest peak memory at 28.1 GB. The author works on Kapitsa and notes the KV cache is large, 26 GB for 128K tokens.

Oct 27, 2026
Tone: positiveApple hardware
generation:
56.0 tokens/s
quant:
8-bit (MLX)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

tool-useagentic

User reports Granite Switch 4.1 8B at 56 t/s chat on an M5 Max 128GB, with the 30B at 17 t/s. Setup is mlx-lm with a custom granite_switch package, 8-bit MLX weights, greedy decoding, one request at a time, medians of 3 runs. The 4-bit builds reach 98 t/s (8B) and 32 t/s (30B). Decision steps take 0.62 s on the 8B and 2.3 s on the 30B at a ~1.2K-token prompt. Accuracy on 500 labelled claims is 0.814 (8B 8-bit), 0.844 (30B 8-bit) and 0.840 (30B 4-bit), against 0.812 and 0.846 for the bf16 conversions. The user picks the 8B 8-bit for routing and classification.

Oct 26, 2026

Qwen3.6 35B (3B active)

M5 Max 128GB · LM Studio · 262,144 ctx

Apple hardware
generation:
375-400 tokens/s
quant:
Splash

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports running Qwen3.6-35B-A3B (Splash build) on an M5 Max 128GB MacBook Pro in LM Studio at roughly 375-400 tok/s with a 262k context. Setup is LM Studio with the Splash build at 262k context on the 128GB machine. The speed is given only as a range, so no single figure is recorded. The post's main subject is a cloud agent running a training-and-grading program against the local model, not a benchmark of it.

Oct 25, 2026
Tone: mixedApple hardware
generation:
375-400 tokens/s

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

math

User reports a Qwen3.6-35B-A3B Splash build in LM Studio on an M5 Max 128GB MacBook Pro at roughly 375-400 tok/s, used to generate and cold-solve 800 math problems. A Qwopus 122B MLX build at about 38 tok/s acts as judge for disputed items; the cloud agent Muse orchestrates over Tailscale. Of 800 problems, 731 verified clean, 62 had corrected answer keys, 7 were excluded, and 100 were held out; the solve-and-adjudication passes logged 4.1M+ completion tokens. The user notes the 122B judge went 1-for-2 on the hardest disputes.

Oct 25, 2026
Tone: positiveApple hardware
generation:
101.0 tokens/s
quant:
8-bit (MLX)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports NVIDIA Nemotron-Labs Dory 1.0 4B at 101 tok/s on an M5 Max 128GB with one loop, dropping to 69 tok/s at 2 loops and 39 tok/s at 4 loops. Setup is an MLX port with the 8-bit 4.2 GB build, medians of repeated runs; peak memory is 7.7 GB at 32K context with one loop. After a 32K prompt the same runs give 82, 54 and 31 tok/s, with prefill at 3,200, 1,980 and 1,070 tok/s. Batch generation reaches about 450 tok/s total across 16 requests at 2 loops, and a 16 GB M1 Pro measured about 28 tok/s at 1K and 19 tok/s at 32K in 4-bit at 2 loops. 8-bit WikiText-2 perplexity falls from 12.18 to 11.77 to 11.70 as loops increase.

Oct 24, 2026
Tone: positiveApple hardware
generation:
74.0 tokens/s

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

long-context

User compares Strata against oMLX running Qwen3.8-Flash-Next on a 128GB M5 Max, with Strata decoding at 74 tok/s versus 57.5 tok/s for oMLX at 245K context. Strata is a one-month-old engine built for this one model, running on Metal. The comparison holds one request at a time only, which the user notes as the current limitation.

Oct 24, 2026
Tone: positiveApple hardware
generation:
140.0 tokens/s
quant:
4bit

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports Qwen3.8-27B at 140 tok/s on an M5 Max MacBook Pro with 128GB, the fastest run of their open source Apple Silicon engine kapitsa. Setup is kapitsa with a 4bit model and kflash speculative decoding, where the 27B verifies a tree of drafter guesses in one pass rather than a single chain. The user is asking Mac Studio owners to run the same model for comparison.

Oct 24, 2026
Tone: positiveApple hardware
generation:
90-110 tokens/s
quant:
EXL3 5b-6/8b (EXL3)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports Qwen3.8 Flash-Next at roughly 100 tok/s (90-110 through the server) on an M5 Max 128GB with the new ijah engine. Setup uses EXL3 trellis weights at 5b-6/8b, about 6% behind oMLX but with 5-bit experts. User says the quant is about 4-5x closer to bf16 than Jundot's oQ4e (KLD 0.033/0.009/0.015 vs 0.128/0.036/0.078) and about 2x closer than Sushi-4bpw. With Inco's DFlash2 drafter the user reports about 120 tok/s but has not verified it yet.

Oct 19, 2026

Qwen3.8 27B

M5 Max 128GB · oMLX · 8,192 ctx

Apple hardware
generation:
50.3 tokens/s
prompt processing (prefill):
1084.0 tokens/s
quant:
oQ5e

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing.

User reports 50.3 t/s generation and 1084 t/s prompt processing. Source evidence (verbatim): Source: https://omlx.ai/benchmarks/performance/ogokptif # Qwen3.8-27B-oQ5e-mtp on M5 Max (40c) - oMLX Benchmark Hardware: Apple M5 Max (40-core GPU), 128 GB unified memory. Engine: oMLX v0.7.1.dev1. Model: Qwen3.8-27B-oQ5e-mtp, 5-bit. Multi-token prediction (MTP) is enabled with adaptive max depth 3, so this is a speculative decoding run; DFlash and SpecPrefill are disabled. Single request. At 8k context: 1,084 tokens/s prompt processing and 50.3 tokens/s token generation. At 4k context: 1,137 prompt and 58.4 generation; at 1k: 895.8 prompt and 54.6 generation; at 16k: 882.8 prompt and 75.5 generation.

Oct 18, 2026
Tone: mixedApple hardware
generation:
154.0 tokens/s
quant:
oQ5e-mtp
kv:
bf16

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User benchmarks Qwen3.6-35B-A3B at 154 t/s decode on a 1k prompt with oMLX's native engine on an M5 Max 128GB, falling to 55 t/s at 262k context. Setup is oMLX 0.7.1rc1 with the oQ5e-mtp quant, Lightning MTP on, TurboQuant KV off, and a 128-token greedy generation at each context step. Splash 1.3.2 with int8 KV decoded 147 t/s at 1k and 78 t/s at 262k, and used 30.2 GiB against native's 33.5 GiB prefill peak and 37.4 GiB decode. TurboQuant 5- and 6-bit decoded at 27-29 t/s at 262k, about half of off. The user also ran Qwen3.8-27B, where Splash int8 was faster at almost every context (69 vs 48 t/s at 1k) and native TurboQuant cost 7-25% decode speed with MTP on. No setting showed a detectable accuracy loss of more than about 2 points.

Oct 18, 2026
Tone: positiveApple hardware
generation:
3.6 tokens/s
quant:
INT4 (GGUF)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports running DeepSeek v3.1 671B Terminus at 3.6 tokens/sec on a MacBook Pro with M5 Max 128GB and 8TB storage. Setup uses a heavily modified slipstream llama.cpp base that caches MoE experts to disk and calls them in as they change, with a -0.1 bias in the MTP router for in-RAM experts. A custom GGUF-derived format uses BF16 for fixed layers and INT4 for expert layers. The user says it is working extremely well and generating a somewhat usable 3.6 tokens/sec.

Oct 16, 2026
Apple hardware
generation:
198.6 tokens/s
prompt processing (prefill):
3657.8 tokens/s
quant:
oQ5e

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing.

User benchmarks Qwen3.6-35B-A3B at 198.6 tok/s generation and 3657.8 tok/s prompt processing on an M5 Max 128GB. Setup is oMLX 0.7.1dev2 with oQ5e quant, Lightning MTP speculative decoding, and TurboQuant off, at 1024-token prompt and 128-token generation. Splash engine reaches 182.0 tok/s generation and 6040.8 tok/s prompt processing on the same test; continuous batching at 4x reaches 275.2 tok/s aggregate generation. A second model, Qwen3.7-27B, is also benchmarked.

Oct 16, 2026
Apple hardware
generation:
79.1 tokens/s
quant:
MXFP4 (MXFP4)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports 79.1 t/s generation. Source evidence (verbatim): Source: https://bestllmfor.com/guides/macbook-pro-m5-max-128gb-ai-benchmark/ # MacBook Pro M5 Max 128GB AI benchmark Joel Ramat ran these tests on his own 16-inch MacBook Pro on September 16, 2026. M5 Max, 18 CPU cores, 40 GPU cores, 128 GB unified memory advertised at 614 GB/s, macOS 27.0, Ollama 0.34.1, plugged in, default GPU memory limit. All figures are raw outputs from Ollama. Each model was run twice with the same prompt (a 300 word explanation of unified memory versus VRAM) and only the second pass kept, one model loaded at a time. Generation speed: gpt-oss 120B MXFP4 (65 GB) 79.1 tok/s; gpt-oss 20B MXFP4 (13 GB) 113.4 tok/s; Qwen 3.6 35B-A3B MLX (23 GB) 167.2 tok/s; Qwen 3.8 27B MLX (18 GB) 68.0 tok/s; Qwen 3.8 27B GGUF Q4 (17 GB) 36.6 tok/s; Gemma 4 12B GGUF Q4 (7.6 GB) 58.1 tok/s. Prefill on a 16,689 token document with gpt-oss 120B: 1,388 tok/s, time to first token 12.0 s, generation 67.6 tok/s on that run. Only short bursts were tested, one machine, one operator.

Oct 15, 2026
Apple hardware
generation:
8.4 tokens/s
quant:
oQ4e
mtp (multi-token prediction):
on

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports Qwen3.8 oQ4e-mtp restored-prefix B3 / PR1 61bd8a06 at 8.4 t/s on an M5 Max 128GB. Setup is oMLX with oQ4e 4-bit weights and TurboQuant 4-bit KV cache, three greedy requests batched at roughly 20k / 45k / 135k prompt tokens with SSD prefix cache enabled. The 8.4 t/s is the per-row rate at the 20k row, measured at 8.35 t/s; the other rows ran 8.83 and 7.84 t/s per row, and the batch phase took 66 seconds.

Oct 13, 2026
Tone: positiveApple hardware
generation:
30.0 tokens/s
quant:
Q2 (GGUF)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports DeepSeek V4.1 Flash at ~30 tok/s decode at 2K context on an M5 Max 128GB, streaming a 341 GB Q2 GGUF from SSD. Setup is a fork of antirez's ds4 engine (sf-ds4-1flash) with Metal backend, one machine, weights streamed from disk. Decode is ~26 tok/s at 32K context and settles around 24 tok/s after an hour of heavy use. First token after an 8K prompt dropped from 1.23 s to 0.15 s. Prefill improved 45-99% and decode 62-78% versus upstream ds4. Output is bit-identical to ds4.

Oct 12, 2026
Apple hardware
generation:
144.4 tokens/s
quant:
MLX 4-bit affine, group 64 (MLX)

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is shown only when the source reports it; generation speed cannot tell us time to first token. Check the full setup before comparing.

User reports Qwen3 30B-A3B at 144.4 t/s on an M5 Max with 128GB unified memory. Setup is MLX with 4-bit affine quantization, group size 64, standard 8 routed experts per token, batch 1 with a 944-token prompt and 512 output tokens. The figure is the arithmetic mean of six fresh-process runs, ranging 144.10 to 145.01 t/s; an altered 6-expert routing gave 155.61 t/s but is not a standard-model result.

Oct 12, 2026

Get a weekly email of new M5 Max 128GB reports and newly released models that fit it.

Email me new reports

Reported configurations

Individual observations from this page, not expected speeds or a ranking. Select a model to open its report, with the source and offloading conditions. Reported context may be a limit rather than actual input length.

Model / hardwareQuant / engineReported contextGeneration
Kimi K3.1
M5 Max 128GB
Not reported
ds4
Not reported2.0 tokens/s
Qwen3.6 35B (3B active)
M5 Max 128GB
4bit
IronMLX
8,192267.4 tokens/s
Qwen3.6 35B (3B active)
M5 Max 128GB
Q4
Kapitsa
4,096346.0 tokens/s
Qwen3.8 125B (6B active) Flash-Next Uncensored
M5 Max 128GB
Q5_K_S
Inco Splash
Not reported116.6 tokens/s
Nanbeige4.3 33B
M5 Max 128GB
4-bit
mlx-lm
51228.8 tokens/s
Granite Switch 4.1 8B
M5 Max 128GB
8-bit
mlx-lm
Not reported56.0 tokens/s

Frequently asked

How fast is the M5 Max 128GB for local LLMs?

On the M5 Max 128GB, Qwen3.6 27B at 8-bit, the model most run on it, generates a median of 17.2 tokens per second from one plain run (community reports, as of 11 Nov 2026). Also reported: DeepSeek V4 Flash 284B · 13B active at 4-bit (36.1 t/s, one plain run); Gemma 4 5.1B at 4-bit (205.0 t/s, one plain run).

What is the biggest model reported running on the M5 Max 128GB?

The largest model with a plain generation run on the M5 Max 128GB is DeepSeek V4 Flash 284B · 13B active at 4-bit (36.1 t/s, one plain run), as of 11 Nov 2026. Plain means one device, one request, no speculative decoding, so a run split across several cards does not count.