Meet FreeToken: An Edge-Native MoE Serving Engine that Runs 753B GLM-5.2 on a Single Workstation GPU

2026年8月23日 10:44
站內 AI 整理稿

Frontier open-weight models are shipping faster than the hardware assumptions around them.Kimi-K3, GLM-5.2 and DeepSeek-V4-Flash are closing the capability gap with proprietary systems, but releasing parameters only determines who can obtain a model — not who can afford to run it.

Serving them still assumes datacenter-class GPU clusters, and as agentic workloads push inference demand up, that cost lands hardest on individual developers and small teams.Meanwhile, more than a hundred million consumer machines already carry discrete GPUs.

A team of researchers from UC Berkeley and UT Austin propose FreeToken.

The research team argued the missing piece is not hardware but a serving system: it treats a personal machine as a unified, elastic inference platform rather than a small GPU, and continuously maps computation and model state onto whatever GPU, CPU, memory and interconnect bandwidth the machine actually has.

The result is a 35B model at interactive speed on an 8 GB laptop GPU, 284B on a gaming desktop, and the 753B GLM-5.2 on a single workstation card.Is it deployable?Yes, FreeToken is Apache-2.0 on GitHub, published on PyPI as freetoken v0.1.

2 (uv pip install "freetoken[accel]"), and shipped as a one-click desktop app for Windows and Linux at flashml.ai.The CLI targets Linux x8664 with an NVIDIA GPU on driver r580+ (CUDA 13).

ft serve exposes OpenAI- and Anthropic-compatible endpoints on port 1919, and ft launch claude wires up Claude Code, Codex, OpenCode or OpenClaw against your own box.

Who it fits: solo developers, startups and SMB engineering teams whose agent token bills already exceed the cost of a GPU they own; enterprises should treat it as an air-gapped or regulated-workload path, not a datacenter replacement.

Strongest industry fit: healthcare and legal (data never leaves the machine), defense, finance, and IP-heavy R&D.Typical applications: local coding agents, private code review, offline contract analysis, synthetic-data generation, batch evals.

The gap it targets Mixture-of-Experts makes local frontier inference arithmetically feasible.DeepSeek-V4-Flash activates 6 of 256 routed experts in each of 43 layers, so only 13B of its 284B parameters participate in any single token.

Sparsity does not shrink the expert pool, though — at FP4 the full set is roughly 140 GB, so inactive experts sit in host memory and enter the execution path on demand.The research team isolates three failure modes in existing engines (llama.

cpp, KTransformers, Ollama, MoE-Infinity): Prefill destroys sparsity: Thousands of tokens per layer route to nearly the whole expert set, so a prefill pass streams the entire pool across PCIe — about two seconds on an RTX 5090, five on PCIe 4.

0 desktops, ten or more on the x8 links common in laptops.Static placement misses decode traffic: llama.cpp assigns MoE tensors at load time; KTransformers pins a “hot” subset.Routing shifts every token, so most expert evaluations fall to the CPU while the GPU and the PCIe link sit idle.

Consumer CPUs cannot carry the remainder: Dual-channel DDR5 delivers 80–90 GB/s against the 1–1.8 TB/s an RTX 4090 or 5090 draws from on-package memory.(function(){window.addEventListener("message",function(e){ if(e&&e.data&&e.data.ftHeight){var f=document.getElementById("ftx-frame"); if(f)f.style.

height=e.data.ftHeight+"px";}});})(); Three mechanisms Bandwidth-adaptive execution (the q policy): Because DMA transfers and CPU expert execution read from the same host-memory subsystem, a saturated PCIe link leaves a residual bandwidth of BH − BP.

FreeToken splits each step’s m cache misses accordingly: q ≈ m × BP / BH experts are filled into the GPU cache, the rest are computed in place on the CPU, and the two partial sums merge exactly — no approximation, no router modification.

Both bandwidths are profiled on the deployed machine (ft bench bw), which matters: measured BP:B_H is 52.7:77.3 on an RTX 5090 server but 11.8:47.5 on a 4060 laptop.Semantic-aware caching: During prefill, full-layer double buffering streams layer l+1 while the GPU computes layer l.

Recurrent-state checkpoints are anchored at special-token boundaries — thinking blocks, tool calls, tool outputs — precisely where agent harnesses truncate context, so an edit re-prefills only the new suffix.

During decode, a shared LRU expert cache spanning all MoE layers follows the router instead of a placement frozen at load time.Elastic memory management: At scheduler safe points the GPU expert cache is rebuilt under a revised VRAM budget without restarting the engine or reloading the host pool.

Experts are read from disk straight into their final host layout, then pinned; no GPU warmup is required because the first request is served with a cold cache.Results On an RTX 5090, FreeToken sustains 77–83 tok/s on Qwen3.6-35B-A3B (BF16) and 22–25 tok/s on DeepSeek-V4-Flash (MXFP4) — 1.5–2.

3× the strongest baseline, with decode staying within 12% of the single-turn rate across three agentic workloads.Worst-case TTFT stays below 44 s in every cell; llama.cpp hits 232 s, Ollama 179 s and KTransformers 946 s somewhere in the matrix, past the point where agent clients time out.

At equal cache capacity (37% of the Qwen3.6 pool), the global LRU misses 16% of decode-time expert reads against 41% for KTransformers and 62% for llama.cpp.On an 8 GB RTX 4060 laptop the NVFP4 build serves 35B at 39.

3 tok/s — above the 33 tok/s median decode speed measured for Codex in production traces.On a single RTX PRO 6000, GLM-5.2 (753B, 40B active) runs at 14.9 tok/s versus llama.cpp’s 7.3.Data Check #mtp-reality-check-freetoken *{box-sizing:border-box!

important} #mtp-reality-check-freetoken{background:#111!important;color:#e8e8e8!important;border:1px solid #2a2a2a!important;border-radius:12px!important;padding:clamp(12px,2.4vw,18px)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!

important;line-height:1.45!important;font-size:clamp(12px,1.8vw,13px)!important;max-width:100%!important} #mtp-reality-check-freetoken p:empty,#mtp-reality-check-freetoken hr,#mtp-reality-check-freetoken del,#mtp-reality-check-freetoken s{display:none!important} #mtp-reality-check-freetoken .

rc-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:5px} #mtp-reality-check-freetoken .rc-ttl{font-size:16px!important;font-weight:800;color:#fff!important} #mtp-reality-check-freetoken .rc-score{border-radius:4px!important;padding:3px 9px;font-size:10px!

important;font-weight:800;letter-spacing:.06em;background:#d64545!important;color:#fff!important} #mtp-reality-check-freetoken .rc-meta{color:#9a9a9a!important;font-size:11px!important;margin-bottom:12px} #mtp-reality-check-freetoken .rc-meta a{color:#76B900!

important;text-decoration:none} #mtp-reality-check-freetoken .rc-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:6px} #mtp-reality-check-freetoken .rc-cnt{min-width:0;background:#181818!important;border:1px solid #2a2a2a!important;border-radius:7px!

important;padding:8px 6px;text-align:center} #mtp-reality-check-freetoken .rc-cnt b{display:block;font-size:18px!important;font-weight:800;line-height:1.1} #mtp-reality-check-freetoken .rc-cnt span{display:block;font-size:9px!important;letter-spacing:.06em;text-transform:uppercase;color:#9a9a9a!

important;font-weight:700;margin-top:2px} #mtp-reality-check-freetoken .c-ok{color:#76B900!important} #mtp-reality-check-freetoken .c-sr{color:#e0a92c!important} #mtp-reality-check-freetoken .c-fl{color:#e05c2c!important} #mtp-reality-check-freetoken .c-no{color:#d64545!

important} #mtp-reality-check-freetoken .c-nf{color:#8a8a8a!important} #mtp-reality-check-freetoken .rc-form{font-size:10.5px!important;color:#9a9a9a!important;margin-bottom:14px} #mtp-reality-check-freetoken .rc-h{font-size:10px!important;letter-spacing:.12em;text-transform:uppercase;color:#76B900!

important;font-weight:800;margin:16px 0 8px 0} #mtp-reality-check-freetoken .rc-wr

Related

相關文章

MarkTechPost AI模型更新

Google 開源 Harness²:遞迴代理程式框架,無需新模型也能提升效能

Google Cloud AI Research 開源了 Harness²,這是一個遞迴代理程式框架,透過改良凍結模型周圍的程式碼與檔案來增強效能。對開發者而言,重點很簡單:你的代理程式無需更強大的模型也能進步。重點摘要:規模為框架而非模型,訓練參數為0,包含8個可編輯的框架元件,版本0.1.0。執行環境為Linux、Python 3.12或3.13搭配uv,模型呼叫則透過Vertex AI。GPU需求未公開。效能方面:一次改良步驟即可在3個基準測試中,提升所有4個模型與框架組合的表現。最佳成果:GLM-5搭配OpenCode在WorkBuddy-Bench上從64.2提升至75.7(+11.5點);最差表現:GLM-5搭配Codex在JobBench上僅提升1.2點(23.6至24.8)。什麼是Harness²?它是Google研究推出的即插即用框架。

14 小時前
MarkTechPost AI模型更新

認識 Kyutai REKI:2.4B VLA 模型為機器人操控帶來高效記憶

Kyutai 與 Inria 及 École des Ponts 合作,推出了 REKI——一個用於機器人操控的 2.4B 參數視覺-語言-動作模型(VLA)。該模型僅使用公開數據進行預訓練,並配備了輕量級的近期記憶功能。在三個分佈外基準測試中,僅有規模約為其兩倍的模型能超越它。所有模型權重已於今日在 Hugging Face 上公開。核心資訊:規模:2.4B 參數(2.2B Qwen3.5-2B VLM + 0.2B 流匹配動作專家)。記憶涵蓋最近 3 幀,間隔 1 秒。運行環境:在 1 張 NVIDIA H100 上進行基準測試。從兩個 256×256 攝像頭輸入,編譯後每個動作區塊耗時 21.8 毫秒。權重以 BF16 格式提供,暫無量化版本。性能:在 LIBERO-Plus 和 RoboTwin Clean2Rand 基準測試中,為公開數據預訓練的 VLA 模型中最優;在 LIBERO-Plus 上達到 90.4% 的最高分。

1 天前
MarkTechPost AI模型更新

DeepSeek 發布 V4.1-Flash-1017,DeepSWE 得分 77.0,並開放搜尋 API

DeepSeek 剛發布 DeepSeek-V4.1-Flash-1017,這是其 V4.1-Flash 模型的新檢查點,現已在 DeepSeek 網站、應用程式及 API 上線。DeepSeek 宣稱該版本在性能、任務完成速度與輸出簡潔度上均優於 9 月發布的 V4.1-Flash,並稱之為性能與成本的帕累託改進。同時,DeepSeek 也向所有開發者開放了搜尋與擷取 API。對代理建構者而言,這意味著更便宜的編碼模型加上單一 API 金鑰即可使用的第一方網路層。重點摘要:骨架參數 552B,另加 196B 的 Engram 參數;預填充階段每 token 啟用 8B 參數,解碼階段啟用 16B 參數;上下文長度達 1M tokens,最大輸出 384K tokens。運行於 DeepSeek API 的 deepseek-flash 模型。9 月版的 V4.1-Flash 權重(763B 參數,FP8)採 MIT 授權。

1 天前
MarkTechPost AI模型更新

2026年20款Jev替代方案:挑戰TypeSafe的決策模型

TypeSafe於2026年9月15日推出Jev,這是一款決策模型而非聊天機器人。使用者可定義允許的答案,Jev將回傳標籤、分數或是否的機率。約4週內,至少20款Jev替代方案相繼問世,來自Cloudflare、OpenAI、Perplexity、Liquid AI、AWS的Strands Labs及獨立開發者。本指南比較各方案在規模、授權、硬體、價格、Jev API相容性及已發布基準測試的表現。重點摘要:規模範圍從287M(GLiNER2.5-multi-Decide)到35B-A3B(Mapika Decider),Jev規模未公開。執行環境:Von和Laya等編碼器可在CPU上運行,4B適配器適用24 GB GPU或32 GB Mac。效能:多數開源模型在困難推理上落後Jev,但在狹窄分類任務上數款與之匹敵或超越。最佳表現:Cloudflare Clef在BANKING7取得94.20分。

1 天前
雷峰網模型更新

長鑫科技市值兩月內跌去1萬億;阿里加碼AI硬件品牌,天貓、速賣通聯動;國行版蘋果AI有望12月上線,百度、阿里參與合作丨雷峰早報

要聞提示1.長鑫科技市值兩月內跌去1萬億2.年內已至少18次故障!DeepSeek發放宕機補償,有人拿到3000元3.阿里加碼AI硬件品牌,天貓、速賣通聯動4.國行版蘋果AI有望12月上線,百度、阿里參與合作5.可靈AI新一代模型Kling 4.

2 天前