Routing

What the router does for you

The parts everyone rebuilds by hand — already built, measured and billed.

Pick the model per call

Send a concrete model id, or an alias like fast, cheap, quality and search — or just auto and let the router choose by cost, quality or latency.

Fallback that keeps its promise

When a provider errors or times out, the call retries and then moves to an equivalent model at another provider. A circuit breaker keeps a failing provider out of rotation.

Every call is metered

Input, output and cached tokens are recorded per call, so usage is a number you can read — not an invoice you reconcile at month end.

Bring your own key

Register your own provider keys and your calls run on them with no markup. Keys are stored encrypted with AES-256-GCM and never returned to the browser.

Routing · Aliases

ModelPick the model per call
autocost · quality · latency · capability
fastlatency first
cheapcost first
qualityquality floor first
searchweb search + citations