Deploy Now

Stars

116

Forks

11

Watchers

0

Developer links

Subpool

Your company pays for AI subscriptions nobody can see, scattered across personal accounts and team plans, and Subpool is the self-hosted control plane that pools that authorized capacity and hands every employee one key with limits you govern. Administrators combine subscription and API accounts into pools behind a single managed endpoint, then allocate employee-specific keys across whichever provider accounts are healthy. The console watches account health, remaining subscription capacity, and when each plan window resets, and routing prefers subscription capacity first, falling back to paid API accounts under the very same employee key when a window runs dry. Rate-limit, expire, or revoke any person's access independently, and keep every key-to-account assignment visible and auditable instead of buried in a shared credential nobody can trace. The employee API speaks OpenAI-compatible Responses and Chat Completions, so existing tools point at your pool unchanged, while aggregate input and output token telemetry is tracked per key in provider-native units. For OpenAI accounts, a Costs API estimate shows the remaining grant balance; Bailian Token Plan accounts display their five-hour, weekly, or monthly quota windows. Upstream credentials stay encrypted, and prompts, responses, and source code are never persisted. One Go service with an embedded console and PostgreSQL runs from Docker Compose, with sign-in on port 8081 and the employee API on 8080. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Subpool

Benefits

  • Pool Every Authorized Account
  • Combine authorized subscription and API accounts into pools behind one managed endpoint, so team capacity stops hiding inside personal logins nobody else can see or govern.
  • Subscription First API Fallback
  • Subpool prefers subscription capacity and falls back to paid API accounts with the same employee key, so people keep working when a plan window runs dry.
  • Keys Limited Expired Revoked
  • Rate limit, expire and revoke employee access independently, with key to account assignments kept visible and auditable instead of buried in shared credentials nobody can trace.
  • No Conversation Content Stored
  • Upstream credentials are encrypted and prompts, responses and source code are never persisted, while aggregate token telemetry is tracked per API key in provider native units.

Features

  • OpenAI Compatible Endpoint
  • Exposes OpenAI compatible Responses and Chat Completions APIs on the employee port, so existing tools point at your pool without code changes or new SDKs.
  • Health Quota Monitoring
  • Monitor account health, remaining subscription capacity and reset availability per account, with health workers refreshing OpenAI Costs estimates and Bailian five hour, weekly or monthly windows.
  • Employee Specific Keys
  • Allocate employee specific keys across healthy provider accounts, so every person's usage, limits and revocation are separate instead of one shared key for the whole company.
  • Embedded Admin Console
  • A single Go service with an embedded React console and PostgreSQL persistence; sign in on port 8081 while the employee API stays on port 8080.

Apps Similar to Subpool