AI model router
An AI model router that decides per request which model - or agent, tool or person - should answer: scored on quality, cost and latency, constrained by your data and region policy, explained in every response. Open source; hosted or self-hosted.
Free plan, no card. Open source under Apache-2.0; self-hosting is free forever.
From the benchmark
9.53 vs 9.15
judged quality, routed vs always-frontier
Blind judges scored the routed answers higher than the frontier model's on the same 150 prompts, while the router spent 89% less. Two use cases went the other way; the page says which.
The whole benchmark, with the cases the router lostThe problem
A support reply, a SQL fix, a contract summary and a market analysis want different models - and sometimes not a model at all but a tool, an agent or a person. Choosing once, for the whole application, means being wrong most of the time.
How the router answers it
Models, agents, skills, tools, prompts and human queues are declared the same way and ranked together. A request that needs doing rather than answering goes to an agent.
Weights for quality, cost, latency and risk per request or per workspace; four presets - Balanced, Cheapest, Best, Fastest - for people who do not want to tune.
Data boundary, region, tenant, cost ceilings and allowed targets are applied first. A target that fails a rule is not a candidate, and the trace says so.
A real request
The decision comes back with the chosen target, its confidence, the ranked alternatives and what each would have cost - before you execute anything.
curl -s https://opensmartroute.ai/api/v1/route \
-H "Authorization: Bearer $OSR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "<prompt>"}'Read next
Install
npm install @opensmartroute/sdkOr no install at all: the hosted API answers a plain curl with the decision, and the browser extension shows the price and the router's pick under the composer of the AI chat sites you already use.
OpenSmartRoute is open source and the free plan keeps the full trace of every decision. Create a workspace, mint a key and send the request above.
Free plan, no card. Fifteen thousand decisions a month with the full trace.