Slotstream · Local AI
A 105 GB model on a 48 GB Mac
I built a native Swift engine that runs a 125B-parameter model by streaming its weights from SSD. Most of the model stays on disk. The parts it needs stay in memory.
Source & setupMeasurementsBuilds & tests
What it does
Chat, work with images, or run coding agents such as Claude Code and Codex against a local model. The engine uses Swift, MLX and Metal and works offline after setup. It serves Ollama-, OpenAI- and Anthropic-compatible APIs.
Slotstream is an independent open-source project. I maintain its released engine, CLI, serving APIs and Swift library. The former Mac app was archived in October 2026. The project targets Macs with 16–64 GB of memory; measured hardware and estimates are listed separately in the hardware guide.
Why streaming works
Qwen3.8-Flash-Next is a mixture-of-experts model. Each token uses only a small fraction of its weights. Slotstream keeps the shared layers in memory and reads the experts it needs into a fixed cache, within a planned memory budget.
The engineering notes explain the cache, SSD reads and memory planning. The same-machine comparisons, thermals, SSD wear and longer-context questions raised in the launch discussion shape what I measure next.
Measured on a 48 GB M5 Pro
| Test | Memory budget | Generation |
|---|---|---|
| 0.2.19 release | 22 GB | 15.86 tok/s |
| Oct 5 development tests | 33 GB | 20.91–23.69 tok/s |
Different workloads and memory budgets, so these results aren't directly comparable. Benchmark details.
Recognition
Slotstream reached #1 on Show HN and #8 on Hacker News. It was also awarded Guillermo Rauch's personal $1,000 grant for foundational open source software.

