head to head · open source
one-api vs axonhub
one-api has 36,984 GitHub stars, 6,869 forks, 1,036 open issues and last shipped 9 months ago. axonhub has 5,274 stars, 706 forks, 112 open issues and last shipped today. one-api leads on adoption by 601% (36,984 vs 5,274 stars). one-api is written in JavaScript under MIT; axonhub is written in Go under Apache-2.0. one-api has attracted 19% as many forks as stars, axonhub 13%. axonhub was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (api-gateway, claude), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| one-api | axonhub | |
|---|---|---|
| GitHub stars | ★ 37K | ★ 5.3K |
| License | MIT | Apache-2.0 |
| Written in | JavaScript | Go |
| Last push | 2026-01-09 | 2026-09-22 |
| Forks | ⑂ 6.9K | ⑂ 706 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick one-api if
- You weight community size — 37K stars and counting
- You want the MIT license terms
- Your stack matches JavaScript
- You value the larger contributor base for long-term maintenance
pick axonhub if
- You want the axonhub feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Go
- You evaluated both and axonhub fits your workflow better
About one-api
One API is a self hosted LLM API management and key redistribution system that exposes many model providers through the standard OpenAI API format, aimed at developers, teams and operators who want a single endpoint, a single key model and a single quota surface across providers.
read the full one-api overview →
About axonhub
AxonHub is an open source AI gateway, written in Go and released under the Apache 2.0 licence, that lets an application call 100+ large language models through whichever AI SDK it already uses and switch providers without changing code — built for developers and platform teams who need one self hostable control point for model access, failover, cost and tracing.
read the full axonhub overview →
More in Developer Tools
Related comparisons
More API Development & Testing projects
Compare either of these against the rest of the API Development & Testing field.
Frequently asked questions
Is one-api or axonhub more popular?
one-api has 36,984 GitHub stars and axonhub has 5,274. one-api has the larger community by that measure.
Are one-api and axonhub free?
Both are open source. one-api is licensed under MIT and axonhub under Apache-2.0. Neither carries a licence fee.
What is the difference between one-api and axonhub?
one-api is written in JavaScript and axonhub in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, one-api or axonhub?
Choose one-api if you want the larger community (36,984 stars) or its MIT licence terms. Choose axonhub if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.