sglang

Serve large language and multimodal models with OpenAI-compatible APIs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/quantmind-br/skills --skill sglang-quantmind-br
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sglang
Source: https://github.com/quantmind-br/skills/tree/main/sglang
Command: npx skills add https://github.com/quantmind-br/skills --skill sglang-quantmind-br

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SGLang provides a self-hosted, high-performance serving framework for large language and multimodal models, enabling organizations to deploy inference at scale with OpenAI-compatible APIs and hardware-aware optimizations.

Core Features & Use Cases

  • High-throughput inference serving across single GPUs to large clusters.
  • OpenAI-compatible API compatibility for chat, completions, embeddings, and vision endpoints.
  • Model and hardware versatility with support for quantization, speculative decoding, KV caching, and multi-GPU/distributed inference.
  • Use cases include deploying an in-house inference server for customer support chatbots, document understanding pipelines, and offline batch inference scenarios.

Quick Start

Launch the SGLang server with a model-path and host/port, then send a request to the /v1 endpoints to begin serving.

Frequently Asked Questions about sglang

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I serve large language models with an OpenAI-compatible API in a self-hosted environment?▼

You can serve large language models with an OpenAI-compatible API in a self-hosted environment by launching a high-performance inference server using SGLang. It exposes standard /v1 endpoints for chat, completions, embeddings, and vision tasks.

What is the best way to run offline batch inference for multimodal models?▼

The best way to run offline batch inference for multimodal models is using a high-performance serving framework. SGLang supports offline batch processing alongside hardware-aware optimizations for efficient document understanding pipelines.

Can I deploy high-throughput LLM inference across multiple GPUs and large clusters?▼

Yes, you can deploy high-throughput LLM inference across multiple GPUs and large clusters. SGLang provides distributed inference capabilities with hardware-aware optimizations like KV caching and speculative decoding for scalable serving.

Does self-hosted LLM serving support quantization and speculative decoding for better performance?▼

Self-hosted LLM serving with SGLang supports both quantization and speculative decoding to maximize performance. These hardware-aware optimizations improve inference throughput and reduce latency across diverse GPU configurations.

How do I start an inference server to serve chat completions and embeddings?▼

To start an inference server for chat completions and embeddings, launch SGLang with a specified model-path and host/port. Once running, send requests directly to the standard OpenAI-compatible /v1 endpoints to begin serving.