> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How Routing Works

> Understand Dari's managed router and default endpoint.

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:

* [Chat Completions API](/router/send-chat-completions)
* [OpenAI Responses API](/router/send-responses)
* [Anthropic Messages API](/router/send-anthropic-messages)

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](/router/speculative-routing) by default to reduce latency on eligible follow-up turns.

## Self-Hosting

Use the [Router Framework](/framework/overview) when you want to host the endpoint and own provider credentials, routing policies, state, and operations yourself.
