Skip to main content
FreeToken

| Download | Paper | Developer Slack | Community Discord |

Unlock datacenter-class intelligence on the hardware you already own — Run 290B+ frontier MoE models locally on your gaming PC at blistering interactive speeds.

About

FreeToken is an edge-native Mixture-of-Experts (MoE) serving engine designed for running frontier-scale open-weight models on personal and consumer hardware. It treats heterogeneous edge resources—GPUs, CPUs, host memory, and interconnects—as a unified, elastic inference platform. Its core features include:

  • Fast Edge-Native Runtime: Provides efficient MoE serving with bandwidth-adaptive CPU–GPU co-execution ($q^\star$ policy), full-layer double-buffered prefill streaming, global LRU expert caching, graph-compatible execution, and the FTW fast weight format.
  • Semantic-Aware Caching: Features semantic anchor checkpoints for recurrent state and KV caches, allowing agentic context edits (e.g., tool calls, thinking blocks) to avoid redundant context recomputation.
  • Elastic Memory Management: Supports dynamic, runtime VRAM re-allocation between expert caches and KV memory without engine restarts or weight reloading.
  • Broad MoE & Ecosystem Support: Supports frontier open-weight MoE models (e.g., DeepSeek-V4-Flash, Qwen3.6-35B-A3B, GLM-5.2) across various parameter scales and quantization formats (e.g., MXFP4, NVFP4, FP8, BF16), with Anthropic/OpenAI-compatible APIs for seamless integration with real-world coding and tool-calling agents (e.g., Codex, Claude Code, OpenCode, OpenClaw, DeepSeek Harness).
  • Diverse Consumer Hardware: Scales across consumer laptops, gaming desktops, and workstation GPUs, with native support for NVIDIA RTX 30, RTX 40, and RTX 50 series GPUs.

Getting Started

Desktop app

Download FreeToken for Windows or Linux at flashml.ai. It sets the engine up for you and gives you a GUI for running models, chatting, and tuning the engine.

FreeToken Desktop

CLI

Install FreeToken with uv (recommended) or pip:

uv pip install "freetoken[accel]"

Or build from source:

git clone https://github.com/FlashML-org/FreeToken.git && cd FreeToken
uv venv && source .venv/bin/activate
uv pip install -e ".[accel]"

For More details:

Citation

If you use FreeToken for your research, please cite our paper:

@article{yang2026freetoken,
  title={FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution},
  author={Yang, Shuo and Fan, Xiaoze and Pan, Melissa and Xi, Haocheng and Wang, Zhe and Sun, Shanlin and Keutzer, Kurt and Han, Song and Zaharia, Matei and Xu, Chenfeng and Stoica, Ion},
  journal={arXiv preprint arXiv:2608.16157},
  year={2026}
}

Acknowledgment

FreeToken was deeply inspired by mini-sglang, and learned the design and reused code from the following projects: SGLang, vLLM, FlashInfer, flash-linear-attention, LightLLM and llama.cpp.

License

Apache License 2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

freetoken-0.1.2-cp313-cp313-manylinux_2_27_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64

freetoken-0.1.2-cp312-cp312-manylinux_2_27_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64

freetoken-0.1.2-cp311-cp311-manylinux_2_27_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64

freetoken-0.1.2-cp310-cp310-manylinux_2_27_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64

File details

Details for the file freetoken-0.1.2-cp313-cp313-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for freetoken-0.1.2-cp313-cp313-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 b3e86b4e7c696d0618090424d982578c72265adce71c6801c832ff8cb8540be0
MD5 e2f4e26c066bdea9671e88d3cf181277
BLAKE2b-256 07e38d118a24c03b3a74aee9f34d41703546ef731c1ea087e34f15e452b83271

See more details on using hashes here.

File details

Details for the file freetoken-0.1.2-cp312-cp312-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for freetoken-0.1.2-cp312-cp312-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 993afeb4ef1ee3a1c5302b3c46dea6545d86f4a6facc3ea386985e02f4466a2f
MD5 4553d67f0a81bdb8f76da62585aa3bdd
BLAKE2b-256 1f6d52103f3e455ce8bfaf8f61b60a02bc03decf0115fccecffbfc6869423989

See more details on using hashes here.

File details

Details for the file freetoken-0.1.2-cp311-cp311-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for freetoken-0.1.2-cp311-cp311-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 a1b62c2c8a5770f964b4b7496ac3e6d47dfd0c87cd37b3b61736e3048116ccfc
MD5 c2726a7840d25ab9ddb5bf3cfd2b11a2
BLAKE2b-256 5dc46793c7ac11cf5cda5a07f482f0a25ab63616ce23794a50342de2bcd5218d

See more details on using hashes here.

File details

Details for the file freetoken-0.1.2-cp310-cp310-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for freetoken-0.1.2-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 dbbb5e5b01e65692b2f13607b14c07ab4ecd5314aa0ec11409bc27f073523b82
MD5 20445e109da4ae7a193813c4428050ce
BLAKE2b-256 3eb53e2c16cb1aa7b4f49d0d24d9b73a11e6e4319a8b6a605621f830ebb2fdae

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

4 files

0.1.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page