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: songquanpeng/one-api leads both total GitHub adoption (★ 37.5k) 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 LLM routing and API key management
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | sgl-project/mini-sglang | songquanpeng/one-api |
|---|---|---|
| Total GitHub Stars | ★ 5,706 | ★ 37,519 |
| 24h / 7d Velocity | +2 / +47 | +7 / +54 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 55/100 | B · 62/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · CLI · GPU · API | Docker · Self-Hosted · API |
| Primary Language | Python | JavaScript |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 6mo ago | Updated 10mo ago |
| Latest Release | Rolling commits (main) | v0.6.10 |
| 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 with several OpenAI-compatible clients that need to share approved upstream providers without distributing provider credentials to each application |
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
# 使用 SQLite 的部署命令: docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api # 使用 MySQL 的部署命令,在上面的基础上添加 `-e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi"`,请自行修改数据库连接参数,不清楚如何修改请参见下面环境变量一节。 # 例如: docker run --name one-api -d --restart always -p 3000:3000 -e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi" -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy