Pay as you go from a prepaid balance, with no monthly fee. A 5.5% payment fee applies when you add credit, the same model as OpenRouter's Standard plan. CodeRouter sends each step of your coding agent to a model that can do it — Claude Haiku 5.5 for a rename, Claude Opus 5.5 when a plan is hard — or switch to Direct mode and name the model yourself.
Every new account gets $1 of usage for 7 days with no card; add a card (not charged, one trial per card) to raise it to $5. It covers every model except Claude Opus.
Add balance from $20; a 5.5% payment fee is added when you buy credit, so $20 of credit costs $21.10. Each request is billed at the model's public list price, with no markup — cached input at the much lower cache price, Anthropic cache writes counted — and its cost is in the response headers. At a $0 balance requests stop (HTTP 402); turn on auto top-up to keep going.
Smart routing is on by default: CodeRouter picks the model for each request and keeps a coding-agent session on one model so the prompt cache stays warm. Prefer to choose? Direct mode uses the exact model you name. Switch in the dashboard at any time.
Both include phase-aware routing, all 15+ coding models, streaming, auto-failover, and each request's model and cost in its response headers (X-CodeRouter-Model, X-CodeRouter-Cost).
| Feature | Pay as you go | Team |
|---|---|---|
| Monthly fee | None | $19 per developer |
| Model usage (list price, no markup) | ||
| Claude Opus 5.5 | ||
| Direct mode (pick the model) | — | |
| Rate limit (rpm) | 1,000 | 2,400 |
| API keys | 20 | 50 |
| Smallest top-up | $20 | $100 |
| Payment fee when you add credit | 5.5% | 5.5% |
| Budgets and alerts per member and project | — | |
| Shared team dashboards | — | |
| Support |
Same as every provider — roughly 3–4 English characters, or ~0.75 words. A typical 10K-line code base as context is ~100K tokens. The response headers X-CodeRouter-Cost and X-CodeRouter-Cost-If-Opus show the cost of each request and the same tokens priced at Opus list price — a same-token estimate, not what an all-Opus coding-agent session would have cost (a stronger model takes a different number of steps). Fast mode and US-only inference are billed at Anthropic's list price for them, with no markup.
OpenRouter and LiteLLM give you one API for many models. OpenRouter's Auto Router and Auto Code (for coding agents) pick a model for each request with a decision model; LiteLLM routes by rules you configure. CodeRouter is built for coding agents: it starts each task on the cheapest model that can handle it, keeps a session on one model so the prompt cache stays warm, and moves up only when tests or errors show a failure or the agent stalls.
Yes. Each task starts on the cheapest model that can handle it and moves up only when tests or errors show a failure or the agent stalls, up to Claude Opus 5.5 for the hardest work. Opus is billed from your balance at list price like any other model; the free credit doesn't cover it. Everyday edits, implementation and tests run on Claude Haiku 5.5, Kimi K2.6 or Claude Sonnet 5.5.
Any OpenAI-compatible agent. Set your agent's base_url to https://www.coderouter.io/api/v1 and use your CodeRouter API key. Aider and Cursor (custom model) work out of the box. Claude Code via proxy config. See the setup guide.
Requests stop: the API returns HTTP 402 with a link to add balance, so you're never billed beyond what you topped up. We email you when the balance runs low. Turn on auto top-up to refill automatically, or BYOK fallback to continue on your own provider keys.
Not for pay as you go: you top up a balance and pay for what you use. Team seats are billed monthly; cancel from the dashboard at any time and the team stays active until the end of the billing period. No retention gates, no salespeople.
To improve routing, we store a short excerpt of each request (the latest message, up to 6,000 characters, and the start and end of the latest tool output, up to 3,000 characters per result) and a short summary of the response (the tools it called and its first 500 characters), together with the routing decision, for up to 180 days. We use it to evaluate and train CodeRouter's routing, including our own routing models. We never sell it. Team admins can turn this off, in which case only metadata is stored. The excerpt is shared with the subprocessor that runs our routing decisions — see the subprocessors in our privacy policy.
From a 176-task coding benchmark measured by TokenWatt, a measurement project from the same team as CodeRouter: 176 single-file Python tasks (Exercism + Aider's polyglot hard set), implement and debug phases, one retry, list prices. Across three runs with the earlier router, 96.0–97.7% of tasks were solved at 41–44% of the cost of sending every request to Opus (56–59% less); the current router (November 2026) solved 176 of 176 at 30% of that cost (70% less) in its first run. Your number depends on your mix of planning, implementation, debugging and edits, and on your cache hit rate — the dashboard shows your own spend per request and per model. Full methodology and results →
Each active team member is a seat at $19 a month. Adding or deactivating a member changes the seat count, and Stripe prorates the difference on the next invoice. All model usage is billed from the team's prepaid balance at list price, with no markup (top-ups from $100, by card or US bank transfer, plus a 5.5% payment fee). There's no included usage and no account-level cap: set budgets per member, per project and for the company, with an alert at 80% and a downgrade or pause at 100%. If the balance runs out, requests pause and team admins get an email — turn on auto top-up to avoid that. More on Team →
Full detail in the privacy policy and terms of service. Privacy · Terms · Contact