Skip to main content
By default a routing LLM picks the next node by writing a tool call. A decision model works differently: in one call it scores every LLM edge on the current node against the conversation and returns the edge it chose, with a confidence, without generating any text. It weighs every edge before it commits to one, so it holds up on the hard turns, where a caller’s reply is ambiguous or only partly answers the question, and it answers in a few hundred milliseconds.

Providers

routing_model is optional. Leave it out to use the provider’s model above.

Set it up

Dashboard: in the graph editor, open Agent setup, then LLM, and choose the provider and model under Routing model & provider. The routing reasoning effort and each node’s routing model override are hidden while a decision model is selected, because a decision model routes every node. API: set the routing provider in the agent’s llm_config:

How a turn is routed

  1. Expression, unconditional and event edges are checked first, exactly as with a routing LLM. See Edges & routing.
  2. The decision model is asked which LLM edge matches the caller’s latest reply, or whether to stay on the current node. It reads the routing instructions, the conversation on the current node, and each edge’s condition (or function_description) as what choosing that edge means.
  3. If the chosen edge has parameters, the platform routing LLM fills them in a second call on that edge. If it cannot fill them, the call stays on the current node rather than move without values the next node needs.
  4. If the decision model cannot answer a turn, because of an error or an answer that is not one of the edges, that turn routes on the platform routing LLM. After a timeout, or three failures in a row, the rest of the call routes on it.
Router nodes route on the decision model too.
The decision model sees only each edge’s condition, so write conditions that say when the move applies (“The caller confirmed the delivery address”) rather than labels (“address”).

In logs and executions

Each routed turn reports the decision model’s confidence, from 0 to 1. There is no reasoning: a decision model does not write a rationale. A turn the platform routing LLM answered is reported under that model, with its own reasoning and confidence.

Latency

A turn that stays on its node, or moves on an edge without parameters, is one decision call: typically a few hundred milliseconds. A move onto an edge with parameters adds the parameter-filling call, about a second in total.

Pricing

Decision models are billed per input token. Their answer is a choice, not text, so there is no output charge. The parameter-filling call, and any turn the platform routing LLM answers, is billed at that model’s token rates, like any routing call.

Limits

  • A graph that routes on a decision model does not take routing_reasoning_effort or a node’s own routing_model. Saving either is rejected.
  • Parameters are filled by the platform routing LLM, gpt-4.1-mini on most agents; it cannot be chosen separately.