90 days of the enterprise, pro and team plans free, no card needed. See the plans
In-house routing
Building internally gives you full control, and then the ongoing work: policy, outcome learning, drift detection, audit, explainability, evaluation and the maintenance after every model release. OpenSmartRoute is Apache-2.0 with zero dependencies, so you build on it rather than instead of it.
“Build on it, not instead of it.”
Our reading of public documentation; corrections welcome through the support page.
| Capability | OpenSmartRoute | Building it yourself |
|---|---|---|
| Routes to LLMs | Yes | Yes |
| Routes to agents, skills, tools, workflows and humansUsually a growing if/else per app | Yes | Partial |
| Hard policy before scoring (region, data boundary, PII, tenant, cost)Ad hoc checks; no rejection trace | Yes | Partial |
| Per-request trace with ranked candidates and rejections | Yes | No |
| Learns from your outcomes (per target, per tenant) | Yes | No |
| Multi-step plans (persona -> skill -> model) | Yes | No |
| Self-hosted, air-gapped, zero runtime dependencies | Yes | Yes |
| Prompt-injection and steering-gadget defences on the router | Yes | No |
| Output guard on responses (PII, secrets, injection: flag, redact or block) | Yes | No |
| Savings ledger, bill analysis and routing auditEvery request records baseline and routed cost; upload last month's provider export to see what routing would have saved before you switch | Yes | No |
| OpenAI-compatible proxy (chat, embeddings, Responses, moderations, audio, images)Whatever the one client library you wrap exposes | Yes | Partial |
| Anthropic Messages API (/v1/messages) | Yes | No |
| Virtual keys: per-key budgets, rate limits, allowed targets, scopes and expiryProvider keys shared by every caller | Yes | Partial |
| Per-target rate limits, budgets and circuit breakersRetries and a timeout, rarely a breaker or a budget | Yes | Partial |
| Python and TypeScript SDKs | Yes | No |
| MCP server for IDEs and agents | Yes | No |
| Browser extension and desktop app for the people on the teamPrice, personal-data and writing checks on the device before a prompt is sent, on ChatGPT, Claude, Gemini and in any desktop app | Yes | No |
| Provider marketplace with creditsModels by the token: every catalogue model on offer per provider with the price you pay, one key, a prepaid credits wallet and provider preferences (order, only, ignore, max_price) | Yes | No |
| Request/response observability UI for every callDecision trace, tokens, cost and outcome per request; prompt and answer stored when the workspace turns on request logging (redacted or full) | Yes | No |
Register your existing handlers as targets with the decorator SDK and keep your rules as a RulesStrategy; the router adds policy, trace, learning and the ledger around them.
from opensmartroute import RouteRequest
from opensmartroute.sdk import ComponentRegistry
components = ComponentRegistry()
@components.tool("sql-report", domains=["reporting"], cost={"usd_per_1k_tokens": 0.0})
def sql_report(request, **kw):
"""Answer a reporting question with a SQL query.""" # the description strategies match against
...
router = components.router() # your rules: @components.policy_rule / RulesStrategy
decision = router.route(RouteRequest(text="revenue by region last quarter"))Run the Routing Audit on a week of anonymised logs: savings versus your current mix, policy violations your routing allowed, and where agents or humans would have been the better answer.
Other comparisons: OpenRouter, LiteLLM, Portkey, Cloudflare AI Gateway, Bifrost (Maxim AI), Kong AI Gateway, Helicone, Not Diamond, Martian, Unify, Requesty.
Photo: Mario Gogh