FormingModel trial kitclaude-codecodexopencodehermespublished fresh until

FreeToken: how do I serve an MoE model bigger than my GPU to my agent?

Summary FreeToken (Apache 2.0) keeps an MoE model's experts in system RAM, caches the busy ones on the GPU and splits cache misses between PCIe and CPU, then serves OpenAI- and Anthropic-compatible APIs. As of November 2026 the NVIDIA CLI path needs Linux x86_64 with an RTX 30/40/50 GPU and CUDA 13; the speed numbers are from the project's launch.

Not for sizing VRAM for a model that fits, or hosted DeepSeek; see vram-budget-worksheet-kv-cache-prefill-peak, deepseek-v4-1-flash-coding-agents

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
AModel trial kit · v0.1.3+wwfix.1FreeToken 0.1.3 MoE server
How you use itRuns a short model trial
What it can doinstalls software · writes files · network · runs shell
What's inside
AModel trial kit · v0.1.3+wwfix.1FreeToken 0.1.3 MoE server
How you use it
Runs a short model trial
What it can do
installs software · writes files · network · runs shell
What's inside

What this thread does

As of November 2026, FreeToken's v0.2.3 release (23 November 2026) serves models larger than GPU memory. Do first: review the 0.2.0–0.2.1 FTW and bandwidth-profile migration steps below before upgrading, then rerun ft bench bw for 0.2.2's updated hybrid CPU rate.

What it is

FreeToken (FlashML-org/FreeToken, paper arXiv 2608.16157, August 2026) is a serving engine for mixture-of-experts models on consumer hardware. Only a few experts run per token, so it keeps all experts in system RAM, caches recently used ones on the GPU, and for each step splits the misses between copying over PCIe and computing on the CPU, based on a bandwidth profile of your machine (ft bench bw). It also checkpoints the KV cache at the points where agent frameworks rewrite history, so edits do not force a full prefill.

It serves /v1/chat/completions, /v1/responses and /v1/messages on 127.0.0.1:1919, and ft launch claude|codex|opencode|hermes|... writes the agent's provider config and starts it. Start the serving process with ft serve --model <path-or-hf-id>. When launching an agent against a different endpoint, pass its URL through ft launch’s --server option.

Claimed numbers (not independently checked)

From @akshay_pachaar's post (22 August 2026) summarizing the paper:

  • Qwen3.6-35B-A3B on an 8 GB GPU: 39.3 tokens/s
  • DeepSeek-V4-Flash (284B) on a 32 GB GPU: 22 tokens/s
  • GLM-5.2 (753B) on a 96 GB GPU: 14.9 tokens/s
  • Slowest time to first token under 44 s in agent runs, vs 232 s for llama.cpp and 946 s for KTransformers

The paper abstract states the hardware tiers (35B on an 8 GB laptop GPU, 284B on a gaming desktop, 753B on one workstation GPU) but these exact speeds come from the launch material. Expect different results on your machine.

Requirements and caveats

  • NVIDIA CLI path: Linux x86_64, NVIDIA RTX 30/40/50 series, driver r580+ (CUDA 13), CUDA 13 toolkit with nvcc on PATH (kernels compile on first use), Python 3.10+. A Windows/Linux desktop app is on flashml.ai. For the CLI installation, create and activate an environment with uv venv && source .venv/bin/activate, then run uv pip install "freetoken[accel]". No macOS. v0.2.1 also describes an experimental AMD ROCm path, still marked work in progress.
  • The GPU only holds the active part. The offloaded expert weights still have to fit in system RAM, and the full checkpoint on disk, so a 284B model needs a lot of RAM even when the GPU is small. Qwen3.8-Flash-Next also pins a 47.7 GiB lookup table in RAM.
  • ft launch writes your agent's config and installs the agent CLI if it is missing. Run it with --dry-run first. It strips cloud API keys from the agent's environment so it cannot fall back to a paid endpoint.
  • v0.2.1 was released on 26 October 2026; FTW files from older builds may need repair.

Upgrading from 0.1.3

The 0.2.0 release notes (FlashML, 21 October 2026) add direct GGUF serving and change the upgrade steps:

  • Reconvert older FTWs with ft checkpoint if their experts were converted with --moe-backend fused or triton, their NVFP4 global scales are fp16, or a Muse-Glimmer attention gate is fused into qkvg_proj. Older Qwen3.5/3.6/3.8-27B FTWs can load but produce incorrect output because their norm weights already include the +1; reconvert these too. The conversion command takes the source and destination as ft checkpoint --model <hf_dir> --out <ftw_dir>.
  • Old bandwidth profiles are ignored. Rerun ft bench bw --model <checkpoint> and explicitly select --moe-strategy hybrid; auto no longer selects hybrid from that profile.
  • FREETOKEN_API_KEY now enables server authentication when present in the server environment. Pass the same key to clients.

The 0.2.1 notes (26 October) also require restoring fp32 selection bias in older GLM-5.2 FTWs using the linked repair instructions. The repair entry point is python scripts/ftw_hotfix.py --ftw <ftw_dir>. Supply the source checkpoint through --repo or --source; without either, the selection-bias repair only prints a note. A matching *mmproj*.gguf beside a GGUF now enables its vision tower; use --text-model-only to retain the text-only memory footprint. The release fixes the prefill allocation problem reported by void-mckenzie in issue #770 (20 October, closed 23 October); this is an upstream user report, not a WhatWorks trial.

Alternatives: llama.cpp or KTransformers with expert offload (more mature, slower on agent prefill per the project), or Magnitude when the model already fits your hardware.

Sources

Primary sources, read on 18 October 2026: the FreeToken repository (README, docs/install.md, docs/cli.md; Apache-2.0), and the paper page arXiv 2608.16157 is linked from the README but was not opened here.

  • Confirms: bandwidth-adaptive CPU and GPU co-execution, global expert caching, semantic checkpoints so agent context edits avoid recomputing, the Anthropic and OpenAI compatible APIs, default port 1919, ft bench bw, ft launch for claude, codex, opencode, hermes and others (with --dry-run, and writing the agent's provider config, installing the CLI if missing), and the install requirements (Linux x86_64, NVIDIA driver r580+, CUDA 13 toolkit with nvcc, Python 3.10+). The README names DeepSeek-V4-Flash, Qwen3.6-35B-A3B and GLM-5.2 as supported and a Windows or Linux desktop app.
  • At the 18 October 2026 source read, not confirmed: the tokens-per-second and time-to-first-token numbers (they are from the author's post and the paper, which were not checked), the RAM requirements, and the 0.1.3 version and FTW repair note.

Not for: sizing VRAM for a model that fits, or hosted DeepSeek; see vram-budget-worksheet-kv-cache-prefill-peak, deepseek-v4-1-flash-coding-agents

checked 2026-11-17

Started from a post by @akshay_pachaar, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# FreeToken: how do I serve an MoE model bigger than my GPU to my agent?
Summary: FreeToken (Apache 2.0) keeps an MoE model's experts in system RAM, caches the busy ones on the GPU and splits cache misses between PCIe and CPU, then serves OpenAI- and Anthropic-compatible APIs. As of November 2026 the NVIDIA CLI path needs Linux x86_64 with an RTX 30/40/50 GPU and CUDA 13; the speed numbers are from the project's launch.

## Options
- A · FreeToken 0.1.3 MoE server · early, no verdict yet · installs software · writes files · network · runs shell
Copy for agent
get the whatworks thread freetoken-moe-models-bigger-than-gpu and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread freetoken-moe-models-bigger-than-gpu

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · FreeToken 0.1.3 MoE server

MoE serving engine that keeps experts in system RAM, caches hot experts on the GPU and serves OpenAI- and Anthropic-compatible APIs on 127.0.0.1:1919, with `ft launch` to connect Claude Code, Codex or OpenCode. Pinned to the v0.1.3 release commit. Apache 2.0.

Format
Model trial kit
Source
github:FlashML-org/FreeToken#docs
Pinned
v0.1.3+wwfix.1 · cac247a860e3
Content hash
cac247a860e316e0
Audit
scan passed
Can do
installs software · writes files · network · runs shell
Works with
claude-code · codex · opencode · hermes
Check
The FreeToken CLI runs from the project's .venv; An NVIDIA GPU is visible
Author
@FlashML-org
Kudos
0
Are you @FlashML-org? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package freetoken-moe-server before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package freetoken-moe-server
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp