M
sgl-project/mini-sglang★ 5,706 · Python
Compact SGLang engine for studying and self-hosting GPU LLM inference
MIT · Commercial Friendly
Side-by-side 2026 comparison in LLMs & Inference: cheaper-inference/OmniRoute leads both total GitHub adoption (★ 92.2k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Compact SGLang engine for studying and self-hosting GPU LLM inference
Self-hosted OpenAI-compatible gateway for multi-provider routing and fallback
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | sgl-project/mini-sglang | cheaper-inference/OmniRoute |
|---|---|---|
| Total GitHub Stars | ★ 5,706 | ★ 92,164 |
| 24h / 7d Velocity | +2 / +47 | +58 / +1.4k |
| 7-Day Trend Curve | ||
| Engineering Health | B · 55/100 | A+ · 100/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · CLI · GPU · API | Docker · Self-Hosted · API |
| Primary Language | Python | TypeScript |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 6mo ago | Updated today |
| Latest Release | Rolling commits (main) | v3.8.54 |
| Best For | CUDA-equipped teams studying serving internals, testing scheduling and KV-cache changes, or prototyping a self-hosted API with Qwen or Llama models | Teams running coding assistants or internal LLM clients that need one API endpoint, centralized routing policies, and tested fallback across multiple upstream accounts |
minisgl CLI exposes OpenAI-compatible serving and interactive --shell mode.--cache naive provides a comparison configuration.--tp selects tensor parallelism across GPUs, with FlashAttention and FlashInfer integrated as optimized kernels.# Create a virtual environment (Python 3.10+ recommended) uv venv --python=3.12 source .venv/bin/activate
/v1/chat/completions on port 20128 in the quickstart, authenticated with an OmniRoute API key.auto uses a 16-factor scorer; auto/fast and auto/cheap express preferences rather than performance or price guarantees.# After connecting a provider, create your OmniRoute key in Dashboard → API Keys: curl http://localhost:20128/v1/chat/completions \ -H "Authorization: Bearer YOUR_OMNIROUTE_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy