🔥
HotRepo
new-api — Self-host Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini
📦
QuantumNous

new-api — Self-host Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini

Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.

⭐ 51.1k🍴 12.4kGo📜 agpl-3.0🐳 Docker Compose#ai-gateway#api-management#claude#deepseek

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

Usage dashboard with simulated requests, costs, and performance metrics

Official plugin marketplace with simulated installation status

Model square with simulated model pricing and availability

Usage logs with simulated tokens, costs, and response times

Star History Chart

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 -d deploy 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


Article compiled from GitHub data on 28/10/2026. Star/fork counts may have changed — see live numbers via the GitHub link.