N
QuantumNous/new-api★ 52,989 · Go
Self-hosted Go API gateway for multi-provider model routing, access, and costs
AGPL-3.0 · Copyleft Warningv1.0.0-rc.52
Side-by-side 2026 comparison in LLMs & Inference: ollama/ollama leads both total GitHub adoption (★ 189k) and recent 7-day momentum. Licensing: AGPL-3.0 · Copyleft Warning vs MIT · Commercial Friendly.
Self-hosted Go API gateway for multi-provider model routing, access, and costs
Go-based LLM serving layer for local model management and inference
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | QuantumNous/new-api | ollama/ollama |
|---|---|---|
| Total GitHub Stars | ★ 52,989 | ★ 189,047 |
| 24h / 7d Velocity | +21 / +343 | +42 / +703 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 91/100 | A+ · 98/100 |
| Deployment Signals | Docker · Self-Hosted · API | Docker · Self-Hosted · Local AI · CLI · GPU · API |
| Primary Language | Go | Go |
| Commercial License | AGPL-3.0 · Copyleft Warning | MIT · Commercial Friendly |
| Activity | Updated yesterday | Updated today |
| Latest Release | v1.0.0-rc.52 | v0.40.21 |
| Best For | Teams operating several authorized model APIs that want a stable client endpoint, centrally managed keys and quotas, and usage-based cost allocation | Developers and small teams that want a local inference endpoint for model evaluation, coding assistants, or an internal RAG application without assembling their own model-management layer |
mkdir -p data docker run --name new-api -d --restart unless-stopped \ -p 127.0.0.1:3000:3000 \ -e TZ=Asia/Shanghai \ -v "$(pwd)/data:/data" \ calciumion/new-api:latest
/api/chat on localhost:11434, with stream: false for a complete response.ollama run gemma4 starts a CLI chat; model import and Modelfile configuration support custom setups.mlxrunner/ tree.curl -fsSL https://ollama.com/install.sh | sh
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy