Background
I wanted a fast local coding model that handles two 256K-token sessions in parallel on one Mac. Splash serves unsloth/Qwen4-35B-A3B-MLX-4bit with DFlash2 speculative decoding and keeps two concurrent lanes fast. This setup now handles my daily local coding work.
Environment
I run this configuration on an Apple M5 Max MacBook Pro with 40 GPU cores, 128 GB of unified memory, and macOS 27.3. Splash allocates 48 to 55 GB of unified memory under this setup, depending on active prefix cache size.
Prepare the following before you start:
- An Apple Silicon Mac on macOS 26 or newer with at least 64 GB of unified memory. If you run builds, containers, or simulators alongside the model, use a 128 GB machine.
- Homebrew for Splash 1.7.6 or newer.
- Around 35 GB of free disk space for the 4-bit MLX weights and the 406 MB DFlash2 draft model.
Splash
Install Splash from the Homebrew tap and start the server:
brew install incoai/tap/splash
splash serve \
--port 8010 \
--model unsloth/Qwen4-35B-A3B-MLX-4bit \
--max-context 256K \
--max-concurrent-requests 2 \
--ple-memory off \
--expert-memory off \
--weights auto \
--reasoning-effort xhigh
First startup downloads roughly 33 GB of weights plus the DFlash2 draft model.
Each flag controls a specific memory, concurrency, or reasoning setting:
--max-context 256Ksets a 262,144-token window inside Qwen4's native 1M limit and leaves YaRN scaling off.--max-concurrent-requests 2runs two active sessions without reserving memory for Splash's default four lanes.--ple-memory offkeeps the 11.5 GB per-layer embedding table in RAM instead of reading rows from the SSD.--expert-memory offkeeps all routed mixture-of-experts weights resident in RAM.--weights autoloads BF16 and F16 projections, experts, and the output head asQ8_0.Q8_0halves their memory bandwidth per token.--reasoning-effort xhighforces Qwen4's highest reasoning level on every request, even for clients that expose levels only up tohigh.
Splash unwires and frees model weights after 10 minutes with no requests. Point any OpenAI-compatible client at http://127.0.0.1:8010/v1 with model ID unsloth/Qwen4-35B-A3B-MLX-4bit and a 262,144-token context window.
Launchd
Before you run Splash in the background, set ProcessType to Interactive in your launchd plist. Without ProcessType, launchd applies background CPU and I/O throttling when parallel builds, test suites, or virtual machines compete for resources. Setting Interactive removes those limits so macOS schedules Splash like a foreground app.
Create ~/Library/LaunchAgents/sh.splash.serve.plist and replace YOUR_USER with your macOS username:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>sh.splash.serve</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/splash</string>
<string>serve</string>
<string>--port</string>
<string>8010</string>
<string>--model</string>
<string>unsloth/Qwen4-35B-A3B-MLX-4bit</string>
<string>--max-context</string>
<string>256K</string>
<string>--max-concurrent-requests</string>
<string>2</string>
<string>--ple-memory</string>
<string>off</string>
<string>--expert-memory</string>
<string>off</string>
<string>--weights</string>
<string>auto</string>
<string>--reasoning-effort</string>
<string>xhigh</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>ProcessType</key>
<string>Interactive</string>
<key>StandardOutPath</key>
<string>/Users/YOUR_USER/Library/Logs/splash-serve.log</string>
<key>StandardErrorPath</key>
<string>/Users/YOUR_USER/Library/Logs/splash-serve.log</string>
</dict>
</plist>
Load the agent and use kickstart whenever you edit the plist:
launchctl bootstrap "gui/$(id -u)" ~/Library/LaunchAgents/sh.splash.serve.plist
launchctl kickstart -k "gui/$(id -u)/sh.splash.serve"
Final check
Verify the 262,144-token context limit, memory headroom, and live decode rate:
curl -s http://127.0.0.1:8010/status | jq '{ready, maximum_context_tokens, memory_pressure, memory_actual}'
tail -f ~/Library/Logs/splash-serve.log | grep Done
Open http://127.0.0.1:8010 in a browser to inspect requests in the Splash web UI.
Benchmarks
To test scaling without prefix-cache or output-length bias, I ran a controlled sweep from 4K to 240K tokens at temperature=0 and 512 output tokens. Each cold single-lane point ran four interleaved replicates with zero cached or deduplicated tokens. Each two-lane point ran three synchronized pairs with at least 97.8 percent decode overlap.

| Prompt length | Cold prefill median | Single lane decode | Two lanes, per lane | Two lanes, aggregate |
|---|---|---|---|---|
| 4K | 1.47 s | 159.2 tok/s | 122.6 tok/s | 245.2 tok/s |
| 16K | 5.35 s | 177.2 tok/s | 107.6 tok/s | 215.2 tok/s |
| 32K | 10.75 s | 149.5 tok/s | 116.3 tok/s | 232.7 tok/s |
| 64K | 21.71 s | 162.1 tok/s | 118.5 tok/s | 237.1 tok/s |
| 128K | 44.10 s | 154.3 tok/s | 114.0 tok/s | 227.9 tok/s |
| 240K | 91.48 s | 151.3 tok/s | 106.3 tok/s | 212.6 tok/s |
Decode throughput excludes time to first token and holds within 14 percent across a 60x increase in context length. Verify step rates drop from 50.5 to 47.1 cycles/s on one lane and from 40.2 to 37.8 cycles/s per lane on two lanes. Cold prefill peaks near 3,050 tok/s at 16K and adds 14 percent latency above linear scaling at 240K as full-attention cost grows. Run-to-run spread reflects DFlash2 draft acceptance between 2.6 and 3.8 tokens per cycle plus macOS thermal transitions between nominal and fair states.
