Welcome to SGLang-Omni#
Serve speech and multimodal models with SGLang-Omni.
Speech & Multimodal Models. Transcribe audio, generate speech, and serve models that accept audio, images, and video through OpenAI-compatible APIs.
Streaming & Realtime. Stream transcripts and speech as they are generated. Use realtime sessions for live audio input and interactive voice applications.
Multi-stage Runtime. Run preprocessing, inference, and audio generation as stages with independent scheduling. The runtime is built on SGLang.
Hardware Support. Choose the installation guide for your hardware: CUDA, Apple Silicon, Ascend NPU, Intel XPU, Intel CPU, or MUSA. Model support varies by platform.
Get Started#
Quickstart — Start a model server and transcribe one audio clip.
Installation — Choose an installation method for your hardware.
Examples — Stream a transcript, generate speech, or send an audio chat request.
News and latest blogs#
Scroll sideways for more updates.
About#
Modern omni models — such as speech-output LLMs and multimodal generation systems — decompose into heterogeneous stages with fundamentally different computational profiles: a compute-bound thinker, a memory-bound talker, a latency-sensitive codec. SGLang-Omni is built around a computation-centric design: each stage runs its own independent scheduler tuned to its bottleneck, communicates through a shared inbox/outbox abstraction, and transfers tensors via zero-copy shared memory. This prevents any single stage from degrading the others and allows new models to plug into the framework by declaring a pipeline topology rather than building an inference system from scratch.
Core features:
Multi-Stage Pipeline: Flexible framework for orchestrating preprocessing, AR engine, codec, and vocoder stages across processes and GPUs.
Native SGLang Integration: Leverages SGLang’s RadixAttention, continuous batching, and CUDA Graph optimizations for the AR backbone.
OpenAI-Compatible Server: Drop-in
/v1/audio/speech,/v1/audio/transcriptions,/v1/audio/translations, and/v1/chat/completionsendpoints with real-time streaming support.Broad Model Support: TTS (Higgs, Fish S2-Pro, Voxtral, Qwen3-TTS, MOSS-TTS / Local, Ming-Omni-TTS, Ming-3.0-TTS, dots.tts, ZONOS2), Music (MiniMax Music 3), ASR (Qwen3-ASR, Fun-ASR, ARK-ASR, Nemotron 3.5 ASR, Whisper, MOSS-Transcribe-Diarize, Ming-3.0-ASR), Omni (Qwen3-Omni, MiniCPM-o, Ming-Omni, Ming-3.0-audio), and LLaDA2.0-Uni.
Supported Models#
Model |
Type |
Notes |
|---|---|---|
TTS |
Voice cloning, streaming, 100+ languages |
|
TTS |
Voice cloning, streaming |
|
TTS |
Named voices, streaming, 9 languages |
|
TTS |
Voice cloning, streaming, 10 languages, 0.6B / 1.7B |
|
TTS |
Delay-pattern MOSS-TTS; voice cloning, streaming, 31 languages |
|
TTS |
Local-transformer MOSS-TTS; 48 kHz stereo, streaming |
|
TTS |
Text-to-speech and zero-shot voice cloning |
|
TTS |
44.1 kHz voice cloning from one reference recording |
|
TTS |
Dense 0.5B backbone, 44.1 kHz voice cloning from one reference recording |
|
TTS |
48 kHz continuous-latent TTS; also |
|
TTS |
MoE TTS, 9 DAC codebooks, voice cloning |
|
Music |
Text-to-music; lyrics + caption → 32 kHz stereo song |
|
ASR |
Multilingual transcription with 30 language hints |
|
ASR |
Chinese and English transcription |
|
ASR |
Multilingual Fun-ASR-Nano |
|
ASR |
Multilingual ARK-ASR |
|
ASR |
Multilingual RNN-T transcription; internal native PCM streaming runtime (see cookbook) |
|
ASR |
Whole-file transcription with native speech and speaker-fusion encoders (see cookbook) |
|
ASR |
Multi-speaker transcription + diarization + timestamps |
|
Diarization |
Up to eight overlapping speakers for uploads and live audio (see cookbook) |
|
ASR |
Experimental transcription and speech-to-English translation routes; see the audio translation support matrix |
|
Omni |
Text, image, audio, video → text + audio |
|
Omni |
Text, image, audio, video → text + audio |
|
Omni |
Streaming TTS |
|
Omni |
Transcription, audio chat, and 44.1 kHz speech |
|
Multimodal |
Text + image understanding and generation |
Releases & Blog#
Community & Resources#
SGLang Slack — Ask questions and discuss development.
GitHub and Developer Reference — Find the source and contribution resources.
Other Platforms
Cookbook
General Usage
Developer Reference
- Architecture
- API Server Design
- Pipeline Overview
- Config
- Adding a Parameter
- Communication
- Reference Encode Service
- Request-level profiler
- Qwen3-ASR High-Concurrency Benchmark and Bottleneck Profile
- Full-Duplex Guide
- Duplex Load Generator Pacing
- TTS benchmark runbook
- TTS Model Integration
- ASR benchmark runbook
- MiniCPM-o offline benchmark runbook
- RL Admin Control
- CI Workflows and Labels
- Bumping the SGLang Pin
A unified runtime for full-duplex interaction
Serving multi-stage omni models with SPG