---
title: "Magnitude says an SSD can keep a giant sparse AI model at 40 tokens a second: the arithmetic of that claim"
kind: essay
date: 2026-11-22
author: Gürkan Özkan
url: https://gurkanozkan.ai/writing/ssd-expert-streaming/
markdown: https://gurkanozkan.ai/writing/ssd-expert-streaming.md
description: Sparse AI models consult only a few percent of their weights per token, so a fast disk can serve what does not fit in memory. Checked with arithmetic, no more than 2.2% of the reads may wait for the disk, and one reported cache reaches 97 to 99%.
topics:
  - ai
tags:
  - moe
  - inference-serving
  - nvme
  - memory-hierarchy
  - explainer
concepts:
  - inference-serving
  - memory-bandwidth
  - mixture-of-experts
  - quantization
  - speculative-decoding
---

# Magnitude says an SSD can keep a giant sparse AI model at 40 tokens a second: the arithmetic of that claim

**Figure:** Cover: The claim as one picture: at 40 tokens a second, at most 2.2% of the weight reads may wait for the SSD, so at least 97.8% must already sit in faster memory. Source: Tom Greenwald (Magnitude), post on X, 20 November 2026; the bandwidth arithmetic is the essay's own.

Three stacked tiers, GPU memory, system RAM and NVMe SSD, drawn as grids of experts. The GPU grid is all resident experts, the SSD grid is mostly idle experts outlined in dashes. At 40 tokens a second at most 2.2% of the reads may wait for the disk; at least 97.8% must already be resident.

> **In plain words**
>
> A [mixture-of-experts](https://gurkanozkan.ai/concepts/mixture-of-experts/) model consults only a small slice of its weights per token, so the whole model no longer needs to sit next to the processor. A fast SSD can fill in the missing pieces, but only if the frequently consulted ones already sit in faster memory. Worked out for a 552-billion-parameter model, at 40 tokens a second no more than 2.2% of the weight reads may wait for the disk. One reported cache reaches 97 to 99%, so the claim is arithmetically within reach. It has not yet been measured by anyone outside its own team. {#p-xoboxg}

On 20 November 2026 the founder of Magnitude, a two-person startup that builds an open-source inference engine, posted a claim on X: DeepSeek V4.1 Flash, a model with 552 billion parameters, at about 40 tokens a second on a single gaming GPU, with most of the model’s weights living on an SSD. The release was promised for the Monday after. The post listed why earlier disk-backed attempts feel slow, and named five fixes: a cache that keeps the session’s most-used experts in GPU memory, a lookahead that pulls upcoming experts off the SSD before they are needed, NVMe reads scheduled across layers, a prefill path that reads each cold expert once, and speculative decoding built into the same engine. {#p-g69duw}

The post did not publish a method, a hardware list, a prompt mix or a warm-up rule behind the number. This piece works out what the claim requires and checks those requirements against what has been measured by others. {#p-a5hld1}

## Why an SSD enters the argument at all {#why-an-ssd-enters-the-argument-at-all}

A [mixture-of-experts](https://gurkanozkan.ai/concepts/mixture-of-experts/) (MoE) model splits each feed-forward layer into many small sub-networks, the experts, and a router picks a few of them per token. Magnitude’s own table puts the shares at a few percent: DeepSeek V4.1 Flash, 552 billion parameters in total, ~16 billion active per token; Qwen 3.8 Flash Next, 180 billion in total, ~6 billion active; Kimi K3.1 Pro, 2.8 trillion in total, ~104 billion active. A 2025 preprint measured the same shape elsewhere: 96.1% of DeepSeek-R1’s weights are routed experts, and a single token touches 3.5% of them (the preprint is not peer reviewed, and its experiments ran on datacentre GPUs, not consumer boxes). {#p-k1qz1w}

Generating one token means reading every active weight once, so answering speed is set by how fast those bytes arrive, not by how fast the chip computes. [Quantisation](https://gurkanozkan.ai/concepts/quantization/) to four bits puts one weight in half a byte. I worked this out as follows for the model in the claim: 16 billion active weights at half a byte make 8 GB of weight reads per token, and 40 tokens a second ask the memory hierarchy for 320 GB/s. {#p-r61s4l}

No single tier of a consumer machine has that. The hierarchy supplies it together: fast memory on the graphics card, system memory behind it, the NVMe SSD behind that. Each token’s 8 GB should come almost entirely from the top two tiers. The SSD’s job is the residue, and the claim fixes how big that residue may be. {#p-e0ecol}

**Figure:** Follow one token: a resident expert costs nothing; a streamed one has to be read early enough to hide inside the previous layer. Source: Tom Greenwald (Magnitude), post on X, 20 November 2026; the bandwidth arithmetic is the essay's own.

The NVMe, RAM and GPU boxes above a token timeline. With lookahead the 16 MB expert read runs during the previous layer. Without it the GPU waits on the read. With a hot expert nothing crosses the hierarchy and the 25 ms token is all compute.

## The ceiling on misses {#the-ceiling-on-misses}

I worked the ceiling out as: the SSD may carry at most its own bandwidth out of the 320 GB/s. A single Gen4 NVMe drive streams at about 7 GB/s, so at least 97.8% of the weight reads must already be resident when the token needs them. A Gen5 drive at 13 GB/s lifts the bar to 95.9%, and two mirrored Gen5 drives to 92.5%. That is the whole technique compressed into one number: expert streaming is not about reading fast from disk, it is about the disk almost never being asked. {#p-z44c7g}

The second arithmetic check is timing. Over a grid I assumed for a model of this class, 61 layers of 256 routed experts, the expert share of the weights works out to about 32 million parameters per expert, 16 MB at four bits. Reading 16 MB from a 7 GB/s drive takes 2.3 ms. A token at 40 tokens a second takes 25 ms of the GPU’s clock. One late expert fits, four late experts in one token do not. Every miss has to be paid for inside the previous layer’s compute, which is what the lookahead and the cross-layer read scheduling are for. {#p-f4ay24}

**Chart:** At 40 tokens a second the SSD may carry only its own bandwidth, which sets how large the resident share must be. Bars start at zero. Source: A contributor's two-tier expert pool in the llama.cpp discussion, September 2026 (one runtime, not a published benchmark); the required rates are the essay's own arithmetic.

*Bandwidth the SSD tier may carry, and the resident share the claim needs*

| SSD tier | Bytes per second (GB/s) | Reads that must be resident (%) |
| --- | --- | --- |
| Gen4 NVMe, 7 GB/s | 7 | 97.8 |
| Gen5 NVMe, 13 GB/s | 13 | 95.9 |
| two mirrored Gen5, 24 GB/s | 24 | 92.5 |
| reported pool, one user, steady state |  | 97 to 99 |

## What has been measured by others {#what-has-been-measured-by-others}

Two open-source engines have published working SSD-streaming systems, and neither published a speed that matches the claim. {#p-zcjvxk}

Colibri, a pure-C engine with a large following on GitHub, runs GLM-5.2, a 744-billion-parameter model, by streaming 21,504 routed experts from 370 GB on disk with about 9.9 GB resident. Its write-ups describe the result as viable rather than fast. It also notes the failure modes the Magnitude post lists: caching that evicts an expert right before it is needed again, and the GPU idling while one layer waits on disk. {#p-jy3ch6}

A Hugging Face engineer published the first side-by-side numbers on 18 November 2026, on one 24 GB GPU with a 35-billion-parameter MoE. The expert-streaming engine Strata led at 82 to 88 tokens a second, ahead of llama.cpp at 63 to 64 with experts in RAM, vLLM at 20.1 with pinned RAM, and the ordinary Hugging Face offload path at 0.16. The same author ran Strata with a 180-billion-parameter model on a 32 GB laptop: 13.5 tokens a second. I worked the headroom out as: that model’s ~6 billion active weights at 8 bits are 6 GB per token, the machine’s published 273 GB/s roofline is 45 tokens a second, and 13.5 is 30% of it. Measured systems are living with a 30% roofline, which is where the misses and the waiting show up. {#p-ac610z}

**Chart:** Where streaming engines sit today on a smaller model: fastest in the field, and a quarter to a half of the claimed regime. Source: Tarek Ziadé, "180B Parameters, 32GB of RAM", Hugging Face blog, 18 November 2026 (his own runs, one 24 GB GPU, Qwen3.6-35B-A3B).

*Decode speed, tokens a second, on one 24 GB GPU (Qwen3.6-35B-A3B)*

| Engine | Tokens a second |
| --- | --- |
| Strata (expert streaming) | 82 to 88 |
| llama.cpp, experts in RAM | 63 to 64 |
| vLLM, pinned RAM | 20.1 |
| ordinary offload path | 0.16 |

The hit rate the ceiling demands has been reported, once, by someone who built the cache themselves: a llama.cpp contributor described a two-tier GPU-then-RAM expert pool holding a 97 to 99% steady-state hit rate. That is one runtime on one model, not a benchmark, and steady state is the keyword: it is the rate after the cache has settled into one conversation. {#p-81xmro}

## What the claim does not rest on yet {#what-the-claim-does-not-rest-on-yet}

The 97.8% figure is a floor for one model, one quantisation and one speed. Change any of the three and the bar moves: half the speed halves the bandwidth and the miss budget doubles in size. None of the published numbers is from a running Magnitude engine, because it was not out when this was written. {#p-79tku3}

Three of the failure modes have published evidence against easy solutions. Topic switches start a miss storm: a settled cache is tuned to one stretch of conversation, and the first tokens after a subject change pay the disk repeatedly. Long prompts put prefill, which reads the whole model’s dense part once per token batch, against the hot cache the decode phase lives on, which is why the post lists a separate streaming prefill. And expert caching splits the computation graph: the llama.cpp discussion reports roughly a 10% loss from that splitting even when everything fits, a cost any engine has to engineer around, and one that [speculative decoding](https://gurkanozkan.ai/concepts/speculative-decoding/) has to cooperate with rather than fight. {#p-i5bht5}

The energy argument cuts the other way: the same preprint’s core finding is that flash reads cost real energy, enough at datacentre scale to matter. A single consumer machine will not notice. A fleet of them is a different bill. {#p-3ts3c7}

## What to take from it {#what-to-take-from-it}

The claim is arithmetically within reach: a 3% sparse model at 40 tokens a second asks the SSD for under 2.3% of the reads, the expert locality reported by others lands in that range, and two engines have demonstrated the mechanism. What is unproven is the whole system together: the reported hit rate is one user’s steady state, the published speeds are a quarter to a half of the claimed number on smaller models, and no outside machine has measured the release. Treat 40 tokens a second as the ceiling of a possible regime, not a measured floor. The number to watch in the first independent benchmarks is not tokens a second but time to first token after a topic switch, where the miss storms live. {#p-ck33gq}

## Sources {#sources}

- Tom Greenwald (Magnitude), post on X, 20 November 2026, accessed 22 November 2026. The model table, the five techniques and the speed claim, in the vendor’s voice; no method published with them.
- magnitudedev/magnitude on GitHub and the Y Combinator company page, accessed 22 November 2026. Licence, language mix, and the 13 November commit listing measured memory stream rates (M4 Pro 263 GB/s, GB10 237 GB/s).
- JustVugg/colibri on GitHub, accessed 22 November 2026, with third-party write-ups (flowtivity.ai, ai-tldr.dev) for the 744B figures.
- Tarek Ziadé, “180B Parameters, 32GB of RAM”, Hugging Face blog, 18 November 2026, accessed 22 November 2026. All side-by-side decode speeds here are that author’s own runs on one 24 GB GPU.
- ggml-org/llama.cpp issue #20757 and discussion #24528, accessed 22 November 2026. The 97 to 99% hit rate is a contributor’s own runtime, not a published benchmark.
- arXiv:2508.06978, “SSD Offloading for LLM Mixture-of-Experts Weights Considered Harmful in Energy Efficiency”, accessed 22 November 2026. Preprint, venue not checked, datacentre hardware only.
