> ## 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.

# Router Quickstart

> Send your first request through Dari's default model router.

Send your first routed request with a Routing API key. You do not need to create or configure a router first.

## 1. Create A Routing Key

Open **API Keys** in the [Dari dashboard](https://app.dari.dev) and create a **Routing** key.

```bash theme={null}
export DARI_ROUTING_API_KEY="dari_..."
```

## 2. Use The Default Endpoint

The default router is available at `/v1` and uses Dari-managed provider credentials. Its current model set is:

* Claude Fable 5
* GPT-5.6 Sol
* GLM-5.2
* DeepSeek V4 Flash

```bash theme={null}
export DARI_ROUTER_URL="https://routing.dari.dev/v1/chat/completions"
```

## 3. Send A Request

```bash theme={null}
curl "$DARI_ROUTER_URL" \
  -H "Authorization: Bearer $DARI_ROUTING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dari/routing",
    "messages": [
      {"role": "user", "content": "Hello from Dari"}
    ]
  }'
```

The response appears in your terminal. Its `dari_routing.selected_model` field shows which model handled the request.

## Use Different Or Custom Models

The default router's model set can be edited in the dashboard. You can also [create another router](/router/create-a-router) with different models and set it as the new default for `/v1`, or use its `rtr_...` endpoint directly. Add [custom models](/router/configure-models#custom-models) or [custom provider keys](/router/configure-provider-keys) to any router.

## If The Request Fails

A `401` usually means the Routing key is invalid. For a specific router, it can also mean the key and router belong to different organizations. For other router errors, verify the copied endpoint and [provider key setup](/router/configure-provider-keys).

## Next Steps

* [Send Chat Completions](/router/send-chat-completions)
* [Use Claude Code](/router/coding-agents/claude-code)
* [Use Codex](/router/coding-agents/codex)
* [Use Pi](/router/coding-agents/pi)
* [Create A Router](/router/create-a-router)
