Benchmarks for coding with local LLMs on Apple Silicon: models, runtimes and agent harnesses.
Decode speed is the least useful number for real coding work. Hidden thinking, prompt caching and the agent harness each changed session times by 2–6× in these runs. This repo measures time to a finished task on one M5 Pro (48 GB) and publishes the setups that won.
The name refers to unified memory: on a Mac the CPU and GPU share one memory pool, which decides what fits and how fast it runs.
| Question | Answer (2026-11-30) | Details |
|---|---|---|
| Which model fixes real bugs best? | KAT-Ornith-HERO-35B-A3B and Tiel-Coder-35B-A3B: 36 of 42 attempts each over two runs of 21 recent upstream bugs graded by upstream's hidden tests, and 11 and 10 of 22 on 11 harder bugs, where Inkling-2-Mini-Fast Q8 (35 of 42 on the main set) fell to 5. Under 10 GB: Ternary Bonsai 2.5 (7.5 GB), 17 of 21 on the main set, 3 of 22 on the hard one | models |
| Best model for real agent work? | Qwen3.8-Flash-Next on Splash at 256K context for thorough work: in a 6-turn session that grew to 213K tokens it fixed all 4 real bugs (graded with upstream's tests), and it finds 7–8 of 8 issues in review. Swift-1.5 Q2_0: 20 min. Fastest in pi: Qwen3.8-27B-pi-adapted, the same 4 bugs in 8.6 min with half the base 27B's steps (base: 14.5 min), but 4–5 of 8 issues in review | models |
| Fastest good agent for short tasks? | KAT-Ornith-HERO-35B-A3B on Splash: 235 tok/s, Cline session 52–79 s, 6 of 8 issues in both runs; the other nine 35B-A3B models found 0–6, mostly in one run | models |
| Best dense model? | Qwen3.8-27B GSQ-RCO IQ3_S (11.8 GB) on Splash: 96 tok/s, Cline 154 s, 75 tok/s at 100K. Slow past ~64K: 13 min to read 250K, and too slow for the bug-fix suite. On real bugs, Ternary Bonsai 2.5 (7.5 GB, also a 27B) did better: 17 of 21 | models |
| Fastest runtime? | Splash: ~2× llama.cpp and Strata on the same model, when a matching drafter exists. oMLX with Splash as its engine runs at the same speed; oMLX's own MLX engine and DSpine were slower | runtimes |
| Does the harness matter? | Yes, 2–5× on the same model. Fastest on Splash: pi (49 s). Fastest on Strata: OpenCode (66 s) | harnesses |
| What matters most for agents? | Prompt reuse across turns. Without it, every harness ran 2.5–5.7× slower | strata-prompt-cache |
| Long context on 48 GB? | 256K fits, and every model recalled 8 of 8 facts at 99–250K. Speed at depth depends on the attention design: Flash-Next (sparse attention) keeps 81% of its decode speed at 250K, KAT-Ornith 62%; dense 27B models take 13–15 min to read 250K | long-context |
| Best model for security review? | Any good coder: 16–18 of 18 planted flaws, no refusals. Uncensored builds scored no higher | security-review |
"Issues" are the real problems a model found in the review turn of the agent task, out of 8 verified by hand (methodology). The speed findings are solid; the quality ones are not yet. Issue counts come from one private project with 1–2 runs per setup, and differences of 1–2 issues are noise. The public bug-fix suite (bench/bugfix) is the better quality signal; the top models have two runs each on the main set and on a harder set of 11.
Speed leaderboard (decode tok/s, M5 Pro 48 GB)
| Model | Runtime | Decode tok/s | Long answer | Mini-eval |
|---|---|---|---|---|
| Qwopus3.6-35B-A3B-Coder Q4_K_M | Splash 1.7.2 | 244 | 25 s | 9/10 |
| HauhauCS Qwen3.6-35B-A3B Aggressive Q4_K_M | Splash 1.7.2 | 242 | 6 s | 9/10 |
| KAT-Ornith-HERO-35B-A3B Fusion i1-Q4_K_M | Splash 1.7.2 | 235 | 9 s | 9/10 |
| Ornith-1.5-35B-A3B Q4_K_M | Splash 1.7.2 | 219 | 8 s | 7/10 |
| Tiel-Coder-35B-A3B UD-Q4_K_XL | Splash 1.7.2 | 191 | 8 s | 9/10 |
| Flint UD-Q4_K_XL (thinks even with effort none) | Splash 1.7.2 | 139 | 42 s | 10/10 |
| Swift-1.5 Qwen3.8-Flash-Next GSQ-RCO Q2_0 (66.5 GB, 20 GB expert store) | Splash 1.7.2 | 125 | 7 s | 10/10 |
| Qwen3.8-Flash-Next GSQ-RCO Q2_0 (66 GB, 20 GB expert store) | Splash 1.7.2 | 129 | 10 s | 8/10 |
| Qwen3.8-Flash-Next GSQ-RCO Coder (58 GB, all in memory) | Splash 1.7.2 | 124 | 9 s | 9/10 |
| Inkling-2-Mini-Fast IQ4_NL-16GB (Lucebox) | Splash 1.7.3 | 122 | 9 s | 9/10 |
| Inkling-2-Mini-Fast IQ4_NL (Lucebox) | Splash 1.7.3 | 101 | 9 s | 10/10 |
| Inkling-2-Mini-Fast UD-Q8_K_XL (Lucebox) | Splash 1.7.3 | 84 | 10 s | 10/10 |
| Inkling-2-Mini UD-IQ4_XS | Splash 1.7.2 | 101 | 24 s | 10/10 |
| Ternary Bonsai 2.5 27B PQ2_0 (7.5 GB) | Splash 1.7.2 | 145 | 10 s | 9/10 |
| Qwen3.8-27B GSQ-RCO IQ3_S (11.8 GB) | Splash 1.7.2 | 96 | 14 s | 9/10 |
| Qwen3.8-27B-pi-adapted Q4_K_M | Splash 1.7.2 | 90 | 22 s | 10/10 |
| Qwen3.8-27B base Q4_K_M | Splash 1.7.2 | 85 | 16 s | 10/10 |
| Qwen3.8-27B-think-pi-adapted Q4_K_M | Splash 1.7.2 | 89 | 15 s | 10/10 |
| Ornith-1.5-122B UD-IQ3_XXS (24 GB expert store) | Splash 1.7.2 | 44 | 41 s | 7/10 |
| Tiel-Coder-35B-A3B UD-IQ4_XS + MTP | Unsloth llama.cpp | 98 | 26 s | 10/10 |
| Kolibri 1.1 Q3_K_M (36 GB) | llama.cpp PR #32891 | 69 | 11 s | 10/10 |
| Kolibri 1.1 GSQ-RCO IQ2_XS (21 GB) | llama.cpp PR #32891 | 68 | 10 s | 10/10 |
| Ternary Bonsai 2.5 27B Q2_0 + MTP | llama.cpp | 31 | 44 s | 9/10 |
| Tiel-Coder-35B-A3B UD-IQ4_XS, no speculative decoding | Unsloth llama.cpp | 70 | 42 s | — |
| Inkling-2-Mini SQ-15 (thinking off) | Strata 0.2.20 | 66 | — | 9/10 |
| Inkling-2-Mini SQ-15 + DSpark | Strata 0.2.19 | 58 | 54 s | 10/10 |
| Inkling-2-Mini oQ4e-mtp (wall-clock) | oMLX 0.8.3 | 55 | 54 s | 10/10 |
| Inkling-2-Mini SQ-20 + DSpark | Strata 0.2.19 | 48 | 72 s | 10/10 |
| Inkling-2-Mini UD-IQ4_XS + DSpark | Unsloth llama.cpp | 36 | 57 s | 10/10 |
| Inkling-2-Mini UD-IQ4_XS | Unsloth llama.cpp | 30 | 148 s | — |
Long answer: wall time to a complete answer for one fixed coding prompt (8,000-token cap). Regenerate from raw data with make summary.
| Goal | Script |
|---|---|
| Fast agent, short tasks | configs/splash/kat-ornith-agent.sh · guide |
| Long agent sessions and reviews (256K) | configs/splash/flashnext-review.sh · guide |
| Inkling-2-Mini (the Fast fine-tune, thinking on) | configs/splash/inkling.sh |
| A model Splash has no drafter for | configs/llama.cpp/ · guide |
| Connect Cline, Claude Code, pi or OpenCode | configs/agents/ · guide |
Requires Python 3.11+ and an OpenAI-compatible server (Splash, llama-server, Strata, LM Studio). The core scripts have no dependencies.
make bench-speed URL=http://127.0.0.1:8000 MODEL=local LABEL=my-model # decode, long answer, mini-eval, wall-clock decode
make summary # tables from results/Agent, long-context and security benchmarks: bench/README.md. Measurement details and limits: docs/methodology.md.
bench/ benchmark scripts, one JSON per run to results/: speed/, agents/, bugfix/, long_session/, context/,
security/
configs/ launch scripts (splash/, llama.cpp/, strata/) and agent configs (agents/)
docs/
findings/ one page per question, current answer first
guides/ setup for Splash, llama.cpp, Strata and the agents
archive/ findings pages as written on the day (superseded)
methodology.md, journal.md
results/ raw JSON by benchmark (see results/README.md)
tools/ summarize.py (tables from results/), session_stats.py (engine stats from a Splash log),
check_private.py (leak check)
.local/ private files, gitignored: grader, sandbox project, transcripts
Results from other Macs, and new models, runtimes and harnesses: CONTRIBUTING.md.
MIT. Model names and upstream projects belong to their authors.