Source: https://seerepo.com/r/QuantumNous/new-api
Markdown source: https://seerepo.com/r/QuantumNous/new-api.md
Description: QuantumNous/new-api is a Go repo with 564,057 lines written in 1,971 files. new-api is built with Gin and uses Redis, Postgres, and Stripe.

# What's inside QuantumNous/new-api

QuantumNous/new-api is a Go repo with 564,057 lines written in 1,971 files. new-api is built with Gin and uses Redis, Postgres, and Stripe. AI signed 0.7% of the 5,382 commits of new-api.

Its description on GitHub: “Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.”

Go · AGPL-3.0 · 50,869 stars · GitHub: https://github.com/QuantumNous/new-api

Read on October 28, 2026, at commit e449cc7.

## Its folders

- [What is new-api built with?](https://seerepo.com/r/QuantumNous/new-api/built): new-api is built with Gin and uses Redis, Postgres, and Stripe.
- [How much of new-api did AI write?](https://seerepo.com/r/QuantumNous/new-api/ai): AI signed 0.7% of the 5,382 commits of new-api.

## In figures

- 564,057 lines written: The ones people and agents wrote: product, tests, schemas and tooling. Generated code doesn’t count.
- 1,971 files: The product’s, not counting tests.
- 505 test files: The files that test the code.
- 4 technologies: Each one with the file and line that prove it.

SeeRepo read its code facts-only: no AI, and none of its code is kept.

## Frequently asked questions

### What is QuantumNous/new-api?

QuantumNous/new-api is a Go repo with 564,057 lines written in 1,971 files. Its description on GitHub: “Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.”

The proof: [its page on GitHub](https://github.com/QuantumNous/new-api)

### What is new-api built with?

new-api is built with Gin and uses Redis, Postgres, and Stripe.

The proof: [each technology with its file and line](https://seerepo.com/r/QuantumNous/new-api/built)

### How much of new-api did AI write?

AI signed 0.7% of the 5,382 commits of new-api.

The proof: [the commits each tool signed](https://seerepo.com/r/QuantumNous/new-api/ai)

### What license does new-api have?

new-api is released under the AGPL-3.0 license.

The proof: [its page on GitHub](https://github.com/QuantumNous/new-api)

### How many stars does new-api have on GitHub?

new-api had 50,869 stars on GitHub on October 28, 2026.

The proof: [its page on GitHub](https://github.com/QuantumNous/new-api)

## Add this badge to your README

It links to this page and updates itself each time SeeRepo reads the repo.

```markdown
[![QuantumNous/new-api on SeeRepo](https://seerepo.com/badge/QuantumNous/new-api.svg)](https://seerepo.com/r/QuantumNous/new-api?de=insignia)
```

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
