Share subscription-based AI service quotas among multiple users
This platform changes the way subscription-based AI services like Claude, OpenAI, Gemini, and Grok are used by allowing multiple users to access a single account and split the costs. It issues a dedicated API key to each user, routes requests to the appropriate account, and settles usage on a per-token basis. This creates a structure where teams or communities can use AI coding tools efficiently without one person bearing the high subscription fee alone.
Distribution and settlement of subscription quotas
The core of this system is managing multiple upstream AI accounts behind a single gateway. Users connect to tools like Claude Code or Codex using the API key generated by the platform. The platform intelligently selects which account to send requests to and manages sessions to ensure they are maintained. Simultaneously, it accurately tracks each user's token usage to calculate costs. This ensures that requests are processed without confusion even when multiple users access a single account, and it clearly shows who used how much.
Management tools for operations
A web-based management dashboard allows you to add or delete accounts and set user access permissions. You can adjust the number of concurrent connections and request rate limits per user to prevent specific users from monopolizing all resources. The built-in payment system integrates EasyPay, Alipay, WeChat Pay, and Stripe, allowing users to top up their balances themselves. It also supports embedding external ticketing systems and other tools via iframe to extend the management interface.
Deployment environment and requirements
To install on a server, you must have PostgreSQL 15 or higher and Redis 7 or higher running in a Linux environment. Using Docker Compose simplifies setup by deploying the database and cache server together. If you are using Apple Silicon chips on macOS, you can also run the entire stack locally via Apple container. When using Nginx as a reverse proxy, you must add the underscores_in_headers on; setting to prevent values containing underscores in headers from being deleted, ensuring the session maintenance feature works correctly.
Risks to check before use
Using this project may violate the terms of service of upstream providers such as Anthropic. Users bear full responsibility for all risks that arise, including account suspension, service interruption, and data loss. The developers state that they have not approved commercial use and provide the project solely for technical learning and research purposes. Therefore, you must carefully review the laws of your country and the terms of service of each AI service before adopting this tool. In particular, if used for commercial purposes, the responsibility for legal disputes and losses lies with the user.