QuantumNous/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.

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

An AI gateway for models, applications, and agents 简体中文 | 繁體中文 | English | Français | 日本語 Screenshots • Capabilities • Quick start • Deployment • Development • Documentation New API is a self-hosted AI gateway for applications, agents, and teams. Connect upstream model services, expose a consistent API to your clients, and manage routing, access, usage, and costs in one place. Use it to share authorized model access across a team, switch providers without configuring every client again, or operate a private multi-model service with a web console. Upstreams include OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek, Qwen, and other compatible services. Accounts, channels, plugin installation states, usage, prices, and costs shown below are simulated data. The marketplace displays the official plugin catalog. Click an image to view it at full size. No particular order Thanks to JetBrains for providing free open-source development license for…

QuantumNous/new-api on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-28T12:18:55.792Z

Inside the original README — Document outline
  1. New API
  2. 📝 Project Description
  3. Screenshots
  4. 🤝 Trusted Partners
  5. 🙏 Special Thanks
  6. Capabilities
  7. Protocols and endpoints
  8. Quick start
  9. Try locally with Docker
  10. Make your first request
  11. Deployment
  12. Docker Compose

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: AGPL-3.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.

Repository facts

Owner
QuantumNous
Primary language
Go
Stars
51,090
Forks
12,379
Open issues + pull requests
1,405
License
AGPL-3.0
Archived
No
Default branch
main
Created
2023-11-10T19:33:36.000Z
Last push
2026-10-31T05:42:44.000Z

Topics and intended use

Owner-supplied topics: ai-gateway, api-management, claude, deepseek, gemini, llm-gateway, model-routing, newapi, openai, rerank, self-hosted

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-31T12:20:20.933Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

avelino/awesome-go

ollama/ollama

golang/go

kubernetes/kubernetes

JuliusBrussee/caveman

netdata/netdata