Skip to content
Menu
English

SGLang

Serving engine built around reusing shared prompt prefixes.

tool Infrastructure Apache-2.0 3 relationships

Overview

SGLang serves language models with a runtime that lets a program describe its decoding once and reuse it, so common prompt prefixes, constrained output and multi-call workflows are handled by the engine rather than re-sent for every request. It solves the cost of repeated prefill: when many requests share a long prefix, recomputing it dominates. It exists because agent and structured-output workloads have exactly that shape, and the serving engine is where the saving has to happen.

Technology Graph

How SGLang connects to the rest of the stack.

Uses and depends on

Applied to

Tools

Software that implements or integrates with SGLang.

Infrastructure