Categories
Self-Hosted Developer Tools Access Control AI Gateway LLM Tools Usage Tracking Subscription PoolingStars
Forks
Watchers
Developer links
SubLane
Five teammates sharing three AI subscriptions usually means a password in a group chat; SubLane replaces that with a gateway you host, where accounts are pooled and every person gets a managed key. Connect Codex, Claude, Antigravity, and Grok Build subscriptions once, by browser OAuth or credential import, and the gateway snapshots each account's quota windows and allowances so routing knows who still has room. Add API channels for OpenAI-compatible services alongside the subscriptions, then group everything into resource pools with model allowlists, conversation affinity, concurrency controls, and cooldown recovery for accounts that hit a limit. Each member receives a personal key scoped to one group, with its own expiry, rate and concurrency limits, and an allowance measured in tokens, internal dollars, or estimated quota share; keys can be paused or revoked without touching anyone else. Whatever the client speaks, the gateway answers: OpenAI Responses and Chat Completions, Claude Messages, and Gemini formats flow over HTTP, SSE, or WebSocket, independent of which subscription actually serves the request. Administrators watch per-member and per-model usage charts, activity heatmaps, and request diagnostics, bind a fixed outbound proxy to any account, and apply workspace content rules before dispatch. It all runs as one Go process with SQLite and an embedded dashboard, backed up and restored from the interface. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
Benefits
- Subscriptions Become Team Infrastructure
- Pool Codex, Claude, Antigravity, and Grok accounts behind one gateway so the team uses them through managed keys instead of shared logins and copied credentials.
- Quota-Aware Pool Routing
- Resource groups route each request to an account with room, using quota snapshots, conversation affinity, concurrency limits, and cooldown recovery when an account hits a wall.
- Every Member, A Scoped Key
- Personal keys bind to a resource group with expiry, pause, and revocation, plus per-member rate, concurrency, and allowance limits in tokens, dollars, or quota share.
- One Process, Nothing Else
- The gateway, its SQLite store, and the embedded dashboard run as a single Go process, so deployment is one container or binary with no external database.
Features
- Four Subscription Providers
- Connect Codex, Claude, Antigravity, and Grok Build accounts by browser OAuth or credential import, with encrypted storage and quota snapshots for each provider's windows and allowances.
- OpenAI-Compatible API Channels
- Add official or third-party Chat Completions services with a base URL and encrypted key, with model discovery, connection checks, rotation, and usage accounting per channel.
- Multi-Format Client APIs
- Clients call OpenAI Responses, Chat Completions, Claude Messages, or Gemini formats over HTTP, SSE, or WebSocket, independent of which subscription actually serves the request.
- Workspaces With Roles
- Workspaces isolate accounts, pools, keys, usage, and audit records, with administrator and member roles, invitation registration, and direct access grants for each person.
- Per-Account Network Proxies
- Bind a fixed outbound proxy to any account so OAuth refresh, model discovery, quota reads, and model traffic leave through the route that account requires.
- Audit, Backup, Restore
- Management audit logs, request diagnostics, usage heatmaps, and built-in backup creation, verification, and restore keep the gateway observable and recoverable from the dashboard.