Skip to main content
Dari gives your application one hosted endpoint for multiple models. For each request, the router chooses an eligible model and reasoning level, calls the provider, and returns the response in the protocol you sent. Dari manages authentication, provider execution, routing state, retries, fallbacks, telemetry, and billing.

Default Router

Every organization has a default router at /v1. It works immediately with Dari-managed provider credentials, and its model set can change over time. The default router accepts: Create another router when you need a different model set, provider keys, routing rules, or evals. You can use its rtr_... endpoint directly or make it the new default.

Router Selection

A router first removes models that cannot handle the request—for example, models without the required tool, image, streaming, or reasoning support. Its routing policy then chooses among the remaining model and reasoning-level pairs. New routers use Speculative Routing by default to reduce latency on eligible follow-up turns.

Self-Hosting

Use the Router Framework when you want to host the endpoint and own provider credentials, routing policies, state, and operations yourself.