TechNewsReel
Live

Slotstream runs 125B parameter Qwen model on low-memory Macs

A new Swift and MLX-based tool uses expert-offloading to run massive models on hardware with as little as 16GB of RAM.

TechNewsReel Newsroom · September 1, 2026

Developer carloslfu has released slotstream, a tool that allows the 125B parameter Qwen3.8-Flash-Next model to run on consumer Mac hardware. The project breaks the traditional memory barrier, enabling a model that requires 104GB at 4-bit quantization to operate on machines with significantly less RAM, with a planned memory floor of 8.1GB.

Built using Swift and the MLX framework, slotstream employs a technique called "expert-offloading" combined with SSD-streaming. Rather than loading the entire model into memory, the system keeps only the 3.8GB dense trunk resident. The remaining components—including 68GB of routed experts and a 32GB n-gram table—are streamed from the SSD into a managed cache as needed. On a 48GB Mac (M5 Pro), the tool delivers approximately 12 tokens per second during warm decode, with a cold start to first token taking about three seconds.

The Memory Bottleneck

Large Language Models typically require their entire weight set to be loaded into VRAM or RAM for efficient inference. For a 125B parameter model, this requirement exceeds 100GB, which is far beyond the capacity of most consumer laptops. While standard memory-mapping (mmap) is often used to handle large files, it frequently fails or triggers excessive system swapping in MLX because the framework cannot materialize partial memory-mapped tensors for specific operations, such as expert gathering.

Industry Implications

This approach demonstrates a viable path for running frontier-scale Mixture-of-Experts (MoE) models on consumer-grade hardware by treating the SSD as an extension of system memory. By intelligently streaming only the specific "experts" required for each token, slotstream removes the hard hardware requirement that previously restricted high-parameter models to cloud GPUs or high-end professional workstations.

Interestingly, the tool implements a "knee" at 33GB of memory. According to the project documentation, increasing RAM beyond this 33GB threshold does not provide significant improvements to either decode or prefill speeds, suggesting a point of diminishing returns for local MoE streaming.

Integration and Requirements

To ensure ease of use, slotstream provides an Ollama-compatible API on port 11434. This allows it to integrate directly with the Ollama CLI, Open WebUI, and various OpenAI SDKs. However, the primary bottleneck shifts from RAM to storage; developer carloslfu noted that users need approximately 110GB of free disk space, making a 512GB Mac the realistic minimum for the installation.

Sources

Get a notification when a big story breaks. A few a day at most — no spam.