New API

New API is an open-source, self-hosted AI gateway with OpenAI-, Claude- and Gemini-compatible APIs for applications, agents and teams.

  • AI
  • Development
New API is an open-source, self-hosted AI gateway with OpenAI-, Claude- and Gemini-compatible APIs for applications, agents and teams. It connects multiple upstream model providers and adds model routing, access control, usage tracking and cost accounting on your own infrastructure.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

69/100 Good

Maintained
100last commit 8 days ago
Popular
9451,885 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
201 serious finding, 3 minor, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
51,885
Open issues
1458
Last commit
2026-11-13
Latest release
v1.0.0-rc.51
License
AGPL-3.0
Activity
declining

Checked 8 days ago - source: GitHub (QuantumNous/new-api)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Initial deployment The official documentation strongly recommends using the Docker Compose method for the first deployment rather than starting a single Docker container, as it offers better configuration management and service orchestration. source

Fetched 8 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How can I route requests across several upstream keys or channels in New API?

You can configure model mappings and channel priorities and weights. It also supports retries, channel affinity, and multiple upstream keys.

Can New API track usage and cost for different model tiers?

Yes, it can manage quotas, subscriptions, usage logs, and cache accounting. It also supports expression-based pricing for different usage tiers.

What does the “Channel test error: Ratio or price not configured” message mean?

It means the channel’s ratio or price has not been set. An administrator must set the missing value.

Why is the GPT-4 token multiplier fixed at 2 in New API?

It is fixed at 2, the same as the official GPT-4 value. New API keeps its default multipliers consistent with the official API and adjusts for non-streaming mode, where the official API returns total tokens consumed.

What should I complete before operating New API as a public AI or API resale service?

You should first complete required filing, licensing, content safety, real-name verification, log retention, tax, payment, and upstream authorization obligations. You must also lawfully obtain upstream keys, accounts, model services, and interface permissions and comply with upstream terms and applicable laws.

Answers sourced from doc.newapi.pro, docs.newapi.pro, github.com

Community

No community discussions collected yet.