Sub2API
Self-hosted gateway that shares AI subscription quotas via one API
What it is
Sub2API is a relay server that pools Claude, OpenAI, Gemini, and Grok subscription accounts behind a single API, so coding tools like Claude Code and Codex can use them directly. It handles API key distribution, usage tracking, and cost splitting across users, with a Go backend, Vue admin interface, PostgreSQL, and Redis. Groups who share subscriptions run it to divide quota and costs among members, though the authors warn that doing so may break upstream providers' terms of service.
