# What is SGLang? Definition and meaning

A serving framework with efficient prefix caching and a language for structured generation.

## Definition

**SGLang**: A serving framework with efficient prefix caching and a language for structured generation.

In short: Fast serving for language models and programs.

## When it is used

High-performance LLM and agent serving.

## Where it fits

SGLang belongs to **Inference and serving** in the [MLOps and AI infrastructure](/topics/mlops-ai-infrastructure) topic. These are the other terms in the same group:

- **[Triton](/glossary/triton)**: A server that runs models from many frameworks with dynamic batching and concurrent execution on GPUs.
- **[vLLM](/glossary/vllm)**: An engine that uses PagedAttention and continuous batching to serve language models efficiently.
- **[TensorRT](/glossary/tensorrt)**: A compiler and runtime that optimizes neural networks for NVIDIA GPUs.
- **[ONNX Runtime](/glossary/onnx-runtime)**: A runtime that executes models in the ONNX format across hardware backends.
- **[llama.cpp](/glossary/llama-cpp)**: A library that runs quantized language models on CPUs and a range of GPUs.

## Learn more

The full guide to **[SGLang](/tools/sglang)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [SFT](/glossary/sft) · Next term: [SHAP](/glossary/shap)
