Share youragent.

Pool the AI subscriptions you already pay for. One gateway, one key per teammate, every token metered.

Share your agentOne key for the whole teamEvery token meteredAnyone can be a provider

How it works

Connect

Link the provider accounts you already pay for. Credentials stay on the server, encrypted, never in a repo or on a laptop.

  • Claude Code
  • Codex
  • Gemini CLI
  • Qwen Code

Issue

Mint a scoped key per teammate or per agent. Revoke one in a click without touching the rest.

Meter

Usage rolls up per key, per provider, per day. Quotas keep sharing fair, logs keep it honest.

Every token you pay for should get used.

Usage that explains itself

Rollups per key, per provider, per day. See who used what before the bill tells you.

Scoped keys

One key per teammate or agent. Revoke it in a click, the rest keep swimming.

Request logs

Latency, model and token counts for every call, searchable when something looks off.

Quotas and roles

Per-key budgets and provider permissions. Only the people who run a provider can touch it.

Anyone can run the pool.

Connect a subscription you own and share it out. Approve who joins, cap tokens per key, revoke in a click.

Many agents in. One key out.

  • claude code
  • codex
  • gemini cli
  • qwen code
tokenswim /v1
  • web app
  • ci bot
  • research

One endpoint. Zero rewrites.

The gateway speaks the OpenAI API. Swap the base URL in any SDK, keep one key, and every request lands in your logs.

curl https://swim.yourdomain.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENSWIM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

One subscription. Whole team.