Skip to content
简体中文

切换主题

// 在本地跑模型

FreeToken(消费级显卡本地跑大型 MoE 模型)

FreeToken 是 FlashML 以 Apache-2.0 许可证开源的端侧 MoE(混合专家)模型推理引擎,目标是在个人电脑和消费级显卡上本地运行 2900 亿参数以上的前沿开源 MoE 模型。它把 GPU、CPU、内存和互联统一调度,采用带宽自适应的 CPU–GPU 协同执行、全局 LRU 专家缓存和 FTW 快速权重格式,支持运行时在专家缓存和 KV 缓存之间动态分配显存,并对 agent 场景的上下文编辑做语义缓存以减少重复计算。支持 DeepSeek-V4-Flash、Qwen3.6-35B-A3B、GLM-5.2 等模型及 MXFP4、NVFP4、FP8、BF16 等格式,原生支持 NVIDIA RTX 30/40/50 系列显卡,提供兼容 Anthropic/OpenAI 的接口,可接入 Codex、Claude Code、OpenCode 等编程 agent。官网提供 Windows 和 Linux 桌面应用,也可用 uv/pip 安装命令行版。

开源 维护中 开发者

一段话结论

FreeToken(消费级显卡本地跑大型 MoE 模型) 是FreeToken 是 FlashML 以 Apache-2.0 许可证开源的端侧 MoE(混合专家)模型推理引擎,目标是在个人电脑和消费级显卡上本地运行 2900 亿参数以上的前沿开源 MoE 模型。它把 GPU、CPU、内存和互联统一调度,采用带宽自适应的 CPU–GPU 协同执行、全局 LRU 专家缓存和 FTW 快速权重格式,支持运行时在专家缓存和 KV 缓存之间动态分配显存,并对 agent 场景的上下文编辑做语义缓存以减少重复计算。支持 DeepSeek-V4-Flash、Qwen3.6-35B-A3B、GLM-5.2 等模型及 MXFP4、NVFP4、FP8、BF16 等格式,原生支持 NVIDIA RTX 30/40/50 系列显卡,提供兼容 Anthropic/OpenAI 的接口,可接入 Codex、Claude Code、OpenCode 等编程 agent。官网提供 Windows 和 Linux 桌面应用,也可用 uv/pip 安装命令行版。

适合:想在本地跑模型的开发者和团队。

01怎么开始

  1. 1先看官方快速上手(上方按钮)。
  2. 2按官方说明安装或注册。
  3. 3先拿一个小例子跑通,再接进项目。

02README(项目原文)

以下内容来自 FlashML-org/FreeToken 的 README,许可证 Apache-2.0,版权归原作者。 查看原文 ↗

FreeToken

| Download | Paper | Developer Slack | Community Discord | Community WeChat |

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.

03替代品与对比

并排对比 →

04相关

版本历史 · 收录依据 · 给 AI 读

给 AI 读

数据更新于:AI 软件库与热度 · 软件档案 / 需求 · 软件官方下载(北京时间)