sglang 0.5.9


pip install sglang

  Latest version

Released: Feb 23, 2026


Meta
Requires Python: >=3.10

Classifiers

Programming Language
  • Python :: 3

License
  • OSI Approved :: Apache Software License
logo

PyPI PyPI - Downloads license issue resolution open issues Ask DeepWiki


Blog | Documentation | Roadmap | Join Slack | Weekly Dev Meeting | Slides

News

  • [2026/01] 🔥 SGLang Diffusion accelerates video and image generation (blog).
  • [2025/12] SGLang provides day-0 support for latest open models (MiMo-V2-Flash, Nemotron 3 Nano, Mistral Large 3, LLaDA 2.0 Diffusion LLM, MiniMax M2).
  • [2025/10] 🔥 SGLang now runs natively on TPU with the SGLang-Jax backend (blog).
  • [2025/09] Deploying DeepSeek on GB200 NVL72 with PD and Large Scale EP (Part II): 3.8x Prefill, 4.8x Decode Throughput (blog).
  • [2025/09] SGLang Day 0 Support for DeepSeek-V3.2 with Sparse Attention (blog).
  • [2025/08] SGLang x AMD SF Meetup on 8/22: Hands-on GPU workshop, tech talks by AMD/xAI/SGLang, and networking (Roadmap, Large-scale EP, Highlights, AITER/MoRI, Wave).
More
  • [2025/11] SGLang Diffusion accelerates video and image generation (blog).
  • [2025/10] PyTorch Conference 2025 SGLang Talk (slide).
  • [2025/10] SGLang x Nvidia SF Meetup on 10/2 (recap).
  • [2025/08] SGLang provides day-0 support for OpenAI gpt-oss model (instructions)
  • [2025/06] SGLang, the high-performance serving infrastructure powering trillions of tokens daily, has been awarded the third batch of the Open Source AI Grant by a16z (a16z blog).
  • [2025/05] Deploying DeepSeek with PD Disaggregation and Large-scale Expert Parallelism on 96 H100 GPUs (blog).
  • [2025/06] Deploying DeepSeek on GB200 NVL72 with PD and Large Scale EP (Part I): 2.7x Higher Decoding Throughput (blog).
  • [2025/03] Supercharge DeepSeek-R1 Inference on AMD Instinct MI300X (AMD blog)
  • [2025/03] SGLang Joins PyTorch Ecosystem: Efficient LLM Serving Engine (PyTorch blog)
  • [2025/02] Unlock DeepSeek-R1 Inference Performance on AMD Instinct™ MI300X GPU (AMD blog)
  • [2025/01] SGLang provides day one support for DeepSeek V3/R1 models on NVIDIA and AMD GPUs with DeepSeek-specific optimizations. (instructions, AMD blog, 10+ other companies)
  • [2024/12] v0.4 Release: Zero-Overhead Batch Scheduler, Cache-Aware Load Balancer, Faster Structured Outputs (blog).
  • [2024/10] The First SGLang Online Meetup (slides).
  • [2024/09] v0.3 Release: 7x Faster DeepSeek MLA, 1.5x Faster torch.compile, Multi-Image/Video LLaVA-OneVision (blog).
  • [2024/07] v0.2 Release: Faster Llama3 Serving with SGLang Runtime (vs. TensorRT-LLM, vLLM) (blog).
  • [2024/02] SGLang enables 3x faster JSON decoding with compressed finite state machine (blog).
  • [2024/01] SGLang provides up to 5x faster inference with RadixAttention (blog).
  • [2024/01] SGLang powers the serving of the official LLaVA v1.6 release demo (usage).

About

SGLang is a high-performance serving framework for large language models and multimodal models. It is designed to deliver low-latency and high-throughput inference across a wide range of setups, from a single GPU to large distributed clusters. Its core features include:

  • Fast Runtime: Provides efficient serving with RadixAttention for prefix caching, a zero-overhead CPU scheduler, prefill-decode disaggregation, speculative decoding, continuous batching, paged attention, tensor/pipeline/expert/data parallelism, structured outputs, chunked prefill, quantization (FP4/FP8/INT4/AWQ/GPTQ), and multi-LoRA batching.
  • Broad Model Support: Supports a wide range of language models (Llama, Qwen, DeepSeek, Kimi, GLM, GPT, Gemma, Mistral, etc.), embedding models (e5-mistral, gte, mcdse), reward models (Skywork), and diffusion models (WAN, Qwen-Image), with easy extensibility for adding new models. Compatible with most Hugging Face models and OpenAI APIs.
  • Extensive Hardware Support: Runs on NVIDIA GPUs (GB200/B300/H100/A100/Spark), AMD GPUs (MI355/MI300), Intel Xeon CPUs, Google TPUs, Ascend NPUs, and more.
  • Active Community: SGLang is open-source and supported by a vibrant community with widespread industry adoption, powering over 400,000 GPUs worldwide.
  • RL & Post-Training Backbone: SGLang is a proven rollout backend across the world, with native RL integrations and adoption by well-known post-training frameworks such as AReaL, Miles, slime, Tunix, verl and more.

Getting Started

Benchmark and Performance

Learn more in the release blogs: v0.2 blog, v0.3 blog, v0.4 blog, Large-scale expert parallelism, GB200 rack-scale parallelism.

Adoption and Sponsorship

SGLang has been deployed at large scale, generating trillions of tokens in production each day. It is trusted and adopted by a wide range of leading enterprises and institutions, including xAI, AMD, NVIDIA, Intel, LinkedIn, Cursor, Oracle Cloud, Google Cloud, Microsoft Azure, AWS, Atlas Cloud, Voltage Park, Nebius, DataCrunch, Novita, InnoMatrix, MIT, UCLA, the University of Washington, Stanford, UC Berkeley, Tsinghua University, Jam & Tea Studios, Baseten, and other major technology organizations across North America and Asia. As an open-source LLM inference engine, SGLang has become the de facto industry standard, with deployments running on over 400,000 GPUs worldwide. SGLang is currently hosted under the non-profit open-source organization LMSYS.

logo

Contact Us

For enterprises interested in adopting or deploying SGLang at scale, including technical consulting, sponsorship opportunities, or partnership inquiries, please contact us at sglang@lmsys.org

Acknowledgment

We learned the design and reused code from the following projects: Guidance, vLLM, LightLLM, FlashInfer, Outlines, and LMQL.

0.5.10rc0 Mar 27, 2026
0.5.9 Feb 23, 2026
0.5.8.post1 Feb 05, 2026
0.5.8 Jan 23, 2026
0.5.7 Jan 01, 2026
0.5.6.post2 Dec 11, 2025
0.5.6.post1 Dec 08, 2025
0.5.6 Dec 03, 2025
0.5.5.post3 Nov 17, 2025
0.5.5.post2 Nov 12, 2025
0.5.5.post1 Nov 10, 2025
0.5.5 Nov 06, 2025
0.5.4.post3 Nov 05, 2025
0.5.4.post2 Nov 01, 2025
0.5.4.post1 Oct 27, 2025
0.5.4 Oct 24, 2025
0.5.3.post3 Oct 16, 2025
0.5.3.post2 Oct 15, 2025
0.5.3.post1 Oct 09, 2025
0.5.3 Oct 06, 2025
0.5.3rc2 Oct 06, 2025
0.5.3rc0 Sep 15, 2025
0.5.2 Sep 11, 2025
0.5.2rc2 Sep 05, 2025
0.5.2rc1 Sep 02, 2025
0.5.2rc0 Sep 01, 2025
0.5.1.post3 Aug 27, 2025
0.5.1.post2 Aug 25, 2025
0.5.1.post1 Aug 24, 2025
0.5.1 Aug 23, 2025
0.5.0rc2 Aug 14, 2025
0.5.0rc1 Aug 13, 2025
0.5.0rc0 Aug 08, 2025
0.4.10.post2 Aug 03, 2025
0.4.10.post1 Aug 01, 2025
0.4.10 Jul 31, 2025
0.4.9.post6 Jul 29, 2025
0.4.9.post5 Jul 28, 2025
0.4.9.post4 Jul 26, 2025
0.4.9.post3 Jul 22, 2025
0.4.9.post2 Jul 12, 2025
0.4.9.post1 Jul 09, 2025
0.4.9 Jul 06, 2025
0.4.8.post1 Jun 26, 2025
0.4.8 Jun 24, 2025
0.4.7.post1 Jun 16, 2025
0.4.7 Jun 10, 2025
0.4.6.post5 May 24, 2025
0.4.6.post4 May 13, 2025
0.4.6.post3 May 09, 2025
0.4.6.post2 May 01, 2025
0.4.6.post1 Apr 28, 2025
0.4.6 Apr 27, 2025
0.4.5.post3 Apr 22, 2025
0.4.5.post2 Apr 20, 2025
0.4.5.post1 Apr 16, 2025
0.4.5 Apr 07, 2025
0.4.4.post4 Apr 05, 2025
0.4.4.post3 Mar 29, 2025
0.4.4.post2 Mar 27, 2025
0.4.4.post1 Mar 14, 2025
0.4.4 Mar 13, 2025
0.4.3.post4 Mar 06, 2025
0.4.3.post3 Mar 06, 2025
0.4.3.post2 Feb 17, 2025
0.4.3.post1 Feb 17, 2025
0.4.3 Feb 14, 2025
0.4.2.post4 Feb 10, 2025
0.4.2.post3 Feb 07, 2025
0.4.2.post2 Feb 05, 2025
0.4.2.post1 Jan 31, 2025
0.4.2 Jan 27, 2025
0.4.1.post7 Jan 20, 2025
0.4.1.post6 Jan 15, 2025
0.4.1.post5 Jan 11, 2025
0.4.1.post4 Jan 05, 2025
0.4.1.post3 Dec 29, 2024
0.4.1.post2 Dec 29, 2024
0.4.1.post1 Dec 27, 2024
0.4.1 Dec 25, 2024
0.4.0.post2 Dec 21, 2024
0.4.0.post1 Dec 06, 2024
0.4.0 Dec 03, 2024
0.3.6.post3 Nov 29, 2024
0.3.6.post2 Nov 27, 2024
0.3.6.post1 Nov 26, 2024
0.3.6 Nov 22, 2024
0.3.5.post2 Nov 15, 2024
0.3.5.post1 Nov 13, 2024
0.3.5 Nov 03, 2024
0.3.4.post2 Oct 25, 2024
0.3.4.post1 Oct 22, 2024
0.3.4 Oct 19, 2024
0.3.3.post1 Oct 11, 2024
0.3.3 Oct 08, 2024
0.3.2 Sep 25, 2024
0.3.1.post3 Sep 21, 2024
0.3.1.post2 Sep 19, 2024
0.3.1.post1 Sep 17, 2024
0.3.1 Sep 15, 2024
0.3.0 Sep 03, 2024
0.2.15 Sep 02, 2024
0.2.14.post2 Aug 28, 2024
0.2.14.post1 Aug 28, 2024
0.2.14 Aug 26, 2024
0.2.13 Aug 15, 2024
0.2.12 Aug 12, 2024
0.2.11 Aug 07, 2024
0.2.10 Aug 04, 2024
0.2.9.post1 Aug 02, 2024
0.2.9 Aug 02, 2024
0.2.8 Aug 01, 2024
0.2.7 Jul 30, 2024
0.2.6 Jul 28, 2024
0.2.5 Jul 26, 2024
0.2.4 Jul 26, 2024
0.2.3 Jul 26, 2024
0.2.2 Jul 26, 2024
0.2.1 Jul 26, 2024
0.2.0 Jul 25, 2024
0.1.26 Jul 25, 2024
0.1.25 Jul 25, 2024
0.1.24 Jul 24, 2024
0.1.22 Jul 20, 2024
0.1.21 Jul 15, 2024
0.1.20 Jul 14, 2024
0.1.19 Jul 09, 2024
0.1.18 Jul 04, 2024
0.1.17 Jun 08, 2024
0.1.16 May 14, 2024
0.1.15 May 12, 2024
0.1.14 Mar 22, 2024
0.1.13 Mar 11, 2024
0.1.12 Feb 11, 2024
0.1.11 Feb 03, 2024
0.1.10 Jan 30, 2024
0.1.9 Jan 24, 2024
0.1.7 Jan 21, 2024
0.1.6 Jan 21, 2024
0.1.5 Jan 18, 2024
0.1.4 Jan 16, 2024
0.1.3 Jan 16, 2024

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
IPython
aiohttp
apache-tvm-ffi (<0.2,>=0.1.5)
anthropic (>=0.20.0)
av and ( or )
blobfile (==3.0.0)
build
compressed-tensors
cuda-python (==12.9)
decord2
datasets
einops
fastapi
flashinfer_python (==0.6.3)
flashinfer_cubin (==0.6.3)
gguf
hf_transfer
huggingface_hub
interegular
llguidance (<0.8.0,>=0.7.11)
modelscope
msgspec
ninja
numpy
nvidia-cutlass-dsl (>=4.3.4)
nvidia-ml-py
openai-harmony (==0.0.4)
openai (==2.6.1)
orjson
outlines (==0.1.11)
packaging
partial_json_parser
pillow
prometheus-client (>=0.20.0)
psutil
py-spy
pybase64
pydantic
python-multipart
pyzmq (>=25.1.2)
quack-kernels (==0.2.4)
requests
scipy
sentencepiece
setproctitle
sgl-kernel (==0.3.21)
soundfile (==0.13.1)
tiktoken
timm (==1.0.16)
torch_memory_saver (==0.0.9)
torch (==2.9.1)
torchao (==0.9.0)
torchaudio (==2.9.1)
torchcodec or ( and ) (==0.8.0)
torchvision
tqdm
transformers (==4.57.1)
uvicorn
uvloop
xgrammar (==0.1.27)
smg-grpc-proto (>=0.3.3)
grpcio (>=1.78.0)
grpcio-reflection (>=1.78.0)
grpcio-health-checking (>=1.78.0)