SGLang is a fast serving framework for large language models and vision language models.
Actively maintained. Last release 4 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install sglangSGLang: Fast inference for LLMs and multimodal models
Docs | Cookbook | Website | Blog | Slack
SGLang is an open-source inference framework for large language, vision-language, and diffusion models, optimized for agentic workloads, large-scale serving, and RL rollouts. SGLang Diffusion is its built-in image and video generation engine, included in this repository and the sglang Python package.
👋 Get started below, or meet the community at SGLang Events, including meetups, developer meetings, workshops, and office hours.
SGLang Summit 2026: Meet the builders of open AI
Our flagship annual gathering · November 12–13 · San FranciscoGo deep on inference, training, and AI hardware through technical talks, live demos, and hands-on workshops. Bring your deployment challenges and meet the engineers and researchers building the stack.
Get Started
Pull the Docker image, which includes SGLang and its dependencies:
docker pull lmsysorg/sglang:latest
Alternatively, install SGLang in an activated Python environment with uv:
uv pip install --prerelease=allow sglang
