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

# Выбор провайдера

> Управление маршрутизацией между провайдерами

# Выбор провайдера

```json theme={null}
{"provider":{"order":["OpenAI","Amazon Bedrock"],"allow_fallbacks":true}}
```

Поля routing: `order`, `only`, `ignore`, `sort`, `max_price`, `allow_fallbacks`. `sort` обычно принимает `price`, `latency` или `throughput`.

В production fallback полезен для доступности; строгий `only` применяйте, когда важнее конкретный backend или политика данных.
