Skip to main content
Speculative routing lowers follow-up latency. While Dari picks the route for the next turn, the current turn keeps going on the previous compatible route.
The response metadata always names the model that served the current turn. If the selector picks a different route, that choice applies to the next turn.

Turn It On Or Off

New routers have speculative routing on. To change it, open the router in the Dari Dashboard.

When It Applies

Dari speculates only when both are true:
  • It can recover the previous decision.
  • That model and reasoning level can still serve the current request.
Otherwise, Dari selects a route first and then calls the provider. Selection always comes first on:
  • The first turn.
  • Any turn where the previous route is unavailable.
  • Any turn that needs a capability the previous route does not have.

Failures

  • If the speculative provider call fails, Dari waits for selection and uses the router’s normal retry settings.
  • If selection fails after the speculative call has started, the current response can continue on that route.
Usage and activity are always attributed to the model that served the request. For a self-hosted implementation, see Framework Speculative Routing.