← stiles.one

Guide

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 SplashBonsai 2.5 27B on Splash
Memory neededAt least 36 GB of unified memory, 48 GB recommended (Inco)11 GB minimum, 10–12 GB in use (measured here)
Model fileAbout 16 GB7.25 GB (PQ2_0)
Quality vs full-precision Qwen3.8-27BClose to itTool calling 77.2 vs 77.7, agentic coding 54.2 vs 60.5, general 82.1 vs 84.3 (PrismML's numbers)
Listed by SplashYes, the headline modelBonsai 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.

  1. Install Splash:
    brew install incoai/tap/splash
  2. Start it with Bonsai 2.5:
    splash serve --model prism-ml/Ternary-Bonsai-2.5-27B-GGUF:PQ2_0 --language-only
    • --language-only skips 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_0 instead.
  3. Once it prints Ready, open http://127.0.0.1:8000 for a chat page, or launch a coding agent from another terminal:
    splash opencode
    Also splash 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)

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.

MacStarts?Context it allowsNotes
32 GBYes256K tokensMeasured: about 10 GB in use idle, 12 GB after long sessions
24 GBYesAbout 184K tokensFull speed; a 24 GB M6 reported 213K in Splash PR #166
16 GB, defaultNo—Budget about 10.6 GB, under the 11.05 GB minimum
16 GB, 16 GB settingsBarelyAbout 4K tokensShort chats only
16 GB, settings + raised GPU limitYesAbout 37K tokensFull 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

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:

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/}
}