Fast local coding model on a 24–32 GB Mac
Bonsai 2.5 + Splash: a near-Qwen3.8-27B coding model at about 74 tokens/s, in 10–12 GB of memory.
Measured: , on a base M5 MacBook Pro (10-core GPU, 32 GB)
Versions: Splash 1.7.4 · llama.cpp b12890 · Ternary Bonsai 2.5 27B (PQ2_0)
On a base M5 MacBook Pro with 32 GB, Inco AI's Splash engine runs PrismML's Ternary Bonsai 2.5 27B at about 74 tokens/s on real code while using 10–12 GB of memory. Inco's own recommended 27B setup needs at least 36 GB, so this pairing brings a near-Qwen3.8-27B coding model to 24 and 32 GB Macs and still leaves room for an editor and a browser.
Why this pairing
Splash is fast, but Inco's launch post says its 4-bit Qwen3.8-27B "needs at least 36 GB of unified memory" and recommends 48 GB, so an editor and a browser still fit. Bonsai 2.5 is a ternary (1.58-bit) compression of the same Qwen3.8-27B, small enough to leave most of a 24–32 GB laptop free.
| Qwen3.8-27B 4-bit on Splash | Bonsai 2.5 27B on Splash | |
|---|---|---|
| Memory needed | At least 36 GB of unified memory, 48 GB recommended (Inco) | 11 GB minimum, 10–12 GB in use (measured here) |
| Model file | About 16 GB | 7.25 GB (PQ2_0) |
| Quality vs full-precision Qwen3.8-27B | Close to it | Tool calling 77.2 vs 77.7, agentic coding 54.2 vs 60.5, general 82.1 vs 84.3 (PrismML's numbers) |
| Listed by Splash | Yes, the headline model | Bonsai 2 in one README sentence; 2.5 not listed, but loads |
The quality figures are PrismML's own benchmarks from the Bonsai 2.5 model card; they weren't re-run for this guide.
Set it up
Splash needs an M3 or newer Mac on macOS 26.4 or later, plus Homebrew. The first start downloads the 7.25 GB model and Inco's 3.85 GB drafter, then serves an OpenAI- and Anthropic-compatible API on 127.0.0.1:8000.
-
Install Splash:
brew install incoai/tap/splash -
Start it with Bonsai 2.5:
splash serve --model prism-ml/Ternary-Bonsai-2.5-27B-GGUF:PQ2_0 --language-only--language-onlyskips the vision model; drop it if you want image input.- For the officially listed Bonsai 2, use
prism-ml/Ternary-Bonsai-2-27B-gguf:PQ2_0instead.
-
Once it prints
Ready, openhttp://127.0.0.1:8000for a chat page, or launch a coding agent from another terminal:
Alsosplash opencodesplash claude,splash codex,splash hermes,splash pi.
On a 16 GB Mac, add --max-concurrent-requests 1 --state-format bf16 --max-cache-disk 0. Even then it fits only after raising macOS's GPU memory limit (sudo sysctl iogpu.wired_limit_mb=12288, which resets at reboot) and leaves about 4–5 GB for everything else. The Memory section below has the numbers.
Measured speed on a base M5
Splash decodes Bonsai 2.5 2.3–7× faster than llama.cpp on the same Mac
Decode speed in tokens/s, mean of 3 runs, base M5 MacBook Pro (32 GB)
- llama.cpp, no drafter
- llama.cpp + built-in MTP drafter
- Splash + DFlash2 drafter
- Write code
- Edit code
- Casual chat
- Math reasoning
Measured 2026-12-01 · Splash 1.7.4 vs llama.cpp b12890, both running Bonsai 2.5 · same prompts, 1 warm-up + 3 timed runs each. Multipliers are against llama.cpp's faster configuration.
On harder 1,024-token code answers, Splash averaged 74 tokens/s. In a 13-step coding-agent session growing to 31K tokens, the gap narrows to 1.9× (150 s on Splash against 290 s on llama.cpp), because both spend most of each step reading the growing prompt.
Memory: which Macs it fits
Splash needs 11.05 GB of GPU memory to start Bonsai 2.5 (10.60 GB with the 16 GB settings above) and uses 10–12 GB in practice. By default it reserves its whole budget for context, so Activity Monitor can show more; the rest of the Mac's memory stays free. Each 32K tokens of conversation adds about 1.1 GB.
| Mac | Starts? | Context it allows | Notes |
|---|---|---|---|
| 32 GB | Yes | 256K tokens | Measured: about 10 GB in use idle, 12 GB after long sessions |
| 24 GB | Yes | About 184K tokens | Full speed; a 24 GB M6 reported 213K in Splash PR #166 |
| 16 GB, default | No | — | Budget about 10.6 GB, under the 11.05 GB minimum |
| 16 GB, 16 GB settings | Barely | About 4K tokens | Short chats only |
| 16 GB, settings + raised GPU limit | Yes | About 37K tokens | Full speed, leaves macOS about 4–5 GB |
The 24 and 16 GB rows were simulated on the 32 GB Mac with Splash's --max-memory cap, not measured on those machines. Under the tightest working cap, speed didn't change: 72.7 vs 73.7 tok/s on code, 150 vs 150 s for the agent session above.
Caveats
- Bonsai 2.5 support is unofficial. It loads through Splash's existing Bonsai 2 path and gave byte-identical output to llama.cpp on the test prompts. Official support is still an open pull request, Splash PR #857.
- Speed depends on the prompt. The drafter guesses predictable text well: 172 tok/s editing code that repeats its input, 74 on writing new code, 32 on casual chat.
- Expect about ±10% between runs. Splash adapts how many guesses it checks based on earlier requests, so one request can run 50 tok/s in one session and 58 in the next.
- Long agent sessions are limited by reading, not writing. About 86% of Splash's time went to processing new prompt text, at about 250 tokens/s on this Mac; a step that reads a large file still takes 10–20 s. Prompt processing scales with GPU cores, so M5 Pro and Max chips help most there.
- The drafter wasn't trained on Bonsai. Inco's drafter accepts fewer of Bonsai's tokens at long context than of the original Qwen3.8's. A Bonsai-tuned drafter gained only about 5% on code in a side test.
- Greedy output can vary slightly between runs, which Splash's docs acknowledge.
- One machine: all measurements come from one base M5 MacBook Pro (10-core GPU, 32 GB) on Splash 1.7.4, on 2026-12-01.
Credits and sources
None of the pieces are new; this guide puts them together and measures them on an ordinary laptop. Each was documented first by others:
- Splash and its DFlash2 drafter: Inco AI, “Splash: A Local Engine Built Around the Model” (September 2026). Inco's requested citation is below.
- Ternary Bonsai 2.5 27B and Bonsai 2 27B: PrismML.
- Splash PR #166: Bonsai 2 support, measured on an M5 Pro, M3 Max and 24 GB M6.
- Splash PR #680: Bonsai 2 on a base M5 MacBook Air.
- Splash issue #852: Bonsai 2.5 on Splash against PrismML's llama.cpp build, on an M4 Max.
- Splash PR #857: official Bonsai 2.5 support, open.
- paperniuk/splash: the 16 GB recipe (11 GB cap, raised GPU limit) for M1/M2 Macs.
- openset-llm: the CPU project that started this comparison; its macOS issue #79 tried the same idea on Metal.
Citing Splash, as Inco AI asks:
@misc{inco2026splash,
title = {{Splash: A Local Engine Built Around the Model}},
author = {{Inco AI}},
year = {2026},
month = {September},
url = {https://inco.ai/blog/splash/}
}