Blog / 2026-11-19
2026-11-19local ai qwen inference open source homelab

Three shelves at different speeds: how a 125B model moved in with me

A 125B model at 50 tokens per second on a 16 GB consumer card, and why the real story is a lab designing around scarcity plus an open source community that builds the software to exploit it.

Flat cartoon of a robot with the Qwen mark on its chest sitting in lotus meditation on a rug, a laptop on a wooden desk behind it and an orange cat asleep at its side
Flat cartoon of a robot with the Qwen mark on its chest sitting in lotus meditation on a rug, a laptop on a wooden desk behind it and an orange cat asleep at its side

A year ago I believed the spec sheet: 16 GB of graphics memory, therefore small models. I stopped believing it last week. The 125 billion parameter model answering these days at about 50 tokens per second on my machine is proof that the spec sheet was describing one wall, when the problem always had three shelves.

The model that only wakes up partway

My daily model is Qwen3.8 Flash Next, a mixture of experts: 125 billion parameters in total, and for each token it reads, only about 6 billion are active. The other 119 billion are not missing, just asleep. A dense model has no such mercy: every parameter works on every token, which is why my earlier 27B dense run maxed out the card at 32 or so tokens per second in real sessions.

Sparse activation is the part I did not design. It is a design choice made at Alibaba's Qwen team, and it matters that they made it: they build frontier models for a market where the best accelerators are export-restricted. The constraint is baked into the architecture. Their own open releases, including the MTP draft heads that speed up decoding, hand the same trick to anyone.

Three shelves, and a scheduler that never stops

The awake part fits on the card. The asleep experts have to live somewhere. This is where "it runs in my house" gets concrete: I run llama-swap as the gatekeeper, and the inference engine changes underneath it. The last two months took me through three:

  • llama.cpp, the workhorse that served the dense 27B era and still serves my small utility models. - Strata, which made the sparse model usable: hot experts cached on the GPU, the rest resident in system RAM, the conversation KV cache kept in pinned RAM, one request at a time. At its best logged days, it averaged 79 tokens per second across 209 real requests, with a decode median of 65 in long sessions and prefill (reading a long prompt) at 1,400 to 1,550 tokens per second. - Basalt, a young fork of Strata I swapped in the day before writing this. In a clean side-by-side on my box it wins vision (1.6x) and mid-length prompt reads (+47% at 32K), ties at long context, and loses a few percent on JSON decoding. I keep it because my work is vision-heavy. The measurement story itself, contaminated first run, careful redo the same night, is its own post.

The shelves are simple to name: GPU, RAM, and the pinned/disk spill for cache. What is not simple is the traffic cop: every request has to decide which experts move up, which pages of KV stay warm, and what pays a cold read. That decision, a thousand times a day, is the whole product. Nobody sells it to me; I run code that people I have never met maintain for free.

The part nobody can buy

It is tempting to read this as one lab's win. It is half true. DeepSeek came out of the same scarcity logic, training competitive models on export-limited hardware, and it changed what the whole industry thought was possible about compute per dollar.

The other half is that none of this is usable as an isolated artifact. The model is one file; the speed is llama.cpp, Strata, Basalt, vLLM, a dozen engines racing each other in public, publishing their benchmarks and their crash reports. When I swapped Strata for Basalt, a 125B model that used to need a cold start measured in minutes came down to about a minute, and my vision pipeline went 1.6x faster, all without buying anything.

The lesson I keep re-learning is boring and true: the cheapest intelligence is the one built assuming scarcity, and the most durable kind is the one anyone can rebuild.

Part of the daily AI-journey series: published here Mon-Sat alongside the LinkedIn edition, this version carries the fuller detail.