A · level
new-api
91.2
52,087 stars · AGPL-3.0
Self-Hosted
Too close to call · 91.2 to 91.4
A · level
91.2
52,087 stars · AGPL-3.0
B · level
91.4
47,269 stars · AGPL-3.0
new-api versus siyuan 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; siyuan is written mainly in TypeScript. The composite score is 91.2 for new-api and 91.4 for siyuan.
new-api has 52,087 GitHub stars to siyuan's 47,269, a gap of 4,818 (1.10×). Forks are 12,719 for new-api and 3,122 for siyuan. On the log scale used inside this pair, adoption is 100 versus 99, and the fork community is 100 versus 85.
Push history: new-api was last pushed on 17 November 2026 (0 days ago), and siyuan was last pushed on 17 November 2026 (0 days ago). Open issues stand at 1,474 for new-api (0.028 per star) and 5 for siyuan (0.000 per star). Issue-health scores are 70 and 96; activity scores are 100 and 100.
Both new-api and siyuan 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 siyuan (47,269 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, siyuan is open source.
The lead is split. new-api is furthest ahead on fork community (100 to 85), while siyuan is furthest ahead on issue health (96 to 70). Choose the dimension a rollout cannot compromise on.
Composite score: new-api 91.2, siyuan 91.4. The margin is under one point, so this page calls a tie. Use the dimension breakdown rather than the headline number.
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 | siyuan |
|---|---|---|
| GitHub stars | 52,087 | 47,269 |
| Forks | 12,719 | 3,122 |
| Open issues | 1,474 | 5 |
| Adoption | 100 | 99 |
| Activity | 100 | 100 |
| Community | 100 | 85 |
| Issue health | 70 | 96 |
| License | 52 | 52 |
| Self-hosting | 100 | 100 |
| Composite | 91.2 | 91.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.
An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
new-api has more GitHub stars: 52,087 versus 47,269 for siyuan. The gap is 4,818 stars.
Both were last pushed on 17 November 2026.
Yes. This catalog marks both new-api and siyuan 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. siyuan 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.
Neither tool clears a one-point margin. new-api scores 91.2 and siyuan scores 91.4.