About this project
sub2api-custom is an unofficial derivative of Sub2API, positioned as an extensible AI API gateway for distributing and managing API quotas from AI product subscriptions. Users can access upstream AI services through platform-generated API keys.
This derivative adds several extensions on top of the original: each group can set a per-user independently counted concurrency limit; each API Key can select a same-platform fallback group, automatically switching when the primary group has no available accounts, and applying the fallback group's pricing multiplier, subscription deduction, and usage attribution; it provides single-machine multi-window Codex fingerprints, supporting stable per-account device identity, session window pools, and sub-proxy overflow; the management interface can view the latest account requests, with independent refresh and adjustable column widths; it also supports updating source code from a custom branch via a host updater.
The project is built with Go, Vue, PostgreSQL, and Redis, and supports Docker deployment. The README explicitly warns that using this project may violate the terms of service of upstream providers such as Anthropic, and users must bear the risks of account bans, service interruptions, and other consequences themselves. The project is intended solely for technical learning and research, and no commercial operation is authorized.
For deployment, the official installation script can quickly start the Linux Docker environment and automatically install the host updater; for manual Compose deployment, the source code updater installation script can be executed after the stack is running, enabling subsequent updates from the management page. The project maintains the LGPL-3.0 license and preserves upstream attribution.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.