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

# BatchProviderPreferences

Batch provider routing preferences. Only `provider.only` is supported.

## Fields

| Field  | Type                                                                                             | Required             | Description                                                                                                                          | Example                                   |
| ------ | ------------------------------------------------------------------------------------------------ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
| `only` | List\[[components.BatchProviderPreferencesOnly](../components/batchproviderpreferencesonly.mdx)] | :heavy\_minus\_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | \[<br />"openai",<br />"anthropic"<br />] |
