OpenRouter
Compare BitRouter and OpenRouter across model selection, policy ownership, deployment, and migration.
OpenRouter offers hosted access to models and providers through one API. Its Auto Router classifies requests by task and ranks models using aggregate market spend, with model restrictions and cost tiers. Both products can choose models automatically; compare the selection signal and who controls the deployed policy.
Key differences
| Question | OpenRouter | BitRouter |
|---|---|---|
| Who operates the router? | Hosted service | Self-hosted Apache-2.0 runtime or BitRouter Cloud |
| How is automatic model selection configured? | Auto Router settings and hosted rankings | A policy bound to a preset such as bitrouter/auto |
| How are eligible routes constrained? | Model restrictions and provider preferences | Configured sources and Strategies filters |
| How can operators review policy changes? | Configure the service's exposed controls | Inspect a versioned policy lock and explicitly apply reviewed candidates |
BitRouter's Auto Router separates model selection from failure-driven fallback. Its evaluation workflow uses admitted objective results and frozen evidence snapshots to assess policy candidates. Collecting traffic or enabling an auto selector alone does not prove that the policy improved your workflow.
Choose BitRouter when
- You need to run the routing process alongside your own credentials, private endpoints, or local models.
- You want to inspect and version the policy artifact that your deployment uses.
- You can supply representative workflow outcomes and review candidate changes before publication.
Self-hosted BYOK has no BitRouter inference fee; you still pay upstream inference and infrastructure costs. Cloud is a separate managed offering. The Quickstart explains both deployment paths.
Choose OpenRouter when
- You want a hosted catalog and provider access through one account.
- You prefer its managed Auto Router and cost-tier controls.
- Your application already depends on its provider preferences or other hosted features.
Check OpenRouter pricing for current model rates and BYOK terms. A catalog listing, low token rate, or routing strategy is not a measurement of end-to-end task cost; test your actual workload.
Migrate from OpenRouter
For a compatible client, replace the base URL and credential:
- base_url="https://openrouter.ai/api/v1"
- api_key=OPENROUTER_API_KEY
+ base_url="https://api.bitrouter.ai/v1"
+ api_key=BITROUTER_API_KEYFor a local daemon, use http://127.0.0.1:4356/v1 and the authentication configured for that deployment. Configure upstream sources through BYOK & Subscriptions or Local Models.
- Resolve each explicit model id against the destination catalog; matching spellings do not guarantee matching availability or capabilities.
- For Cloud, choose a catalog model or an enabled workspace routing preset addressed as
@<name>. For a self-hosted deployment, initialize the BitRouter auto binding before usingbitrouter/auto. - Translate provider restrictions, fallback lists, and router/plugin settings into BitRouter's model and routing configuration. Review OpenRouter-specific headers and extensions individually.
- Replay representative streaming, tool, and structured-output requests. Inspect Request receipts for the actual serving model, usage, and fallback behavior.
See Chat Completions / Messages for existing client formats and Responses (default) for a new generation integration.
How is this guide?