AI product Open source

slotstream

slotstream is an open-source macOS local-LLM inference engine that runs Qwen3.8-Flash-Next, a 125-billion-parameter mixture-of-experts model, on Apple Silicon Macs whose memory cannot hold the model. Implemented as a single Swift binary using MLX, it keeps the dense trunk resident and reads routed expert weights from an SSD into a shared cache of slots, sizing that cache to available memory instead of loading the full model. It supports prefix caching for follow-up turns and exposes Ollama-compatible and OpenAI-compatible chat APIs, as well as a command-line prompt mode; the documented API subset supports streaming, CORS, and sampling options but not tools, images, JSON-schema output, or logprobs.

View repository Mentioned in 2 videos ↓

Overview

The project requires macOS 14 or later, Apple Silicon, and roughly 110 GB of free disk space for the model weights. Its installer provides signed release binaries, and the repository can also be built with Swift and the macOS Command Line Tools. The source is MIT-licensed; the model weights are distributed under the Qwen community license.

What slotstream is used for

2 uses taken from transcripts — each links to the moment in the video.

  • Runs a 125-billion-parameter model on a Mac by streaming its weights from an SSD, with Ollama API compatibility and prefix caching for faster follow-up replies.

  • An open-source runtime for running a 125-billion-parameter mixture-of-experts model on a Mac with less RAM than the full model requires. It keeps shared components and hot experts in memory while streaming other experts from an SSD on demand.

Videos mentioning slotstream

2 in the library.