New API
www.newapi.ai
Open-source self-hosted AI gateway that puts OpenAI, Claude, Gemini and other models behind one compatible API with routing, access control and usage tracking.
- GitHub stars
- 52,347
- License
- AGPL-3.0
- Language
- Go
- Pricing
- Open source
- Published
- Nov 5, 2026
Next steps
What it does
New API is an AGPL-3.0 open-source AI gateway written in Go (about 51k GitHub stars). Teams connect upstream model services such as OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek and Qwen, then expose OpenAI-, Claude- and Gemini-compatible APIs to their own apps and agents. A web console manages model routing, access control, usage analytics and cost accounting, and there is a plugin marketplace. The README stresses it is meant for lawful, authorized use: you must obtain upstream keys legitimately and follow provider terms and local regulations.

Use cases
- Give an internal team one API key while switching model providers behind it
- Track per-user model usage and cost across several upstream providers
- Run a private multi-model service with a web console
Frequently asked questions
- What is New API used for?
- Self-hosting an AI gateway that unifies several upstream model providers behind OpenAI-, Claude- and Gemini-compatible APIs.
- Which upstreams are supported?
- OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek, Qwen and other compatible services.
- Is it free?
- Yes, it is open source under AGPL-3.0.
- Are there usage restrictions?
- The project says it is only for lawful, authorized use; upstream keys must be obtained legitimately and provider terms followed.