Mac and MacBook local AI: measured tok/s on Apple Silicon
Last updated:
120 Mac builds with 365 measured results. Led by Qwen4 35B-A3B (released 2026-12-04, Apache-2.0), which suits MacBooks: 29 Mac builds already measure it. Every number links to its source.
MacBook view: base, Pro and Max chips
Laptop-class chips, newest first. ‘Confirmed MacBook builds’ counts builds whose source names a MacBook.
| Chip | Builds | Memory seen (GB) | Confirmed MacBook builds | Qwen4 35B-A3B, best measured | Best without speculative decoding |
|---|---|---|---|---|---|
| M6 | 4 | 32 | 0 | not measured yet | – |
| M5 Max | 13 | 36, 48, 64, 128 | 3 | 166.8 tok/s ⚡ (64 GB, oQ4e-mtp) omlx.ai ↗ | 123.9 tok/s (64 GB) |
| M5 Pro | 8 | 24, 48, 64 | 1 | 85.5 tok/s ⚡ (48 GB, oQ4e-mtp) omlx.ai ↗ | 33.9 tok/s (64 GB) |
| M5 | 4 | 32 | 2 | 20.9 tok/s ⚡ (32 GB, oQ4e-mtp) omlx.ai ↗ | – |
| M4 Max | 6 | 36, 64, 128 | 0 | 105.8 tok/s (128 GB, oQ6e-mtp) omlx.ai ↗ | 105.8 tok/s (128 GB) |
| M4 Pro | 9 | 24, 48, 64 | 2 | 73.9 tok/s ⚡ (64 GB, oQ4e-mtp) omlx.ai ↗ | 66.3 tok/s (48 GB) |
| M4 | 5 | 16, 32 | 0 | 44.4 tok/s (32 GB, MLX 3-bit) omlx.ai ↗ | 44.4 tok/s (32 GB) |
| M3 Max | 5 | 36, 64, 128 | 1 | 93.9 tok/s (128 GB, oQ4e-mtp) omlx.ai ↗ | 93.9 tok/s (128 GB) |
| M3 Pro | 2 | 18, 36 | 0 | 49.8 tok/s (36 GB, MLX 3-bit) omlx.ai ↗ | 49.8 tok/s (36 GB) |
| M3 | 1 | 24 | 0 | 4.4 tok/s ⚡ (24 GB, oQ3e-mtp) omlx.ai ↗ | – |
| M2 Max | 4 | 32, 64 | 1 | not measured yet | – |
| M2 Pro | 1 | 32 | 0 | not measured yet | – |
| M1 Max | 6 | 32, 64 | 2 | 78.3 tok/s ⚡ (64 GB, oQ4e-mtp) omlx.ai ↗ | – |
| M1 Pro | 1 | 32 | 1 | not measured yet | – |
Qwen4 35B-A3B on laptop-class chips
| Chip | GPU cores | Memory (GB) | Chassis | Quant | Decode tok/s (best row) | Prefill tok/s | Rows | Source |
|---|---|---|---|---|---|---|---|---|
| M5 Max | 40 | 128 | not stated | oQ4e-mtp | 152.9 ⚡ 1K | 3,136 @4K · est. TTFT @8k ≈2.6 s* | 3 | omlx.ai ↗ · details |
| M5 Max | – | 128 | not stated | Unsloth UD-Q4_K_XL GGUF | 118.8 ⚡ code | – | 5 | unsloth.ai ↗ · details |
| M5 Max | – | 128 | MacBook Pro | unsloth/Qwen4-35B-A3B-MLX-4bit | 75 512-token prompt, 128 generated | 2,711 @512 · est. TTFT @8k ≈3.0 s* | 2 | unsloth.ai ↗ · details |
| M5 Max | 40 | 64 | not stated | oQ4e-mtp | 166.8 ⚡ 1K | 6,001 @4K · est. TTFT @8k ≈1.4 s* | 3 | omlx.ai ↗ · details |
| M5 Max | 32 | 36 | not stated | oQ4e-mtp | 127.0 ⚡ 1K | 3,138 @4K · est. TTFT @8k ≈2.6 s* | 2 | omlx.ai ↗ · details |
| M5 Pro | 20 | 64 | not stated | oQ4e-mtp | 80.2 ⚡ 1K | 1,724 @4K · est. TTFT @8k ≈4.8 s* | 3 | omlx.ai ↗ · details |
| M5 Pro | 20 | 48 | not stated | oQ4e-mtp | 85.5 ⚡ 1K | 1,382 @4K · est. TTFT @8k ≈5.9 s* | 1 | omlx.ai ↗ · details |
| M5 | 10 | 32 | not stated | oQ4e-mtp | 20.9 ⚡ 1K | 680 @4K · est. TTFT @8k ≈12.1 s* | 1 | omlx.ai ↗ · details |
| M4 Max | 40 | 128 | not stated | oQ6e-mtp | 105.8 1K | 1,542 @4K · est. TTFT @8k ≈5.3 s* | 3 | omlx.ai ↗ · details |
| M4 Max | 40 | 64 | not stated | oQ4e-mtp | 104.7 1K | 1,343 @4K · est. TTFT @8k ≈6.1 s* | 2 | omlx.ai ↗ · details |
| M4 Pro | 20 | 64 | not stated | oQ4e-mtp | 73.9 ⚡ 1K | 734 @4K · est. TTFT @8k ≈11.2 s* | 4 | omlx.ai ↗ · details |
| M4 Pro | 20 | 48 | not stated | oQ3e-mtp | 70.2 ⚡ 1K | 694 @4K · est. TTFT @8k ≈11.8 s* | 3 | omlx.ai ↗ · details |
| M4 Pro | 16 | 48 | not stated | oQ4e-mtp | 68.1 ⚡ 1K | 598 @4K · est. TTFT @8k ≈13.7 s* | 1 | omlx.ai ↗ · details |
| M4 | 10 | 32 | not stated | MLX 3-bit | 44.4 1K | 360 @4K · est. TTFT @8k ≈22.7 s* | 1 | omlx.ai ↗ · details |
| M3 Max | 40 | 128 | not stated | oQ4e-mtp | 93.9 1K | 1,556 @4K · est. TTFT @8k ≈5.3 s* | 2 | omlx.ai ↗ · details |
| M3 Max | 40 | 64 | not stated | oQ4e-mtp | 51.3 ⚡ 1K | 716 @4K · est. TTFT @8k ≈11.4 s* | 1 | omlx.ai ↗ · details |
| M3 Max | 30 | 36 | not stated | oQ4e-mtp | 77.5 ⚡ 1K | 378 @1K · est. TTFT @8k ≈21.7 s* | 1 | omlx.ai ↗ · details |
| M3 Pro | 14 | 36 | not stated | MLX 3-bit | 49.8 1K | 419 @4K · est. TTFT @8k ≈19.6 s* | 1 | omlx.ai ↗ · details |
| M3 | 10 | 24 | not stated | oQ3e-mtp | 4.4 ⚡ 4K only | 177 @4K · est. TTFT @8k ≈46.3 s* | 1 | omlx.ai ↗ · details |
| M1 Max | 32 | 64 | not stated | oQ4e-mtp | 78.3 ⚡ 1K | 853 @4K · est. TTFT @8k ≈9.6 s* | 2 | omlx.ai ↗ · details |
| M1 Max | – | 32 | MacBook Pro | oQ4e-mtp | 46.5 ⚡ session average, 30 requests | 213 (length n/s) | 2 | getrigbase.com ↗ · details |
Decode = tokens/sec generated, at the smallest context in the source (usually 1K); the context column shows the other lengths. ⚡ = MTP or another speculative method on or not stated: not comparable 1:1 with plain decode. Most oMLX numbers are single runs from public community uploads: decode can swing a lot between context lengths inside one session. The confirmed MacBook Pro M1 Max 32 GB row is a real-use dashboard average, not a public upload. Sources and quants are on each build page.
Which Mac for which model: memory fit for Qwen4 35B-A3B (estimate)
| Unified memory | Default GPU limit | oMLX quant, all in memory (largest that fits) | oMLX quant with SSD n-gram offload | Unsloth GGUF (llama.cpp, n-gram table on SSD) | Measured on RigBase (Qwen4 35B-A3B) |
|---|---|---|---|---|---|
| 16 GB | 10.7 GB (2/3) | none fits | none fits | none fits | none yet |
| 24 GB | 16.0 GB (2/3) | none fits | none fits | UD-IQ2_XXS (11.9 GB + 11.5 GB table on SSD) | 1 build, best 4.4 tok/s ⚡ (M3) |
| 32 GB | 21.3 GB (2/3) | none fits | oQ3e-mtp (18.1 GB) | UD-IQ3_XXS (17.2 GB + 11.5 GB table on SSD) | 3 builds, best 46.5 tok/s ⚡ (M1 Max) |
| 36 GB | 27.0 GB (3/4) | none fits | oQ4e-mtp (22.4 GB) | UD-IQ4_XS (20.5 GB + 11.5 GB table on SSD) | 3 builds, best 127.0 tok/s ⚡ (M5 Max) |
| 48 GB | 36.0 GB (3/4) | oQ3e-mtp (30.9 GB) | oQ6e-mtp (30.8 GB) | UD-Q6_K_XL (30.4 GB + 21.8 GB table on SSD) | 3 builds, best 85.5 tok/s ⚡ (M5 Pro) |
| 64 GB | 48.0 GB (3/4) | oQ4e-mtp (35.2 GB) | oQ6e-mtp (30.8 GB) | UD-Q8_K_XL (40.5 GB + 21.8 GB table on SSD) | 7 builds, best 166.8 tok/s ⚡ (M5 Max) |
| 96 GB | 72.0 GB (3/4) | oQ6e-mtp (48.7 GB) | oQ6e-mtp (30.8 GB) | UD-Q8_K_XL (40.5 GB + 21.8 GB table on SSD) | 1 build, best 151.7 tok/s ⚡ (M5 Ultra) |
| 128 GB | 96.0 GB (3/4) | oQ6e-mtp (48.7 GB) | oQ6e-mtp (30.8 GB) | UD-Q8_K_XL (40.5 GB + 21.8 GB table on SSD) | 5 builds, best 152.9 tok/s ⚡ (M5 Max) |
| 192 GB | 144.0 GB (3/4) | oQ6e-mtp (48.7 GB) | oQ6e-mtp (30.8 GB) | UD-Q8_K_XL (40.5 GB + 21.8 GB table on SSD) | 1 build, best 112.3 tok/s ⚡ (M2 Ultra) |
| 256 GB | 192.0 GB (3/4) | oQ6e-mtp (48.7 GB) | oQ6e-mtp (30.8 GB) | UD-Q8_K_XL (40.5 GB + 21.8 GB table on SSD) | 3 builds, best 277.6 tok/s ⚡ (M5 Ultra) |
| 512 GB | 384.0 GB (3/4) | oQ6e-mtp (48.7 GB) | oQ6e-mtp (30.8 GB) | UD-Q8_K_XL (40.5 GB + 21.8 GB table on SSD) | 2 builds, best 195.4 tok/s ⚡ (M5 Ultra) |
This is an estimate (arithmetic), not a measurement. Rule: a quant is listed if its resident weights + 3 GB for KV cache and runtime (about 16K context) fit in the default GPU memory limit. That limit is about 2/3 of unified memory on Macs up to 32 GB and about 3/4 from 36 GB up (modelvram.com (limits logged by llama.cpp) and Peddals blog). File sizes are the real files on Hugging Face (API listing, 2026-12-04). oMLX's SSD N-gram Offload keeps the 12.8 GB (17.9 GB for oQ6e) n-gram table on SSD, which lowers resident weights to the figures in the third column; RigBase has no measurement of what that costs in speed. A 128K context adds roughly 8 GB (oMLX oQ4e session on an M5 Max 128 GB: 35.0 GB peak at 16K, 43.0 GB at 128K). The limit can be raised with an advanced sudo sysctl iogpu.wired_limit_mb setting that resets on reboot. Unsloth's own guide suggests UD-IQ4_XS for a 24 GB Mac, which is above the default limit in this table, so on 24 GB it relies on raising the limit or on paging; RigBase has no measurement for that case. A confirmed MacBook Pro M1 Max 32 GB ran oQ4e-mtp in real use (oMLX 0.8.5 dashboard, 2026-12-04): about 21.30 GB observed vs 34.44 GB estimated, with the memory bar at 23.1 GB used / 24.3 GB soft / 26.2 GB hard. That observed footprint is close to the 22.4 GB resident figure with SSD n-gram offload; the dashboard does not name the offload setting. The table still lists oQ4e as not fitting the 21.3 GB default 2/3 limit on 32 GB — this is real-use evidence that it can run, not a change to the estimate rule. The estimate is conservative: oMLX uploads that had SSD n-gram offload on report a peak MLX memory of 22.0 to 23.8 GB for oQ4e at 1K to 16K (M5 Pro 64 GB session), and oQ4e uploads exist for 36 and 48 GB Macs, so read ‘none fits’ as ‘tight’, not ‘impossible’.
Observed on a confirmed MacBook Pro M1 Max 32 GB (real-use oMLX 0.8.5 dashboard, not a controlled benchmark): oQ4e-mtp at 46.5 tok/s session average (40.3 tok/s five-minute average; 28.9 tok/s on a live 6.3k-token request), about 21.30 GB observed vs 34.44 GB estimated. Dashboard screenshot (server address redacted).
Real file sizes behind the estimate
| Quant (MLX) | Files on Hugging Face | Resident with SSD n-gram offload (model card) | Repo |
|---|---|---|---|
| oQ3e-mtp | 30.9 GB | 18.1 GB | mlx-community/Qwen4-35B-A3B-oQ3e-mtp ↗ |
| oQ4e-mtp | 35.2 GB | 22.4 GB | mlx-community/Qwen4-35B-A3B-oQ4e-mtp ↗ |
| oQ6e-mtp | 48.7 GB | 30.8 GB | mlx-community/Qwen4-35B-A3B-oQ6e-mtp ↗ |
| MLX 4-bit (mlx-community, text+vision) | 32.2 GB | not stated | mlx-community/Qwen4-35B-A3B-4bit ↗ |
| MLX 3-bit (mlx-community) | 25.2 GB | not stated | mlx-community/Qwen4-35B-A3B-3bit ↗ |
| MLX 4-bit text only (Unsloth, no MTP head) | 34.9 GB | not stated | unsloth/Qwen4-35B-A3B-MLX-4bit ↗ |
| Unsloth GGUF | Backbone file | N-gram table file | Both |
|---|---|---|---|
| UD-IQ1_S | 9.75 GB | 11.52 GB | 21.3 GB |
| UD-IQ2_XXS | 11.88 GB | 11.52 GB | 23.4 GB |
| UD-Q2_K_XL | 16.16 GB | 11.52 GB | 27.7 GB |
| UD-IQ3_XXS | 17.21 GB | 11.52 GB | 28.7 GB |
| UD-Q3_K_XL | 19.36 GB | 11.52 GB | 30.9 GB |
| UD-IQ4_XS | 20.52 GB | 11.52 GB | 32.0 GB |
| UD-Q4_K_XL | 24.72 GB | 11.52 GB | 36.2 GB |
| UD-Q5_K_XL | 27.84 GB | 15.36 GB | 43.2 GB |
| UD-Q6_K_XL | 30.45 GB | 21.76 GB | 52.2 GB |
| UD-Q8_K_XL | 40.53 GB | 21.76 GB | 62.3 GB |
Sizes from the Hugging Face API file listing on 2026-12-04 (unsloth/Qwen4-35B-A3B-GGUF; the official BF16 release is 113.6 GB and Qwen's FP8 is 60.2 GB). Other models: use the Can it run? calculator, which has a Mac option.
Qwen4 35B-A3B on desktop-class Macs (Ultra chips)
| Chip | GPU cores | Memory (GB) | Chassis | Quant | Decode tok/s (best row) | Prefill tok/s | Rows | Source |
|---|---|---|---|---|---|---|---|---|
| M5 Ultra | 80 | 512 | not stated | oQ6e-mtp | 195.4 ⚡ 1K | 5,539 @1K · est. TTFT @8k ≈1.5 s* | 2 | omlx.ai ↗ · details |
| M5 Ultra | 80 | 256 | not stated | oQ4e-mtp | 277.6 ⚡ 1 request, no-think, 4K–64K prompts | 10,913 @4K · est. TTFT @8k ≈0.75 s* | 6 | x.com ↗ · details |
| M5 Ultra | 64 | 256 | not stated | oQ6e-mtp | 209.6 ⚡ 1K | 8,527 @4K · est. TTFT @8k ≈0.96 s* | 2 | omlx.ai ↗ · details |
| M5 Ultra | 64 | 96 | not stated | oQ4e-mtp | 151.7 ⚡ 1K | 2,278 @4K · est. TTFT @8k ≈3.6 s* | 2 | omlx.ai ↗ · details |
| M3 Ultra | 80 | 512 | not stated | oQ4e-mtp | 127.5 ⚡ 1K | 2,003 @4K · est. TTFT @8k ≈4.1 s* | 2 | omlx.ai ↗ · details |
| M3 Ultra | 60 | 256 | not stated | oQ4e-mtp | 144.3 ⚡ 1K | 1,679 @4K · est. TTFT @8k ≈4.9 s* | 3 | omlx.ai ↗ · details |
| M2 Ultra | 60 | 192 | not stated | oQ4e-mtp | 112.3 ⚡ 1K | 933 @4K · est. TTFT @8k ≈8.8 s* | 1 | omlx.ai ↗ · details |
| M1 Ultra | 48 | 64 | not stated | oQ4e-mtp | 86.0 ⚡ 1K | 882 @4K · est. TTFT @8k ≈9.3 s* | 1 | omlx.ai ↗ · details |
The headline number is Jun Kim's M5 Ultra 256 GB run: 277.6 tok/s for one request with MTP, 658.2 tok/s total at 8 requests, prefill above 10,000 tok/s up to 64K. Full table · his post ↗.
All Mac builds by chip and memory: best tok/s per model
Laptop-class chips (base, Pro, Max)
Ultra chips (desktop)
Plus 1 builds where the source gives only ‘Apple unified memory’ without a chip name; they are on the builds list. Per-chip pages: M5 Ultra · M5 Max · M5 Pro · M5 · M4 Max · M4 Pro · M4 · M3 Ultra · M3 Max · M3 Pro · M2 Ultra · M2 Max · M1 Ultra · M1 Max.
FAQ
Can a MacBook run Qwen4 35B-A3B?
Yes, on Apple Silicon with enough unified memory. The official release is 113.7 GB, but 3-bit to 4-bit community quants are 25 to 35 GB on disk, and oMLX can keep the 12.8 GB n-gram table on SSD, so about 22 GB of weights stay resident for oQ4e. By the estimate on this page a 36 GB Mac fits oQ4e with SSD offload and 48 GB or more fits it fully in memory; the default-limit rule still lists oQ4e as not fitting 32 GB. A confirmed MacBook Pro M1 Max 32 GB did run oQ4e-mtp in real use at 46.5 tok/s session average and about 21.30 GB observed (oMLX dashboard, not a controlled benchmark). Measured on laptop-class chips: up to 166.8 tok/s on an M5 Max with 64 GB (oMLX, MTP on; source omlx.ai). The oMLX uploads do not record whether the Mac is a MacBook, Mac mini or Mac Studio.
Which Apple chips are in MacBooks?
The base M-series, Pro and Max chips ship in MacBook Air and MacBook Pro. The same chips also ship in desktops (Mac mini with base and Pro, Mac Studio with Max). Ultra chips are desktop chips. RigBase therefore groups base, Pro and Max chips as laptop-class, and says so wherever the chassis is not stated.
What is the fastest Mac for Qwen4 35B-A3B?
The fastest single-request figure in the data is 277.6 tok/s on an M5 Ultra 256 GB (80-core GPU) with oMLX 0.8.5 and MTP on, as posted by Jun Kim, creator of oMLX. With MTP off, 8 requests together reach 658.2 tok/s. Prefill stays above 10,000 tok/s up to a 64K prompt.
How are the memory estimates made?
From the real file sizes of the quants on Hugging Face and the default GPU memory limit (about 2/3 of unified memory up to 32 GB, 3/4 from 36 GB). It is an estimate, labelled as such, and the measured builds in the last column are the ground truth where they exist. A 32 GB MacBook Pro ran oQ4e-mtp at about 21.30 GB observed even though the estimate still marks that quant as not fitting the default 21.3 GB limit; the table is not rewritten to match that one observation.