ClosedRouter

Accounts and routing

Every seat and key the team contributes, routed by what's left.

Members add their own subscriptions and API keys and keep them private until they choose to share. The router reads each account's quota windows and sends every request to one that can take it.

Open Accounts

Caps an owner sets never block the owner's own requests.

Your accounts example data

CX · Codex 2

  1. CXCodex · ProShared · cap 5M/day2.1M of 5M today
  2. CXCodex · PlusPrivateonly you

CL · Claude Code 1

  1. CLClaude Code · MaxShared · bridge onlineCooling downback 19:34

API · Direct keys 1

  1. OAOpenAI APIShared · after subscriptions$1.20 est. today

Connect

Four ways in, depending on the provider.

MethodHow it works
CLI importnpx @closedrouter/cli finds the Codex, Cursor and Antigravity logins on your machine and imports the ones you pick, privately.
Device codeCodex and GitHub Copilot connect from Accounts → Add account: open the provider link and approve the code.
Claude Code bridgecr gateway runs on the owner's machine and serves requests through their own Claude Code login. The login is never imported or stored, and the account serves only while the bridge is online.
API keysAnthropic, OpenAI, Gemini and xAI keys are checked against the provider's model list. An OpenAI-compatible base URL works once the server allows its origin.

Sharing

The owner decides what the team gets from each account.

Private by default

A new account routes only its owner's requests. Sharing is a switch per account, and turning it off applies to the next request.

Daily caps

Cap what teammates route through an account each UTC day, in tokens, in estimated retail spend, or both, for the whole account or for single models.

Model exposure and concurrency

Choose which of the account's models the workspace can reach, and how many requests may run on it at once.

Provider details

Codex accounts have a Fast mode switch for the provider's priority tier. Copilot capacity shows in the provider's AI credits.

Routing

The router reads the quota windows, so your team doesn't have to.

Subscriptions reset on their own clocks. For every request ClosedRouter checks each eligible account and picks one that can take it.

CheckWhat it means
Model exposureThe account serves the requested model, and its owner exposes that model to the workspace.
Quota windowsFive-hour, weekly and monthly usage as the provider reports it, with each reset time.
Health and cooldownsAccounts that return errors or rate limits rest until they recover. A 429 fails over to the next account.
ConcurrencyPer-account slots, so one long session can't hold a seat.
LimitsPer-key, per-member and workspace token caps, with daily and weekly windows.
Order and poolsSubscriptions before metered keys by default. Named pools pin a key or a launch to a set of accounts.

Pools

Point a key or a launch at a chosen set of accounts.

Private and workspace pools

A private pool is yours and may mix your accounts with shared ones. A workspace pool is set up by admins and holds only accounts their owners share.

Choosing a pool

Per launch with cr pool, per request with the X-ClosedRouter-Pool-Id header, or per key with a default pool that applies when a request names none.

Pool caps

A pool can carry its own token and estimated-spend caps. They count everything routed through the pool, the owner's requests included.

Reset times you can read

Each quota window shows the percent used, how much of the window has passed, and when it comes back, in your local time.

In the terminal

The same controls from the CLI.

$ npx @closedrouter/cli   # sign in and import accounts
$ cr gateway              # serve your Claude Code subscription
$ cr pool                 # choose the pool for launches
$ cr usage                # quota windows and your usage
$ cr start codex          # launch a client through the gateway

Contribute your first account.

Open Accounts