Claude Code model router
teamclaude
Multi-account proxy that pools Claude Max and other backends for Claude Code.
Install
npm install -g @karpeleslab/teamclaudegit clone https://github.com/KarpelesLab/teamclaude.gitFrom the README
TeamClaude Multi-account proxy for Claude Code and Codex: it pools Claude Max, ChatGPT/Codex, API-key and third-party backend accounts, and rotates on quota. It sits between the coding agent and the provider's API, holds several accounts, and moves to the next one when the current account gets close to its session or weekly limit. The session keeps running instead of stopping on a 429. Claude accounts serve Claude Code, Codex accounts serve the Codex CLI, and both pools share one proxy. It is built for one person. The "team" is the agents: someone running ten, or fifty, coding-agent sessions at once needs more than one subscription, and switching accounts by hand each time one fills up is what this replaces. Every account in the pool is your own, and the client is the provider's own CLI. It is not a way to share an account between people, and not a bridge for other clients onto subscription credentials — see Scope. Quick start Node.js 20+ required. Already logged into Claude Code? teamclaude import takes its credentials instead of a fresh OAuth round. A container image is on GHCR — see Running in a container. API keys, and one email holding accounts in several orgs, are covered in docs/accounts.md. What it does - Rotates to the next account when the 5h session or 7d weekly bucket reaches the threshold (98% by default), preferring the account whose weekly quota resets soonest. - Tracks the per-model weekly cap separately, so an account out of Fable quota is skipped for Fable requests and still serves Opus and Sonnet. - Tells a spent quota bucket apart from a per-minute rate limit and only rotates on the first one. Rotating on a rate limit would just move the burst to the next account and drop the warm cache, so it paces the same account instead. - Paces requests…
Details
- Repository
- KarpelesLab/teamclaude
- Language
- JavaScript
- License
- MIT
- Last updated
- 31 October 2026
- Topics
- anthropicchatgptclaudeclaude-codeclicodexdeepseekload-balancermulti-accountnodejsoauthopenai
FAQ
What is teamclaude?
Multi-account proxy that pools Claude Max and other backends for Claude Code. It is a model router for Claude Code, from KarpelesLab/teamclaude on GitHub.
How do I install teamclaude?
Run npm install -g @karpeleslab/teamclaude, then follow the setup in the README.
Is teamclaude popular?
KarpelesLab/teamclaude has 471 GitHub stars and 145 forks. It was last updated on 31 October 2026.
More model routers & proxies
CC Switch Web
524Laliet/cc-switch-web
Web-based version of CC Switch for managing Claude Code providers.
ccproxy
357starbaser/ccproxy
Hookable proxy for Claude Code that rewrites requests and routes to custom models.
Agentic Flow
836ruvnet/agentic-flow
Easily switch between alternative low-cost AI models in Claude Code/Agent SDK. For those comfortable using Claude agents and commands, it lets you take what you've created and deploy fully hosted agents for real business purposes. Use Claude Code to get the agent working, then deploy it in your favorite cloud.
ccLoad
431caidaoli/ccLoad
Self-hosted gateway pooling API keys and subscription accounts behind one endpoint for Claude Code.
Wesight
966freestylefly/wesight
Open-source desktop AI agent workspace with one-click Claude Code, Codex, OpenClaw, Hermes Agent setup and custom LLM model routing.
Pasteguard
805sgasser/pasteguard
AI gets the context. Not your private data. Local-first privacy proxy for browser chat, AI APIs, and coding agents.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.