New API
App : A product you use directly
A self-hosted AI gateway: a single access point for all your model providers, with routing, keys, quotas and cost tracking.
New API is the most active successor to One API. It sits between your applications and the providers, OpenAI, Anthropic, Gemini, Azure, Bedrock, Vertex, and presents a single interface. You can manage keys per team with model restrictions, quotas, usage logs, and priority-based routing with failover. It also translates between API formats, without guaranteeing that every field passes through. It is the tool to look at for splitting an AI budget across teams. The AGPL license imposes its obligations, plus keeping an attribution notice. The project reminds users that reselling access requires the providers' agreement.
Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.
What it does, concretely
When a team uses several AI model providers, each application has to be configured separately, with its own keys and no overall view of costs. New API addresses this by sitting between your applications and the providers (OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek, Qwen and compatible services). Your clients only see a single API address.
In practice, you install New API on your own server and add your provider keys as "channels". You then create New API-specific keys, handed out per user or group, with model restrictions and quotas. Routing relies on priorities, weights and retries on failure, and usage logs let you track costs. A web console lets you configure everything and try models.
New API is aimed at technical teams that want to split an AI budget across teams, switch providers without reconfiguring every client, or run a private multi-model service. The software is free under the AGPL 3.0 license, with an attribution notice to keep.
It is not a good fit if you want a ready-to-use tool with no installation: you need to deploy and maintain an instance, with a database and backups. It is also not meant for reselling or offering public access to models without having settled the legal obligations and obtained the providers' agreement, as the project points out.
What it offers
- ·Exposes a single interface compatible with OpenAI (Chat Completions, Responses), Anthropic Messages and Gemini, with streaming, tools and multimodal inputs depending on the model.
- ·Routes requests by channel priorities and weights, with retries on failure, model mappings and multiple keys per provider.
- ·Manages quotas, subscriptions and usage logs, with expression-based pricing for different usage tiers.
- ·Controls access through users, groups, fine-grained permissions and key restrictions, with OAuth/OIDC, passkeys and two-factor authentication.
- ·Converts requests, responses and streams between the four text protocols through RelayKit, with no guarantee that every tool or field carries over exactly.
- ·Provides a web console with a usage dashboard, audit logs and a playground to try models, available in seven languages including French.
- ·Extends task APIs (image, video) with JavaScript plugins, including task status and output retrieval.
- ·Works with SQLite, MySQL or PostgreSQL, and optional Redis to share rate limits across several nodes.
In practice
- Price
- Free
- Available on
- web, api
- FR interface
- No
Security and data
- Rating
- Security: one caveat, see the card
- Your data
- Local or cloud depending on use
- Maintenance
- Active
- Last release
- 27 November 2026
Links and repository checked on 30 November 2026 · added on 30 November 2026
How to install New API
mkdir -p data
docker run --name new-api -d --restart unless-stopped -p 127.0.0.1:3000:3000 -e TZ=Asia/Shanghai -v "$(pwd)/data:/data" calciumion/new-api:latest