tokenspeed README

The project's README from github.com/lightseekorg/tokenspeed. As one markdown file: README.md.

TokenSpeed: Tokens at the speed of light

TokenSpeed is a speed-of-light LLM inference engine designed for agentic workloads, with TensorRT-LLM-level performance and vLLM-level usability. The goal is to be the most performant inference engine for production agentic workloads.

Core components:

Differentiation

TokenSpeed takes a fundamentally different architectural approach from existing LLM inference engines. The PyTorch Foundation highlighted these architectural differentiators when welcoming TokenSpeed to the PyTorch Ecosystem Landscape:

TokenSpeed is an open source LLM inference engine and the first to separate the control plane from the execution plane. The control plane is implemented in C++ as a finite-state machine, using the type system to enforce safe resource management, including request lifecycles and KV cache state, at compile time rather than runtime. The execution plane is implemented in Python, enabling fast iteration and lowering the cognitive load for researchers and engineers. This architecture combines strong correctness guarantees in the core scheduling system with the development velocity of a high-level execution layer.

TokenSpeed also treats kernels as a first-class, modular subsystem, separating them from the core engine through a portable public API, centralized registry and selection model, and an extensible plugin mechanism for heterogeneous accelerators.

More importantly, TokenSpeed is the Switzerland of open-source LLM inference engines: neutral because it's backed by the non-profit LightSeek Foundation rather than a commercial company, with serious hardware and engineering support from vendors like NVIDIA and AMD.

News

Blogs and talks

For technical blogs, conference talks, and engineering articles from LightSeek Foundation, visit the LightSeek Blog.

Sponsors and partners

LightSeek's work is advanced by the support of sponsors and partners across the AI ecosystem.

Performance comparison

TokenSpeed vs. TensorRT-LLM Pareto curves on agentic workloads (Kimi K2.5, B200)

TokenSpeed vs. TensorRT-LLM Pareto curves on agentic workloads (Kimi K2.5, B200)

Documentation

Start here:

Citation

@misc{tokenspeed2026,
  author       = {{TokenSpeed Team}},
  title        = {{TokenSpeed}: A Speed-of-Light {LLM} Inference Engine},
  year         = {2026},
  howpublished = {\url{https://github.com/lightseekorg/tokenspeed}}
}

tokenspeed (lightseekorg/tokenspeed)

glm
Searching Databaseโ€ฆ

2.7K ยทGitHub
What is this?TokenSpeed is a speed-of-light LLM inference engine built for agentic workloads, aiming to match TensorRT-LLM-level performance with vLLM-level usability.
Is this a library I import, or a server I run?It is run as a server (via an AsyncLLM entrypoint) that you launch to serve models; it is not a simple pip-importable inference library.
How do I get a model running with TokenSpeed?The docs provide a 'Getting Started' guide and a 'Launching a Server' page that walk through standing up an inference server with specific model recipes.
Do I need specific hardware to run it?Yes โ€” it targets high-end accelerators like NVIDIA Blackwell/Rubin (B200/B300/GB200/GB300) and AMD Instinct (MI355X/MI455X) GPUs, not generic consumer hardware.
Does it work well on any GPU, or only the latest chips?The headline benchmarks and optimizations (585-685 tokens/s per user, FP4 inference) are shown on the newest NVIDIA and AMD data-center GPUs; performance on older or consumer GPUs isn't discussed in the README.
Who is this engine built for?It targets ML systems researchers and engineers running production-scale agentic LLM workloads who need both raw throughput and the flexibility to iterate quickly.
What makes TokenSpeed's architecture different from engines like vLLM?It separates the control plane (a C++ finite-state machine that enforces safe KV-cache and request-lifecycle management at compile time) from the execution plane (Python, for fast iteration), plus treats kernels as a pluggable, centrally-registered subsystem.
What is MLA and why does it matter here?MLA stands for Multi-head Latent Attention; TokenSpeed includes one of the fastest MLA kernel implementations on NVIDIA Blackwell, optimized specifically for agentic workloads.
Which models does TokenSpeed support out of the box?The README highlights Day-0 support and optimization for models like Kimi K3/K2.5, Qwen3.5/3.8, GLM 5.3, DeepSeek, GPT-OSS, and MiniMax.
Why does the project call itself the 'Switzerland' of inference engines?Because it's run by the non-profit LightSeek Foundation rather than a single company, with hardware/engineering support from both NVIDIA and AMD, keeping it vendor-neutral.
Size
36.8 MB
Stars
2.7K
Age
5mo
Commits ยท 90 Days