Purpose
TokenSpeed is a "speed-of-light" LLM inference engine designed specifically for agentic workloads. Its positioning is to pursue TensorRT-LLM-level performance while maintaining a vLLM-level user experience, with the goal of becoming the highest-performance inference engine for agentic workloads in production environments. The project is supported by the nonprofit organization LightSeek Foundation and receives engineering and hardware support from hardware vendors such as NVIDIA and AMD.
Main Capabilities and Architectural Features
TokenSpeed takes an architectural approach that differs from existing LLM inference engines. According to the materials, the PyTorch Foundation emphasized its architectural differences when bringing TokenSpeed into the PyTorch ecosystem:
- Separation of control plane and execution plane: The control plane is implemented in C++ as a finite state machine, using the type system to enforce safe resource management at compile time (rather than runtime), covering the request lifecycle and KV cache state; the execution plane is implemented in Python, facilitating rapid iteration and reducing the cognitive burden on researchers and engineers.
- Kernels as a first-class modular subsystem: Kernels are separated from the core engine through a portable public API, a centralized registration and selection model, and an extensible plugin mechanism for heterogeneous accelerators.
- Neutrality: The materials describe it as the "Switzerland" among open-source LLM inference engines, because it is backed by the nonprofit LightSeek Foundation rather than a commercial company.
Core components include:
- Scheduler: A C++ control plane and a Python execution plane. The request lifecycle, KV cache ownership, and overlapping timing are encoded as a finite state machine, and safe KV resource reuse is guaranteed by the type system at compile time.
- Kernels: A pluggable, layered kernel system with a portable public API and a centralized registry, including what the materials call "one of the fastest MLA (Multi-head Latent Attention) implementations on Blackwell," aimed at agentic workloads.
- Entrypoint: SMG-integrated AsyncLLM, used for low-overhead CPU-side request handling.
Usage
The getting-started content listed in the repository documentation includes "Launching the server (Launching a Server)" "Server Parameters" and "Compatible Parameters" sections. The materials do not provide specific installation commands, startup commands, or parameter details, so this content is not provided for now.
Applicable Scenarios
According to its positioning, TokenSpeed targets agentic workloads in production environments, that is, application scenarios requiring high-throughput, low-latency LLM inference services. The performance milestones in the materials all revolve around this scenario, for example:
- 2026/10: Serving Qwen3.8-Flash-Next with TokenSpeed on NVIDIA GB300, reaching 685 tokens/s per user.
- 2026/10: Advancing Kimi K3 inference with TokenSpeed on AMD Instinct MI355X GPUs.
- 2026/09: Part one of Kimi K3 optimization on GB300.
- 2026/08: Day 0 support for Qwen3.8 Flash Next and GLM 5.3 Flash; Qwen3.8 Day 0: 2.4T-scale inference using TokenSpeed; TokenSpeed joins the PyTorch ecosystem.
- 2026/07: Kimi K3 Day 0 support; TML Inkling Day 0: FP4 inference using TokenSpeed on NVIDIA and AMD.
- 2026/06: An in-depth discussion of the design and optimization of TokenSpeed-Kernel (PyTorch blog).
- 2026/05: Reaching 580 TPS for agentic workloads on Qwen3.5-397B-A17B; official release of TokenSpeed.
The materials also mention a performance comparison chart: a Pareto curve comparison between TokenSpeed and TensorRT-LLM on agentic workloads (Kimi K2.5, B200).
Limitations and Information Not Yet Provided
- The materials do not provide specific installation steps, dependency requirements, supported model lists, license agreements, pricing information, or platform compatibility details.
- Specific usage examples (code or commands) are not yet provided in the supplied materials.
- For some features (such as the plugin mechanism, kernel registry), the specificusage must be referenced in the repository documentation and is not expanded upon in the materials.