Wei-Shaw / sub2api
git clone https://github.com/Wei-Shaw/sub2api.git
v0.2.24 · 14d ago
Self-hosted AI API gateway that pools Claude, OpenAI, Gemini, and Grok subscriptions behind one endpoint for quota distribution and sharing.
Why you might care
Aimed at teams or groups that want to share paid AI subscriptions and split costs while keeping native tools like Claude Code and Codex working. It is a gateway you run yourself, distributing subscription quota across users rather than offering a hosted API.
+35
stars, 24h · #1,467
+343
stars, 7 days · #788
+1.6k
stars, 30 days · #661
47k
★ total · +1% this week
10k
forks · 4.0k open issues
Star history (as recorded here)
LanguageGo
LicenseLGPL-3.0
Created2025-12-18 (11mo ago)
Last push1d ago
Watchers91
OwnerUser
Seen on GitHub Trending
- 2026-11-19 — #12 daily in go · +92 ★
- 2026-10-31 — #21 daily in go · +69 ★
- 2026-10-30 — #17 daily in go · +75 ★
GitHub topics
Links
README
Loading README…
Blurb generated by claude-haiku-5-5 1mo ago. Star deltas marked ~ are extrapolated from partial history.