new-api
Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.
⭐ 50,888 stars on GitHub · 🍴 12,326 forks · 📜 License: agpl-3.0 · 💻 Language: Go
What is new-api?
An open-source AI/LLM project — run models locally, no cloud data sharing, fully customizable to your needs.
The biggest strength is fully local AI inference — zero API cost, no data leak risk, low latency.
Best for AI devs, researchers, anyone building agents/chatbots without OpenAI dependency.
Topics: the project is tagged with popular topics:
- 🏷️
ai-gateway - 🏷️
api-management - 🏷️
claude - 🏷️
deepseek - 🏷️
gemini - 🏷️
llm-gateway - 🏷️
model-routing - 🏷️
newapi - 🏷️
openai - 🏷️
rerank
📸 Screenshots




Quick install
The project supports Docker Compose:
git clone https://github.com/QuantumNous/new-api.git
cd new-api
docker compose up -d
Check the README in the repo for required env variables.
Minimum system requirements
| Component | Recommended |
|---|---|
| RAM | 2048 MB |
| CPU | 2 vCPU |
| Disk | 25 GB SSD |
| OS | Ubuntu 22.04 LTS / Debian 12 |
| Docker | 24.0+ |
⚡ Deploy fast on VSIS
Use the VSIS VPS Lite 2GB RAM / 2 vCPU / 25GB SSD (~104k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running new-api smoothly.
🎯 Benefits:
- One-command
docker compose up -ddeploy in 2 minutes - Dedicated IPv4, root access, unmetered domestic bandwidth
- Daily snapshot backup
- Free install assistance from the VSIS team
👉 See matching VPS plans at vsis.net
Resources
- 🔗 GitHub: QuantumNous/new-api
- 🌐 Homepage: https://www.newapi.ai
- 📚 Official docs: see README in the repo
- 💬 Community: GitHub Issues + Discussions
Article compiled from GitHub data on 28/10/2026. Star/fork counts may have changed — see live numbers via the GitHub link.
