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

# Configure Models

> Choose the models and reasoning levels a router may select.

Add models with `enabled_models`:

```yaml theme={null}
enabled_models:
  - openai/gpt-6.1-sol
  - anthropic/claude-sonnet-5-5
```

Run `dari router models` or use the dashboard picker to see the current catalog. Each canonical model ID (e.g. `openai/gpt-6.1-sol`, `deepseek-ai/DeepSeek-V4.1-Flash-1017`) is provider-independent. By default Dari uses each model's default provider from the catalog (`dari router models` shows it), but you can bind a model to an alternate provider, including the OpenRouter (`openrouter`) and Vercel AI Gateway (`vercel-ai-gateway`) gateways, with `model_providers`:

```yaml theme={null}
enabled_models:
  - openai/gpt-6-astra
  - xai/grok-4.7
model_providers:
  openai/gpt-6-astra: openrouter
  xai/grok-4.7: vercel-ai-gateway
```

The resolved provider determines which [Provider Credential](https://docs.dari.dev/router/configure-provider-keys.md) Dari uses. Gateways, Amazon Bedrock, and Microsoft Azure are BYOK-only.

Supported Claude models can also be served through Amazon Bedrock:

```yaml theme={null}
enabled_models:
  - anthropic/claude-sonnet-5-5
  - anthropic/claude-opus-5-5
model_providers:
  anthropic/claude-sonnet-5-5: amazon-bedrock
  anthropic/claude-opus-5-5: amazon-bedrock
```

Bedrock mappings use `us.` cross-region inference profiles by default. With [AWS Role or AWS IAM authentication](https://docs.dari.dev/router/configure-provider-keys.md#amazon-bedrock), the configured AWS Region selects the Bedrock endpoint and SigV4 signing region. A region embedded in an inference-profile ARN takes precedence. Custom models can bind a regional profile or ARN when you need a specific inference profile.

The same models can be served from your own Microsoft Foundry or Azure OpenAI resource:

```yaml theme={null}
enabled_models:
  - openai/gpt-6-astra
  - anthropic/claude-sonnet-5-5
model_providers:
  openai/gpt-6-astra: azure
  anthropic/claude-sonnet-5-5: azure
```

Azure mappings send the model name as the deployment name and take the resource endpoint from the selected [Microsoft Azure credential](https://docs.dari.dev/router/configure-provider-keys.md#microsoft-azure), so keep Foundry's default deployment names.

## Reasoning Levels

A router may use every reasoning level supported by a model unless you restrict it:

```yaml theme={null}
model_thinking_levels:
  openai/gpt-6.1-sol: [low, medium, high]
  anthropic/claude-sonnet-5-5: [low, medium, high]
```

Supported levels are `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.

## Custom Models

To add an OpenAI-compatible model outside the public catalog, open **Models** in the [Dari Dashboard](https://app.dari.dev) and select **Add Model**. Enter its base URL, model ID, context limit, pricing, and provider credential.

Custom models are private to your organization and use the credential saved with the model.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.