Apple M4 Max (64 GB Unified)
The-Focus-AI/local-model-labs-m4-max (private) ↗
Live measurements from The-Focus-AI/local-model-labs-m4-max (Apple M4 Max 64 GB),
The-Focus-AI/local-model-labs-thor (NVIDIA Jetson AGX Thor 122.8 GB), and the generic
local-model-lab harness (synced via pnpm run site:sync-local-labs), paired with our
historical llama-swap vs. ollama concurrency archives.
pnpm run site:sync-local-labs)
Synced directly from the two machine-specific The-Focus-AI/local-model-labs-* repositories built on our reusable
local-model-lab harness. M4 Max leads single-stream decode via 546 GB/s unified Metal bandwidth, while Jetson AGX Thor
delivers 4.5× faster cold prefill and fits full 223K contexts in 122.8 GB unified memory.
The-Focus-AI/local-model-labs-m4-max (private) ↗
The-Focus-AI/local-model-labs-thor (private) ↗
| Machine | Recipe (PLAN.md) | Engine | Status | Decode (tok/s) | Prefill 4K / 32K | Long Retrieval | Peak RAM | Notes |
|---|---|---|---|---|---|---|---|---|
| M4 Max | inkling-2-mini-mtplx-bare-speed ↗ | mtplx 2.13.1 (4-bit) | qualified | 80.6 | 721 / 700 | 3/3 @ 30.5K (61.6 tok/s) | 24.9 GiB | Default fastest model (mise run serve -- start): 80.6 tok/s decode, 61.6 tok/s @ 30.5K, 24.9 GiB peak |
| M4 Max | inkling-2-mini-mtplx-quality ↗ | mtplx 2.13.1 | qualified | 64.2 | 698 / 698 | 3/3 @ 30.5K (43.1 tok/s) | 28.7 GiB | Fastest lossless Inkling: 64.2 tok/s decode without 4-bit dense/output quantization (28.7 GiB peak) |
| M4 Max | inkling-2-mini-ollama ↗ | ollama 0.40.17 | baselined | 65.4 / 28.6* | 505 / 417 | 3/3 (base) / 0/3* | 27.0 GiB | Zero-build convenience if running via Ollama CLI; fast at 65.4 tok/s short with reasoning_effort: "none" (note long retrieval failed 0/3 with effort none) |
| M4 Max | bonsai-2.5-27b-llamacpp ↗ | llama.cpp PrismML (PQ2_0-mtp) | baselined | 39.5 | 203 / 174 | 3/3 @ 10.8K (39.4 tok/s) | 21.4 GiB | Fastest dense 27B & agentic tool calling: 39.5 tok/s short & 39.4 tok/s @ 10.8K, 21.4 GiB peak |
| M4 Max | inkling-2-mini-mlx-nvfp4 ↗ | mlx-vlm 0.8.0 (36565bc1) | qualified | 34.0 | 696 / 605 | 3/3 @ 12.8K (31.3 tok/s)† | 24.1 GiB | Clean reference Python/MLX stack with upstream checkpoint: 34.0 tok/s decode, 24.1 GiB peak |
| M4 Max | qwen3.8-27b-mlx-4bit ↗ | mlx-vlm 0.8.0 / mlx 0.32.4 | baselined | 32.5 | 206 / 171 | 3/3 @ 10.8K (157K prior) | 16.4 GiB | Lowest-RAM 27B & ultra-long 4-bit KV: 32.5 tok/s decode, 16.4 GiB peak, previously tested to 157K @ 20.9 GiB |
| Thor | inkling-2-mini-nvfp4-vllm ↗ | vllm | tuned | 43.0 | 3216 / 3306 | 3/3 @ 221.7K (37.5 tok/s) | 77.4 GiB | Fastest here: 43.0 tok/s, bit-identical to the no-draft server. The default for mise run serve |
| Thor | qwen3.8-27b-awq-int4-full-vllm ↗ | vllm | tuned | 35.0 | 756 / 707 | 3/3 @ 223.0K (19.5 tok/s) | 98.6 GiB | Fastest Qwen decode (35.0) |
| Thor | qwen3.8-27b-nvfp4-full-vllm ↗ | vllm | tuned | 34.6 | 1958 / 1388 | 3/3 @ 223.0K (20.4 tok/s) | 107.9 GiB | Same decode (34.6), prefill 2.6× faster than INT4 |
| Thor | inkling-2-mini-nvfp4-sglang ↗ | sglang | baselined | 29.2 | 2444 / 2679 | 3/3 @ 221.7K (17.7 tok/s) | 57.7 GiB | Works, including vision; slower than vLLM (29.2) |
| Thor | qwen3.8-27b-pi-merged-nvfp4-vllm ↗ | vllm | baselined | 28.9 | 1806 / 1999 | 3/3 @ 223.0K (20.0 tok/s) | 107.2 GiB | Recovers most of the speed (28.9) |
| Thor | inkling-2-mini-q4kxl-llamacpp ↗ | llama.cpp | gated | 26.2 | 552 / 289 | — | 28.4 GiB | Small footprint (28 GiB); prefill too slow for long context |
| Thor | qwen3.8-27b-pi-awq-int4-vllm ↗ | vllm | baselined | 21.4 | 578 / 564 | 3/3 @ 223.0K (16.3 tok/s) | 97.2 GiB | The run-time LoRA costs about a third of decode speed |
| Thor | deepseek-v4.1-flash-1017-exl3-tensorfold ↗ | tensorfold | tuned | 17.4 | 179 / 723 | 3/3 @ 221.8K (16.7 tok/s) | 107.3 GiB | The largest model tried here; 17.4 tok/s |
| Thor | qwen3.8-27b-exl3-3.5bpw-exllamav3 ↗ | exllamav3 | new | 28.6 / 15.5* | 583 / 428 | — | 22.2 GiB | Runs; slower than vLLM on every metric |
| Thor | qwen3.8-27b-nvfp4-vllm ↗ | vllm | baselined | 26.8 / 10.7* | 2750 / 1936 | 3/3 @ 223.0K (9.2 tok/s) | 104.4 GiB | Slower decode than its sibling; stopped at baseline |
| Thor | qwen3.8-27b-awq-int4-vllm ↗ | vllm | baselined | 24.7 / 9.4* | 828 / 794 | 3/3 @ 146.2K (8.2 tok/s) | 99.8 GiB | Superseded; weights deleted |
reasoning_effort: "none" (failed long retrieval 0/3) vs. 28.6 tok/s with thinking on (3/3).sm_120) do not run on Thor (sm_110).Fastest overall — inkling-2-mini-mtplx-bare-speed: mtplx 2.13.1 with 4-bit dense/unembed + L20–23 weights (Youssofal/Inkling-2-Mini-MTPLX-Bare-Speed) and adaptive DSpark reached 80.6 tok/s short decode (81.1 tok/s speed gate @ 0.433 acceptance), 721 / 700 tok/s prefill, 3/3 @ 30.5K (61.6 tok/s), and 24.9 GiB peak RAM (-3.8 GiB vs lossless quality). This is the default server launched by mise run serve.
Lossless Inkling — inkling-2-mini-mtplx-quality: Native NVFP4/MXFP8 weights on mtplx 2.13.1 reached 64.2 tok/s decode (84% of the 4K no-draft bandwidth ceiling) and 3/3 @ 30.5K (43.1 tok/s) at 28.7 GiB. Upgrading to mtplx 2.13.2 boosted 16K long-context decode on both packs (78.4 and 41.4 tok/s) while regressing short-context c1_decode (61.1 and 60.0 tok/s), so best-config.json remains on 2.13.1.
Inkling on mlx-vlm — inkling-2-mini-mlx-nvfp4: Upgrading to mlx-vlm 36565bc1 (PR #2798 grouped-expert matvec) lifted decode from 33.0 → 34.0 tok/s short and 27.3 → 31.3 tok/s @ 12.8K (24.1 GiB peak). Pure autoregressive decode beat DSpark (7.4 @ block 8, 28.6 @ block 2, 29.5 adaptive) because multi-token verification widens top-8/128 MoE expert union faster than acceptance amortizes.
Inkling 2 Mini on vLLM went from 33.8 to 43.0 tok/s with no change in output. Three changes did it: adaptive verification (after fixing a rounding-order difference in the attention split plan that made it look wrong), restricting the draft's recurrent correction to the top 64 candidates, and a 46,788-token draft vocabulary.
Decode here is bound by memory bandwidth. A no-draft Inkling token reads 5.65 GB and takes 30.2 ms against a 22.0 ms floor at 256 GB/s. The big kernels already run at 75–83% of bandwidth.
Halving the bytes of the BF16 weights buys 17%. Int8 copies read by a modified decode kernel give 50.0 tok/s. This is a quality trade and is labelled as one.
Reproducible workbench for finding, running, benchmarking, and publishing local LLM recipes — one checkout per machine. Every machine forks this upstream template, runs mise run init, and accumulates
immutable ledger.jsonl measurements without committing multi-gigabyte model weights.
mise trust && mise run init # detect hardware with whichllm, set memory cap, update README.md
mise run hardware # print what whichllm detects here
mise run find # rank models for this machine
mise run new -- <slug> # create models/<slug>/ for one of them
mise run serve -- start # start DEFAULT_MODEL (or MODEL=<slug> mise run serve -- start)
mise run chat # start the local HTML/JS chat client on http://127.0.0.1:8088/
mise run report # generate SVG benchmark charts in docs/charts/
llama-swap vs. ollama
Note on gemma-4-31B under llama-swap: recorded as — because four concurrent
requests against 31B triggered an intermittent Compute error under unified-memory pressure — preserved
transparently rather than omitted.
| Runtime | Model | agg c=1 | agg c=4 | Scaling | decode c=1 | decode c=4 | TTFT c=1 | TTFT c=4 |
|---|---|---|---|---|---|---|---|---|
| ollama | gemma4:e2b | 139.7 | 145.3 | 1.04× | 148.5 | 148.6 | 292ms | 7,374ms |
| ollama | gemma4:12b | 48.0 | 48.6 | 1.01× | 49.5 | 49.1 | 457ms | 21,422ms |
| ollama | gemma4:26b | 96.3 | 99.7 | 1.04× | 101.5 | 101.4 | 367ms | 10,654ms |
| ollama | gemma4:31b | 21.4 | 20.8 | 0.97× | 21.9 | 21.3 | 772ms | 48,767ms |
| ollama | gemma4:e4b | 89.0 | 91.7 | 1.03× | 93.1 | 93.0 | 344ms | 11,537ms |
| ollama | gpt-oss:latest | 85.4 | 89.3 | 1.05× | 109.9 | 114.9 | 1,263ms | 9,919ms |
| ollama | nemotron-3-nano:4b | 90.2 | 86.4 | 0.96× | 92.4 | 92.4 | 235ms | 2,115ms |
| ollama | nemotron-cascade-2:30b | 88.9 | 91.5 | 1.03× | 92.4 | 92.3 | 301ms | 11,491ms |
| ollama | qwen3.6:27b | 22.8 | 22.1 | 0.97× | 23.3 | 22.3 | 642ms | 46,117ms |
| llama-swap | gemma-4-E2B | 148.7 | 1014.3 | 6.8× | 151.6 | 275.2 | 88ms | 195ms |
| llama-swap | nemotron-3-nano-4B | 89.0 | 389.1 | 4.4× | 96.6 | 188.6 | 658ms | 2,644ms |
| llama-swap | gpt-oss-20b | 115.4 | 332.8 | 2.9× | 140.4 | 201.1 | 713ms | 2,892ms |
| llama-swap | gemma-4-26B | 94.1 | 288.5 | 3.1× | 113.9 | 279.3 | 1,511ms | 6,346ms |
| llama-swap | gemma-4-31B | — | — | — | — | — | — | — |
| Overall Rank | Model | Combined | Reasoning (/20) | Knowledge (/30) | Instruction (/30) | Coding (/126) | Wall Time |
|---|---|---|---|---|---|---|---|
| #21 | gpt-oss:latest | 93.3% | 20/20 (100%) | 28/30 (93.3%) | 29/30 (96.7%) | 105/126 (83.3%) | 1h11m |
| #25 | nemotron-3-nano:latest | 89.4% | 20/20 (100%) | 30/30 (100%) | 27/30 (90%) | 85/126 (67.5%) | 36m |
| #32 | qwen3:32b | 86.7% | 17/20 (85%) | 29/30 (96.7%) | 25/30 (83.3%) | 103/126 (81.7%) | 59m |
| #35 | phi4:latest | 84.6% | 16/20 (80%) | 27/30 (90%) | 27/30 (90%) | 99/126 (78.6%) | 25m |
| #36 | mistral-small:latest | 84.4% | 17/20 (85%) | 29/30 (96.7%) | 23/30 (76.7%) | 100/126 (79.4%) | 49m |
| #37 | glm-4.7-flash:latest | 84.1% | 17/20 (85%) | 29/30 (96.7%) | 26/30 (86.7%) | 86/126 (68.3%) | 54m |
| #38 | devstral:latest | 84.0% | 16/20 (80%) | 28/30 (93.3%) | 26/30 (86.7%) | 96/126 (76.2%) | 44m |
| #39 | deepseek-r1:32b | 84.0% | 17/20 (85%) | 28/30 (93.3%) | 28/30 (93.3%) | 81/126 (64.3%) | 1h5m |
| #42 | gemma3n:e4b | 79.7% | 17/20 (85%) | 29/30 (96.7%) | 24/30 (80%) | 72/126 (57.1%) | 54m |
| #43 | deepseek-r1:14b | 78.2% | 17/20 (85%) | 24/30 (80%) | 26/30 (86.7%) | 77/126 (61.1%) | 57m |
| #44 | deepseek-r1:latest | 78.1% | 15/20 (75%) | 26/30 (86.7%) | 30/30 (100%) | 64/126 (50.8%) | 33m |
| #46 | qwen3:30b-a3b | 77.5% | 20/20 (100%) | 29/30 (96.7%) | 4/30 (13.3%) | 126/126 (100%) | 1h14m |
| #48 | nemotron-3-nano:4b | 73.8% | 19/20 (95%) | 25/30 (83.3%) | 25/30 (83.3%) | 42/126 (33.3%) | 42m |