Skip to content
inference.academy

glossary/tooling/sglang

SGLang

A serving engine and frontend language built around RadixAttention, its radix-tree prefix cache, and a compressed finite-state machine for fast constrained decoding. It began as the runtime for programs that call a model many times with shared prefixes, agents and few-shot pipelines, and grew into a general engine that competes with vLLM on throughput and leads on prefix reuse and structured output.


up to 6.4x

Higher throughput than the baselines of the time on workloads with heavy prefix sharing, per the paper.


See it happen


Related