Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

20 stars

Watchers

0 watching

Forks

Repository files navigation

FreeToken-metal

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

Run frontier open-weight MoE models on the Mac you already own: FreeToken for Apple Silicon.

About

FreeToken-metal is the Apple Silicon port of FreeToken, an edge-native MoE serving engine, built on MLX and Metal.

  • Fast on Metal: custom Metal kernels and captured decode steps keep the GPU busy.
  • Prefix caching: multi-turn and agent sessions reuse the context they already sent.
  • MoE offload: models larger than memory serve their experts from the SSD.
  • Models: Qwen3.6-35B-A3B, Gemma 4, Qwen3.8-Flash-Next and Flint, with image input.
  • Agent-ready: OpenAI and Anthropic APIs, and ftm launch for Claude Code, Codex, OpenCode and more.

Runs on Apple Silicon Macs with macOS 15 or later.

Getting Started

Install FreeToken-metal with uv (recommended) or pip:

uv tool install --python 3.13 freetoken-metal
ftm serve --model /path/to/Qwen3.6-35B-A3B-MLX

Or build it from source:

git clone https://github.com/FlashML-org/FreeToken-metal.git && cd FreeToken-metal
./install.sh

Citation

If you use FreeToken-metal for your research, please cite the FreeToken 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-metal is the Apple Silicon port of FreeToken and is built on MLX.

License

Apache License 2.0.

About

No description, website, or topics provided.

Resources

Contributing

Stars

20 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages