Skip to content
DevUtils Online

Self-Hosted

new-api vs onyx

new-api leads by 5.4 · narrow

A · leads

new-api

91.2

52,087 stars · AGPL-3.0

B

onyx

85.8

33,441 stars · license n/a

new-api versus onyx is a Self-Hosted comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. new-api is written mainly in Go; onyx is written mainly in Python. The composite score is 91.2 for new-api and 85.8 for onyx.

new-api has 52,087 GitHub stars to onyx's 33,441, a gap of 18,646 (1.56×). Forks are 12,719 for new-api and 4,754 for onyx. On the log scale used inside this pair, adoption is 100 versus 96, and the fork community is 100 versus 90.

Push history: new-api was last pushed on 17 November 2026 (0 days ago), and onyx was last pushed on 17 November 2026 (0 days ago). Open issues stand at 1,474 for new-api (0.028 per star) and 730 for onyx (0.022 per star). Issue-health scores are 70 and 70; activity scores are 100 and 100.

new-api is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. onyx is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. License scores in this pair are 52 for new-api and 30 for onyx. This is a procurement signal, not legal advice.

In Self-Hosted, both new-api (52,087 stars) and onyx (33,441 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: new-api is open source, onyx is unpriced in this catalog.

new-api is ahead on every scored dimension that is not level. Level dimensions: recent activity, issue health, self-hosting. The widest gap is license flexibility at 22 points (52 vs 30), and the tightest is self-hosting at 0 points (100 vs 100).

new-api finishes ahead at 91.2 against onyx at 85.8, a 5.4 point narrow margin under the published weights.

Scores are computed inside this pair only. Method and weights.

Where they separate

The numbers

Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.

new-api versus onyx metrics
Signal new-api onyx
GitHub stars 52,087 33,441
Forks 12,719 4,754
Open issues 1,474 730
Adoption 100 96
Activity 100 100
Community 100 90
Issue health 70 70
License 52 30
Self-hosting 100 100
Composite 91.2 85.8

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.

Project site · GitHub · Full profile

Questions this page answers

Which has more GitHub stars, new-api or onyx?

new-api has more GitHub stars: 52,087 versus 33,441 for onyx. The gap is 18,646 stars.

Which was updated more recently, new-api or onyx?

Both were last pushed on 17 November 2026.

Can I self-host both new-api and onyx?

Yes. This catalog marks both new-api and onyx as self-hostable. Confirm each project's deploy docs before you plan a migration.

Which license is easier to embed in a commercial product, new-api or onyx?

new-api is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. onyx is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. Read both grants before you embed either codebase in a hosted product. This is not legal advice.

Who wins the new-api vs onyx score?

new-api scores 91.2 and onyx scores 85.8. This page calls that a narrow lead for new-api.

Related comparisons