90 days of the enterprise, pro and team plans free, no card needed. See the plans
AI gateway
An OpenAI-compatible gateway in front of every model vendor you use, with the decision built in: which model answers, what may not, what it costs, what happens when a provider fails - and a trace per request. Hosted on a free plan or self-hosted, Apache-2.0.
Free plan, no card. Open source under Apache-2.0; self-hosting is free forever.
From the benchmark
1
base URL to change
The gateway speaks the OpenAI chat, embeddings, Responses, moderations, audio and images APIs and the Anthropic Messages API, so existing clients move by changing the base URL and the key.
The whole benchmark, with the cases the router lostThe problem
Keys, retries and logging in one place is a start. But the application still names the model, still decides what to do when it fails, still has no idea what the request cost until the invoice, and still sends personal data wherever the model happens to be.
How the router answers it
Every request through /v1/chat/completions with model 'auto' is read, scored and routed; name a model and the gateway still applies your policy and prices the call before it is made.
A failed or saturated provider re-routes to the next best candidate under the same rules, and the trace records both the failure and the recovery.
Data boundary, region, tenant, allowed targets, per-key and per-tenant budgets refuse before a call; the governance report shows every control in force.
Watch one decision
A real request
The response carries the model that answered, the cost and a decision id; the dashboard shows the trace with every candidate ranked and every policy rejection.
from openai import OpenAI
client = OpenAI(base_url="https://opensmartroute.ai/v1",
api_key=OSR_API_KEY)
reply = client.chat.completions.create(
model="auto", # the router picks
messages=[{"role": "user", "content": "<prompt>"}],
)
print(reply.choices[0].message.content)
print(reply.model) # the model that answeredRead next
Install
docker run --rm -p 8000:8000 crosrua2c6onyidguw.azurecr.io/opensmartroute:latestOr 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.
For the business
One URL, every vendor
Point your OpenAI-compatible client at one address; add, swap or retire providers in the catalogue without touching application code.
Every vendor side by side89% less
On the 150-prompt benchmark the router spent 89% less than sending every prompt to the reference model, and the judged quality went up, not down.
Read the benchmarkSelf-hosting is free
The router is a library, a sidecar or a control plane you can run yourself, so the exit is always open.
What is openOpenSmartRoute 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.
Support assistant
Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.