This article coincides in timing and pattern with contributions by the same user which have been determined to be AI-generated, and has no significant contributions by other editors. It is presumed to have also been AI-generated, and may be assumed to violate Wikipedia's policies and guidelines. If no editor takes responsibility for it within a five-day grace period, this article may be deleted. To object to proposed deletion, an editor may take responsibility for the content and assume the onus to achieve consensus for its inclusion. Assuming responsibility requires that all content and its sources be closely reviewed and reworked as needed to ensure that they comply with policies and guidelines. This may involve checking that the cited sources support the content and are reliable, determining whether the content is due for inclusion, and rewriting the content to revise any tone issues and resolve possible copyright violations. Once this has been done, this template may be removed. The nominator also gave the following reason for this proposed deletion:
Find sources: "SGLang" – news · newspapers · books · scholar · JSTOR Reviewer tools: guideline project (talk • log) The article may be deleted if this message remains in place for five days, i.e., after 12:23, 30 October 2026 (UTC). |
| SGLang | |
|---|---|
| Developer | LMSYS |
| Release | January 17, 2024 |
| Written in | Python, Rust, CUDA, C++ |
| Type | Large language model inference engine |
| License | Apache License 2.0 |
| Website | sglang |
| Repository | github |
SGLang (short for Structured Generation Language) is an open-source framework for programming and serving large language models and multimodal models. It was introduced by researchers affiliated with LMSYS and other institutions as a system combining a Python-embedded language for structured generation with a runtime for high-throughput inference.
The project is designed for low latency and high-throughput inference workloads, and its documentation describes support for features such as structured outputs, speculative decoding, continuous batching, quantization, and compatibility with OpenAI-style APIs.
SGLang was publicly introduced in January 2024 by researchers affiliated with Stanford, UC Berkeley, Texas A&M, and Shanghai Jiao Tong University. Its academic description later appeared in the proceedings of NeurIPS 2024. In January 2026, TechCrunch reported that contributors associated with the project had formed the startup RadixArk to commercialize services around SGLang while continuing its open-source development.
According to the NeurIPS paper, SGLang consists of two main components: a front-end language embedded in Python and a back-end runtime for executing language model programs efficiently. The front end provides primitives for generation, selection, and parallel control flow, while the runtime uses a set of optimizations intended to reduce repeated computation and improve throughput.
Among the techniques described by the project are RadixAttention for reusing key–value cache state across multiple generation calls, compressed finite-state machines for faster constrained decoding, and speculative execution for API-based models. The current documentation also describes support for serving both language models and multimodal models across a range of hardware back ends.