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.
new-api is an open-source project in the AI category written in Go, released under the AGPL-3.0 license. It has 52,478 GitHub stars and its last commit was today.
GitHub activity
- Stars
- 52,478
- Forks
- 12,832
- Open issues
- 795
- Last commit
- today
- Latest release
- v1.0.0-rc.51 · 11 days ago
- Created
- 2023
#claude#gemini#openai#rerank#ai-gateway#deepseek#newapi#api-management#llm-gateway#model-routing#self-hosted
new-api at a glance
- Website
- newapi.ai
- Source code
- QuantumNous/new-api
- Open source
- Yes
- License
- AGPL-3.0
- Language
- Go
- Pricing
- Free
- Self-hosted
- Yes
- Categories
- AIGo (Golang)
new-api vs similar projects
| Project | Stars | License | Language | Last commit | Health |
|---|---|---|---|---|---|
| new-apiOpen-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routin | 52k GitHub stars | AGPL-3.0 | Go | today | Thriving |
| OpenCodeOpen-source AI coding agent that works with any model provider from the terminal. | 229k GitHub stars | MIT | TypeScript | today | Thriving |
| n8nSecure, AI-native workflow automation. | 212k GitHub stars | Other | TypeScript | today | Thriving |
| OllamaOpen-source platform for running large language models locally on macOS, Windows and Linux. | 188k GitHub stars | MIT | Go | today | Thriving |
| Open WebUISelf-hosted AI interface for local and cloud language models with RAG and tool support. | 159k GitHub stars | Other | Svelte | today | Thriving |
| ComfyUIOpen-source node-based interface and backend for advanced AI image generation workflows. | 148k GitHub stars | GPL-3.0 | Python | today | Thriving |
| ImmichOpen-source self-hosted photo and video management platform with AI-powered search and recognition. | 120k GitHub stars | AGPL-3.0 | TypeScript | today | Thriving |
new-api FAQ
What is 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.
Is new-api open source?
Yes. new-api's source code is public on GitHub (QuantumNous/new-api) under the AGPL-3.0 license.
Is new-api still maintained?
new-api's last commit was on 2026-11-24 (today), latest release v1.0.0-rc.51 on 2026-11-13. Health score: 100/100.
Is new-api free?
new-api is free to use and can be self-hosted; some projects also sell an optional hosted plan.
What are the best alternatives to new-api?
Similar projects include OpenCode (★ 229k), n8n (★ 212k), Ollama (★ 188k), Open WebUI (★ 159k), ComfyUI (★ 148k).
Maintain new-api? Add the badge to your README
Shows your project's health score and links back to this page.
[](https://osssoftware.org/tools/new-api/)