polyrouter is built and maintained by Anthony Izzo. It is open source under AGPL-3.0, it runs on your own hardware, and it takes no cut of what your providers charge.
Agents talk to a lot of models. Every provider has its own key, its own base URL, its own idea of what a request looks like, and its own way of failing. Wiring that into each application means the routing logic lives in the application, and changing a model means a deploy.
polyrouter puts one endpoint in front of all of it. Explicit routing first, so what you asked for is what you get; fallbacks when a provider degrades; spend limits that block rather than warn; and honest cost tracking that records metadata and never your prompts.
Bug reports, feature requests and questions all belong on GitHub, where the answers stay public and searchable for whoever hits the same thing next.
The same router, fully managed, for people who would rather not run the container. It is on the way.
Join the waitlist →