A · leads
new-api
91.2
52,087 stars · AGPL-3.0
Self-Hosted
new-api leads by 1.8 · narrow
A · leads
91.2
52,087 stars · AGPL-3.0
B
89.4
38,974 stars · AGPL-3.0
new-api versus Trilium 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; Trilium is written mainly in TypeScript. The composite score is 91.2 for new-api and 89.4 for Trilium.
new-api has 52,087 GitHub stars to Trilium's 38,974, a gap of 13,113 (1.34×). Forks are 12,719 for new-api and 2,630 for Trilium. On the log scale used inside this pair, adoption is 100 versus 97, and the fork community is 100 versus 83.
Push history: new-api was last pushed on 17 November 2026 (0 days ago), and Trilium was last pushed on 17 November 2026 (0 days ago). Open issues stand at 1,474 for new-api (0.028 per star) and 574 for Trilium (0.015 per star). Issue-health scores are 70 and 84; activity scores are 100 and 100.
Both new-api and Trilium are listed as AGPL-3.0. A network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. The license score is therefore level at 52 versus 52, and the decision moves to adoption, activity, and hosting. This is a procurement signal, not legal advice.
In Self-Hosted, both new-api (52,087 stars) and Trilium (38,974 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, Trilium is open source.
The lead is split. new-api is furthest ahead on fork community (100 to 83), while Trilium is furthest ahead on issue health (84 to 70). Choose the dimension a rollout cannot compromise on.
new-api finishes ahead at 91.2 against Trilium at 89.4, a 1.8 point narrow margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | new-api | Trilium |
|---|---|---|
| GitHub stars | 52,087 | 38,974 |
| Forks | 12,719 | 2,630 |
| Open issues | 1,474 | 574 |
| Adoption | 100 | 97 |
| Activity | 100 | 100 |
| Community | 100 | 83 |
| Issue health | 70 | 84 |
| License | 52 | 52 |
| Self-hosting | 100 | 100 |
| Composite | 91.2 | 89.4 |
Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.
Build your personal knowledge base with Trilium Notes
new-api has more GitHub stars: 52,087 versus 38,974 for Trilium. The gap is 13,113 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both new-api and Trilium as self-hostable. Confirm each project's deploy docs before you plan a migration.
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. Trilium 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. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
new-api scores 91.2 and Trilium scores 89.4. This page calls that a narrow lead for new-api.