Send every request to the right model.
A transparent policy engine that decides, per request, which model should answer — based on task, constraints, cost, latency and live availability.
How a request moves through the engine.
Seven stages, each deterministic and observable. Decision overhead is designed to stay in the low milliseconds; provider latency dominates.
- 01~1msIngress
Authenticate key, enforce quota and spending limits.
- 02~1msClassify
Infer task type and complexity from the request.
- 03<1msFilter
Drop models that miss capability, context, price or latency constraints.
- 04<1msScore
Rank survivors by your strategy’s quality, cost and latency weights.
- 05providerDispatch
Call the selected provider, streaming tokens back immediately.
- 06as neededFallback
On 5xx, 429 or timeout, retry down the configured chain.
- 07asyncTrace
Record decision, usage, latency and cost for analytics.
Stage timings are design targets, not measured benchmarks.
Compose policies from simple primitives.
Always try a named model first when it meets the request’s constraints.
An ordered list of alternates used when the preferred model fails or is ineligible.
Choose the cheapest model that clears the quality floor for the task.
Choose the fastest time-to-first-token, with an optional hard budget.
Pin task types — code, extraction, long-context — to specific models.
Health checks remove degraded providers before a request is ever sent.
See exactly why a model was chosen.
Adjust the request and policy. The same scoring function that would run in the gateway re-ranks the catalog instantly.
Weighs quality, cost and latency evenly.
- Blended
- $0.45/M
- TTFT
- 270ms
- Eval
- 78
- Codestral76.7
- 2Claude Haiku 5.566.8
- 3GPT-6 Luna66.5
- 4Mistral Small 465.1
- 5Gemini 4 Hydrogen64.4
- 6Mistral Medium 3.561.9
- 7Claude Sonnet 5.560.6
- 8Gemini 3.8 Flash57.7
2 models excludedshowhide
- Llama 3.3 70BBelow quality floor (73)
- Command R7BBelow quality floor (73)
Scores computed live from the sample catalog. Latency and quality inputs are demo values.
Fallbacks that just happen.
When a provider errors, rate-limits or times out, the request moves down your chain. The client sees one response — and the trace records every attempt.
Toggle which models fail, then send a request to watch the chain resolve.
- PreferredidleClaude Sonnet 5.5Anthropic · 560ms
- Fallback 1idleGPT-6.2 SolOpenAI · 520ms
- Fallback 2idleGemini 4 ArgonGoogle · 1.30s
Policy as code.
Set a default policy in the dashboard, then override any field per request.
1{2 "model": "auto",3 "routing": {4 "strategy": "balanced", // balanced | cost | latency | quality5 "preferred": "claude-sonnet-5-5",6 "fallbacks": ["gpt-6.2-sol", "gemini-4-argon"],7 "constraints": {8 "max_price_per_million": 5.0,9 "max_latency_ms": 2000,10 "require": ["tools", "json"]11 },12 "task_rules": {13 "extraction": "gpt-6-luna",14 "code": "codestral"15 },16 "retry": { "on": [429, 500, 502, 503], "max_attempts": 2 }17 }18}