
The 290B model is being integrated into a desktop machine: FreeToken aims to enable interactive inference using Mixture-of-Experts (MoE) on desktop computers.
The open-source reasoning engine, FreeToken, utilizes CPU-GPU collaboration with bandwidth adaptation and agent-oriented semantic caching to fit over 290B MoE models into consumer-grade hardware. The authors include Keutzer, Song Han, Zaharia, and Stoica.
Related tags
Moving the 290B Model to a Game Console: FreeToken Aims to Achieve Interactive Speed for MoE Inference on Desktop Machines
A common bottleneck when running large models on desktop machines is "insufficient memory." However, the real culprit is often bandwidth. The weights of MoE (Mixture-of-Experts) models need to be constantly transferred between memory and GPU memory, and the speed of this transfer determines how long it takes for each token to process.
FreeToken, an open-source project from FlashML-org, aims to solve this problem. Its description is straightforward: bring data center-level model services to your existing hardware, enabling interactive speeds for 290B+ state-of-the-art MoE models on game consoles.
The project has gained significant traction since its creation in July of this year, with over 16,109 stars and 653 contributors. It is written in Python and uses the Apache-2.0 license.
Treating GPUs, CPUs, and Memory as a Single Elastic Resource
FreeToken's official description is "an edge-native MoE service engine." It doesn't treat the GPU as the sole computing location but instead considers GPUs, CPUs, host memory, and interconnect channels as a unified elastic inference platform. Key design features include:
- Bandwidth-Adaptive CPU–GPU Collaboration: The project uses a strategy called "
q*" to allocate computational resources between the CPU and GPU based on real-time bandwidth, rather than hardcoding which layers run on which device. This includes full-layer double-buffering prefill streaming loading, global LRU (Least Recently Used) expert caching, graph-compatible execution, and a fast weight format called FTW. - Agent-Oriented Semantic Caching: This is where FreeToken differs significantly from other inference engines. The workload characteristics of an "agent" are not based on a single, long prompt, but rather on repeatedly rewriting the same context—inserting tool call results, deleting thought blocks, and rolling back states. FreeToken provides "semantic anchoring checkpoints" for these cyclical states and KV (Key-Value) caches, allowing editors to avoid recomputing prefixes that have already been calculated. Developers familiar with agents know that this can save a significant percentage of latency, typically in the range of 10-20%.
- Runtime Dynamic VRAM Allocation: The allocation of VRAM between expert and KV memory can be dynamically adjusted at runtime without requiring engine restarts or reloads.
Supported Formats
The model side lists prominent open-source MoE models such as DeepSeek-V4-Flash, Qwen3.6-35B-A3B, and GLM-5.2, covering quantization formats like MXFP4, NVFP4, FP8, and BF16. The hardware side natively supports NVIDIA RTX 30/40/50 series cards, with the ability to scale up to workstation cards.
The API side provides compatible APIs for Anthropic and OpenAI, meaning that existing coding tools like Codex, Claude Code, OpenCode, OpenClaw, and DeepSeek Harness can be easily integrated. This simplifies deployment and is a key selling point of FreeToken compared to other similar projects.
Installation
For users who prefer not to use the command line, the official Windows and Linux desktop versions (available for download from flashml.ai) provide a GUI, allowing you to run models, chat, and adjust engine parameters.
pip install "freetoken[accel]"
Alternatively, you can build from source: venv> uv venv followed by uv pip install -e ""."". The latest version (v0.2.0) supports GGUF, and v0.2.1 (as of October 26th) further supports image input for GGUF models (simply place a llama.cpp mmproj file alongside), adds support for more GGUF architectures, and moves the embedding table into host memory.
Paper Origins and Open Source Contributions
The README includes a link to the arXiv paper "FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution," authored by Kurt Keutzer, Song Han, Matei Zaharia, Ion Stoica, and Chenfeng Xu – all well-known figures in the systems and efficient inference fields.
The project also openly acknowledges its origins: It was inspired by mini-sglang, reusing code and designs from SGLang, vLLM, FlashInfer, flash-linear-attention, LightLLM, and llama.cpp. This is a pragmatic approach for a lab project aiming to quickly catch up with industrial-grade engines, but it also means that its maturity will depend on real-world performance—the "blistering interactive speeds" mentioned in the README are goals, not guarantees, and the actual speed will depend on your GPU, memory bandwidth, and storage.
Repository address: https://github.com/FlashML-org/FreeToken
More News
Want to see more quality content?
Browse all news