RouteProposal
Identifies this decision. Report its usage to POST /v1/route/{decision_id}/usage.
dec-2b7e1f0c-9a4d-4c3e-8f5a-6d1b2c3e4f5aThe request_id you sent, if any
my-req-001Why the first candidate leads. One of:
cheapest_confident: the cheapest model confident enough to take the requestwarm_cheapest: the default, cheapest once its warm prompt cache is countedescalated: the default wasn't confident and every confident model costs more, so the cheapest of thoseno_confident: no model was confident enough, so the defaultcontext_exceeds_config: the request is longer than every model's context window, so the defaultunrecognized_payload: nothing to score inbody, so the defaultfallback:router_issue: scoring failed, so the defaultfallback:label_mismatch: the router model can't score some of the router's models, so the default
cheapest_confidentcandidates object[]
The router's models, most recommended first. The first is its choice; move down the list if calling it fails.
The model's name on the router. Send it as model when you report usage.
deepseek-v4-flash-0731The id to call the model by, as set on the router
deepseek/deepseek-v4-flash-0731The router model's score for this model on the request, from 0 to 1
0.96The reasoning effort the router picked for the model, to set on the request. Null leaves the request's own effort.
lowwarnings object[]
What you can act on about this request or its result. Usually empty.
A stable code to branch on:
unreadable_request: no task or conversation could be read frombody, so the default is proposedrouter_unavailable: the router model didn't answer, so the default is proposedlabel_mismatch: the router model can't score some of the router's models, so the default is proposedcontext_exceeds_models: the request is longer than every model's context window; the default is proposed, but its provider will likely refuse itno_session: the request continues a conversation but no session id was found, so routing can't tell which model's cache is warm
Possible values: [unreadable_request, router_unavailable, label_mismatch, context_exceeds_models, no_session]
no_sessionThis request continues a conversation, but no session id was found in `session_id` or `headers`, so routing can't see which model's cache is warm.{
"decision_id": "dec-2b7e1f0c-9a4d-4c3e-8f5a-6d1b2c3e4f5a",
"request_id": "my-req-001",
"reason": "cheapest_confident",
"candidates": [
{
"model": "deepseek-v4-flash-0731",
"model_id": "deepseek/deepseek-v4-flash-0731",
"confidence": 0.96,
"effort": "low"
}
],
"warnings": [
{
"code": "no_session",
"message": "This request continues a conversation, but no session id was found in `session_id` or `headers`, so routing can't see which model's cache is warm."
}
]
}