- How you use it
- Runs a short model trial
- What it can do
- installs software · writes files · network · runs shell
- What's inside
The option
| Option | 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
nvccon 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 withuv venv && source .venv/bin/activate, then runuv 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 launchwrites your agent's config and installs the agent CLI if it is missing. Run it with--dry-runfirst. 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 checkpointif their experts were converted with--moe-backend fusedortriton, their NVFP4 global scales are fp16, or a Muse-Glimmer attention gate is fused intoqkvg_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 asft checkpoint --model <hf_dir> --out <ftw_dir>. - Old bandwidth profiles are ignored. Rerun
ft bench bw --model <checkpoint>and explicitly select--moe-strategy hybrid;autono longer selects hybrid from that profile. FREETOKEN_API_KEYnow 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 launchfor 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 withnvcc, 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
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.