About CodeRouter
CodeRouter is an independent phase-aware LLM router for AI coding agents. You point your coding agent at one OpenAI-compatible endpoint; for each request we detect what the agent is actually doing — planning, implementing, debugging, testing or documenting — and forward it to the cheapest model that is capable of that specific job.
The problem we exist to solve
Coding agents send every request to whichever model you configured. That means an architectural decision and a one-line docstring cost the same. In a normal day of agent work the expensive requests are a minority, but they set the price for all of them.
Routing per request is the whole product. Everything else on this site — the model table, the integration guides, the error reference — exists to support that one decision.
How a model gets chosen
- Phase detection. We classify the incoming request from its messages, tool definitions and conversation shape into a coding phase. Requests we cannot classify fall back to a conservative default rather than guessing.
- Capability filter. Models are scored per coding phase, not with one general-purpose score. A model strong at implementation may be excluded from planning. Requests that need vision, long context or thinking mode are restricted to models that actually support them.
- Cost ordering. Among models that clear the capability bar for that phase, the cheapest is chosen.
- Health and failover. Providers that error or degrade enter a cooldown so one upstream outage does not cascade into your session.
The current model list and per-phase scores are public on the models page, and the routing behaviour for each supported agent is documented in the integration guide.
What CodeRouter is not
- Not a model marketplace. A marketplace gives you many models and leaves the choice to you. Our position is that the per-request choice is the part worth automating.
- Not a model provider. We do not train or host models. Requests are forwarded to upstream providers.
- Not affiliated with the tools we support. CodeRouter is not affiliated with, endorsed by, or sponsored by Anthropic, Cursor, OpenRouter, Aider, GitHub Copilot, Windsurf, Cline or any other tool named on this site. All product names and trademarks belong to their respective owners.
How we make money
CodeRouter charges for usage of the routing service. We do not sell your data, and we are not paid by model providers to prefer their models — routing order is determined by the per-phase capability scores and price, both of which are published on the models page. Pricing is on the pricing page.
On savings claims
Where this site cites a 70–90% reduction, that figure describes mixed coding workloads routed to lower-cost models instead of sending every request to a premium model. Your actual savings depend on your workload mix — an agent that spends most of its time on architectural reasoning will save less than one doing bulk implementation. The dashboard shows your own per-request routing and spend rather than an estimate.
Development and support
CodeRouter has been in continuous development since April 2026. Notable routing, model and billing changes are recorded on the changelog.
Support and business enquiries: support@coderouter.io. More on what to send and what to include is on the contact page.