Cost, quality, latency
Bias the router. It re-decides every request.
Relay optimises each one across cost, quality and latency, then shows you the result on your own traffic before anything changes.
Live swaps one base URL. Shadow writes no code at all — point your existing OpenTelemetry exporter at Relay and it reports what a different route would have done.
# before client = OpenAI(api_key=KEY) # after client = OpenAI(api_key=KEY, base_url="https://relay.oximy.com/v1") client.chat.completions.create( model="oximy/auto", messages=msgs)
Teams wire one frontier model everywhere, then pay frontier prices to classify, extract and summarise. Relay reads each request and matches it to the model that fits, per turn, with a fallback so nothing fails.
Every request is judged against your quality floor before it moves. If a lighter tier clears it, that is where it belongs. If not, it stays where it was.
Choose per turn, or pin a model for one project.
Bias the router. It re-decides every request.
A request always completes.
Engine, policy, or fallback — every row says which.
Ask which model. Make the call yourself.
Rules over model, tokens, cost, latency, source, error.
De-duplicate repeated context across turns.
Endpoints, signals, transports, decision API.
Read the docsOff-the-shelf routers train on public benchmarks. Yours trains on the requests your company actually sends, including browser and coding-agent traffic that never passes through an SDK.
Chat, code, or fully custom, scoped to one workload.
Choose up to eight models the router may select between.
It learns from your real requests, draft to ready.
Swap one model id. Every call picks per turn.
Run a candidate beside your primary on real paired traffic. Nothing changes until you say so.
Illustrative run on a 10,000 request sample. Your own numbers land in this same view once a shadow run clears, and nothing routes differently until you approve it.
Nobody reads ten thousand answers by hand, so the cheaper model never gets a fair hearing. A third model does it instead, and scores each dimension separately.
It never learns which answer came from which model, and the order is shuffled every case, so position alone cannot decide the winner.
Did it get the facts right
Did it do what was asked
Does the argument hold up
Does it sound like your company
| Mode | What Relay does | What changes for you |
|---|---|---|
| Observe | Ships traces only. | Keep calling providers directly. |
| Route only | Answers which model to use. | Relay never sees the completion. |
| Gateway | Decides and forwards. | One base URL. Your own keys. |
Then $0.15 per million routed tokens.
Then $99 per router per month.