FREEDOM251

Freedom251 › LLM Gateway Software

Polyrouter

Free plan APISelf-hostedWeb

Visit Polyrouter Alternatives Pricing

Polyrouter's own site

What Polyrouter is

Polyrouter is an open-source LLM gateway that gives clients a single endpoint for connecting to multiple model providers. It supports explicit model selection, header-based rules, routing tiers, and optional automatic routing. Ordered fallback chains and provider-specific circuit breakers can keep requests moving when a provider degrades. Spend budgets can be set globally or per agent for daily, weekly, or monthly windows, with alerts or request blocking at a threshold.

The gateway supports OpenAI- and Anthropic-compatible APIs and translates requests between the two protocols. Provider connections can use API keys, OAuth subscriptions, compatible custom endpoints, or self-hosted local models such as Ollama, LM Studio, and llama.cpp. Clients that accept a configurable base URL and API key can connect, including compatible SDKs. Logs contain metadata by default; prompt and response capture is an opt-in self-hosted setting that is off by default. Credentials are encrypted at rest, and user-supplied URLs are checked against private and metadata address ranges. Self-hosting requires Docker with Compose v2 and runs the SPA, API, and proxy with PostgreSQL 16 and Redis. Polyrouter is maintained by Anthony Izzo under the AGPL-3.0 license.

Who it suits

Polyrouter suits developers and teams connecting applications or agents to multiple model providers through a configurable API endpoint. It is a fit for users who want routing, fallback, and spend controls and are prepared to self-host with Docker Compose v2.

What it does well

  • Routes requests by model, headers, tiers, or optional automatic rules.
  • Uses ordered fallbacks and provider-specific circuit breakers.
  • Sets spend budgets globally or per agent across three time windows.
  • Translates between OpenAI- and Anthropic-compatible APIs.
  • Metadata-only request logs are the default.
  • Free self-hosted software under the AGPL-3.0 license.

What to know first

  • Self-hosting requires Docker with Compose v2, PostgreSQL 16, and Redis.
  • Polyrouter Cloud is described as coming soon, with a waitlist.
  • Provider charges are paid directly by the user.

Limits

Self-hosting is free, but provider charges are paid directly. Deployment requires Docker with Compose v2, PostgreSQL 16, and Redis.

Plans

PlanBilled and limitsPrice
Self-hostedSelf-hosting is free and stays free · self-hosted · BYOK · provider charges paid directly · AGPL-3.0Free

As polyrouter.app lists them, read 8 Oct 2026. The maker's own page has the final word.

Getting started

  1. Visit https://polyrouter.app/.
  2. Set up Docker with Compose v2.
  3. Deploy the SPA, API, and proxy alongside PostgreSQL 16 and Redis.
  4. Connect provider options using API keys, OAuth subscriptions, compatible custom endpoints, or supported local models.
  5. Configure a client with the gateway's base URL and an API key.

Verdict

Choose Polyrouter if you need one endpoint for multiple model providers and want routing, fallback, and budget controls in a free, self-hosted gateway. It requires a Docker Compose deployment and separate provider charges; managed cloud hosting is not yet described as available.

Questions

Is Polyrouter free?

Yes. Self-hosting is free and stays free; provider charges are paid directly.

Is Polyrouter open source?

Yes. It is licensed under AGPL-3.0.

Which APIs does it support?

It supports OpenAI- and Anthropic-compatible APIs and translates requests between the two protocols.

Can I connect local models?

Yes. Provider options include self-hosted models such as Ollama, LM Studio, and llama.cpp.

What does self-hosting require?

It requires Docker with Compose v2 and runs the SPA, API, and proxy alongside PostgreSQL 16 and Redis.

Who maintains Polyrouter?

Polyrouter is built and maintained by Anthony Izzo. The maker directs questions, bug reports, and feature requests to GitHub.

Facts from Polyrouter's own pages

Agent compatibility
Any client that accepts a configurable base URL and API key can connect, including OpenAI- and Anthropic-compatible SDKs. · polyrouter.app, 8 Oct 2026
Budgets
Spend budgets can apply globally or per agent over day, week, or month windows and can alert or block requests at a threshold. · polyrouter.app, 8 Oct 2026
Deployment
Self-hosting requires Docker with Compose v2 and runs the SPA, API, and proxy alongside PostgreSQL 16 and Redis. · polyrouter.app, 8 Oct 2026
Fallbacks
Ordered fallback chains and per-provider circuit breakers help requests continue when a provider degrades. · polyrouter.app, 8 Oct 2026
Integrations
Provider options include API keys, OAuth subscriptions, compatible custom endpoints, and self-hosted local models including Ollama, LM Studio, and llama.cpp. · polyrouter.app, 8 Oct 2026
License
Polyrouter is open source under the AGPL-3.0 license. · polyrouter.app, 8 Oct 2026
Maker
Polyrouter is built and maintained by Anthony Izzo. · polyrouter.app, 8 Oct 2026
Managed hosting
Polyrouter Cloud is described as coming soon, with a waitlist for early access. · polyrouter.app, 8 Oct 2026
Privacy
Request logs are metadata-only by default, and prompt or response capture is an opt-in self-hosted feature that is off by default. · polyrouter.app, 8 Oct 2026
Product
Polyrouter is an open-source LLM gateway that puts one endpoint in front of multiple model providers. · polyrouter.app, 8 Oct 2026
Protocols
It supports OpenAI- and Anthropic-compatible APIs and translates requests between the two protocols. · polyrouter.app, 8 Oct 2026
Routing
It supports explicit model selection, header rules, routing tiers, and optional automatic routing layers. · polyrouter.app, 8 Oct 2026
Security
Provider and notification credentials are encrypted at rest, and user-supplied URLs are checked against private and metadata address ranges. · polyrouter.app, 8 Oct 2026
Support
The maker directs bug reports, feature requests, and questions to GitHub. · polyrouter.app, 8 Oct 2026

Where Polyrouter stands on Freedom251

Look at these too