AI News
All stories
Official

FreeToken paper describes an edge-native MoE serving system for personal machines

An arXiv preprint from 11 authors describes FreeToken, a system for running large open-weight mixture-of-experts models on local hardware.

Open Source · · 3 min read

A preprint posted to arXiv on 17 August 2026 describes FreeToken, a serving system that its 11 authors say can run large open-weight mixture-of-experts (MoE) models on personal machines. The range runs from an 8GB laptop GPU to a single workstation GPU. The paper claims the system can run a 35B model on a laptop, a 284B model on a gaming desktop, and the 753B GLM-5.2 on one workstation GPU. It calls the machine a "unified, elastic inference platform" rather than a small GPU.

In an MoE model, each token passes through only a few of a layer's experts, so the compute per token is small. The memory problem is that every expert still has to be stored somewhere. The paper's example is DeepSeek-V4-Flash, which activates 6 of 256 routed experts in each of its 43 layers. Only 13B of its 284B parameters take part in any one token. At the deployed precision, those active parameters fit in the 32GB of an RTX 5090, but the full expert pool does not. Inactive experts therefore sit in host memory or secondary storage and must be moved in when needed. During prefill, thousands of prompt tokens together touch most experts in every layer, so the paper says a prefill streams almost the whole pool. For the FP4 version of DeepSeek-V4-Flash, that is roughly 140 GB. This adds about two seconds on an RTX 5090 system with PCIe 5.0 x16 (around 60 GB/s), five seconds on 4090- and 3090-class desktops, and ten or more seconds on laptop x8 links.

FreeToken's answer is to split the work by phase. During prefill, it double-buffers expert transfers, so the GPU computes the current layer while the next layer's experts stream in. During decode, cache misses can be served by copying the expert to the GPU or by running it on the CPU. Both options draw on the same host-memory bandwidth. The paper's q⋆ policy divides each step's misses between GPU cache fill and direct CPU execution. According to the paper, the right split is hardware-specific and must be measured on the machine itself. The bandwidth gap explains why. Consumer CPUs have roughly 50 GB/s of peak memory bandwidth on dual-channel DDR4 and 80 to 90 GB/s on DDR5. The GPU's own memory offers 1 to 1.8 TB/s.

Agent workloads also get special handling. The paper says harnesses edit context at thinking segments and tool calls. That edit invalidates saved recurrent-state checkpoints, so FreeToken anchors checkpoints at those boundaries and recomputes only the new suffix. A shared LRU expert cache exploits the fact that adjacent tokens often route to overlapping experts. Memory is elastic. The GPU expert cache can be resized at scheduler safe points without restarting the engine or reloading the host-resident pool. The paper notes that reading the 140 GB pool from a 7 GB/s NVMe drive alone takes about 20 seconds, which is why avoiding reloads matters.

The main evaluation covers three models: Qwen3.6-35B-A3B, DeepSeek-V4-Flash and GLM-5.2. It runs them on six machines, from an 8GB RTX 4060 laptop to a single RTX PRO 6000 workstation. It uses four agentic workloads and compares against llama.cpp, Ollama, KTransformers and MoE-Infinity. On an RTX 5090, the paper reports 77 to 83 tok/s for Qwen3.6-35B-A3B and 22 to 25 tok/s for DeepSeek-V4-Flash. Across workloads, it reports 1.5 to 2.3x the decode throughput of competing edge engines. The decode rate stays within 12% of the single-turn setting as workloads become more agentic. Worst-case time to first token stays below 44 s. Each baseline exceeds 150 s in at least one setting, a delay the paper says is long enough to trigger timeouts in real agent clients. Across five consumer systems, the paper reports 1.3 to 2.1x higher decode throughput.

The paper says the 8GB RTX 4060 laptop serves a 35B model at 39.3 tok/s. That is above the 33 tok/s median decode speed of Codex in production traces, which the paper attributes to Zhu et al. (2026). The comparison sets one model's speed against another product's traces. It measures speed, not whether the locally served model matches Codex's output. The introduction gives no tokens-per-second figure for the 284B gaming-desktop run or the 753B GLM-5.2 run on the workstation. It says the desktop serves the 284B model "interactively" and that the workstation delivers twice llama.cpp's throughput on GLM-5.2. The paper says FreeToken supports more than 20 MoE models but does not list them in the text. Its own figure places Kimi-K3 outside the consumer range, since its open weights total 594 GB.

The paper points to a GitHub repository at FlashML-org/FreeToken for code and to flashml.ai for downloads.

What changed

An arXiv preprint describes FreeToken, a serving system that its authors say can run large open-weight MoE models on personal machines.

Type: Research · Applies to: FreeToken

Why it matters

Teams weighing local inference for agent workloads may find that large open-weight MoE models can run on existing workstations, though these are the authors' own claims and are not independently verified.

Original source

Where we saw it

1 source

arxiv.org

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works