33rd of 15 in Gateways
new-api
Gateway that unifies LLM providers behind OpenAI, Anthropic and Gemini APIs
- Stars
- 50.1k
- License
- AGPL-3.0
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Go
22,842 on 27 Mar 202650,094 on 16 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
New API is a Go and Gin gateway that connects upstream providers such as OpenAI, Anthropic, Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek and Qwen. It exposes them through OpenAI Chat/Responses, Anthropic Messages and Gemini endpoints. A web console handles channel routing, users, quotas, pricing and usage logs. It runs on SQLite by default, or on MySQL or PostgreSQL with optional Redis.
Who it is for: Teams and operators sharing and metering access to multiple LLM providers
Ranked among open-source alternatives to OpenRouter (#3 of 10).
Strengths
- Converts between OpenAI, Anthropic Messages and Gemini request formats via RelayKit
- Channel priorities, weights, retries and multiple upstream keys per channel
- Per-user quotas, subscriptions, usage logs and expression-based pricing
- Starts on SQLite with one container; Compose file adds PostgreSQL and Redis
Weaknesses
- AGPL-3.0 with extra terms requiring attribution and a visible project link in modified UIs
- Protocol conversion is not exact; tools and fields may not map across protocols
- Multi-node setups need shared database, secrets and Redis, or rate limits count per node
- Public or resale use brings filing and compliance duties the README leaves to the operator
What it needs
- no GPU
- Docker + Compose
- Needs SQLite, MySQL >= 5.7.8 or PostgreSQL >= 9.6, Redis (optional), ClickHouse (optional, log database)
- Models: OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock
- port 3000
Head to head
Also in Gateways
See all 15| Rank | Project | Score |
|---|---|---|
| 1 | LiteLLMOpenAI-format gateway and Python SDK for calling 100+ LLM providers | 89 out of 100 |
| 2 | OmniRouteLLM gateway routing one OpenAI-compatible endpoint across 372 providers | 87 out of 100 |
| #4 | freellmapiOpenAI-compatible router that pools free LLM provider tiers behind one endpoint | 77 out of 100 |
| #5 | ContextForge MCP GatewayRegistry and proxy federating MCP, A2A, REST and gRPC behind one endpoint | 68 out of 100 |
| #6 | GoModelGo AI gateway with OpenAI and Anthropic APIs, caching and budgets | 64 out of 100 |