The LLM Providers module defines the set of models and providers that AI Gateway can invoke when a route is triggered. Each provider is a reusable configuration that groups one or more provider + model + API Key combinations with different priorities. This helps you define failover strategies or balance requests across models.
NOTEBefore creating an LLM Provider, register the API Keys for the providers you want to use. The form only lets you save when at least one key exists for each selected combination โ the only exception is Bedrock, which also accepts Assume Role authentication.
Learn how to:
The LLM Providers page lists registered configurations with pagination. You can filter by:
Use Search to apply the filter and Clear to reset it.
Columns shown in the table:
Provider / Model / Priority combinations, separated by |.Fill in the first Provider with the required fields (see Form fields). Use Add provider to add extra configurations with different priorities, and use the delete icon to remove rows. The configuration with the lowest Priority has the highest preference.
If the selected provider is Azure OpenAI, Azure AI Foundry, Bedrock, or Custom, fill in the conditional fields that appear after selection.
In the Actions column of the row you want, click the Edit icon. The Update LLM Provider form opens with all configurations prefilled. Change the required fields, add or remove provider rows, and click Save.
In the Actions column of the row you want, click the Delete icon. Confirm the operation in the "Are you sure you want to delete this LLM provider?" dialog.
IMPORTANTDeletion is permanent and cannot be undone. Routes that reference the deleted LLM Provider start failing. Update or remove dependent routes before deleting it.
The form is made up of a list of provider configurations. At least one is required. Each Provider block repeats the fields in the table below.
Field | Type | Required | Rules |
|---|---|---|---|
| Priority | Integer | Yes | Between 1 and 10 (Priority must be between 1 and 10.). Lower values have higher preference. |
| Provider | Select | Yes | Values: OpenAI, Gemini, Anthropic, Azure OpenAI, Azure AI Foundry, Bedrock, Custom. Changing the provider clears dependent fields. |
| Model | Text | Yes | Minimum 1 character. |
| API Key | Select | Yes for every provider except Bedrock | Lists the keys registered in API Keys filtered by the selected provider. When there are no keys for the provider, it shows No API Keys are registered for the selected provider. In this case, register a key before continuing. For Bedrock, see Assume Role authentication. |
| Resource name | Text | Conditional: required when Provider = Azure OpenAI or Azure AI Foundry | Name of the Azure resource. |
| Project name | Text | Conditional: required when Provider = Azure AI Foundry | Name of the Azure AI Foundry project. |
| Region | Text | Conditional: required when Provider = Bedrock | AWS region where the models are available (e.g., us-east-1). |
| Guardrail identifier | Text | Conditional: optional for Bedrock; required when Guardrail version is provided | Bedrock guardrail identifier. |
| Guardrail version | Text | Conditional: optional for Bedrock; required when Guardrail identifier is provided | Bedrock guardrail version. |
| Host | Text | Conditional: required when Provider = Custom | Model address, without http:// or https:// (Host must not include http:// or https://.). |
| Port | Integer | Conditional: required when Provider = Custom | Between 1 and 65535. |
Action buttons outside the table:
The visibility and required state of some fields depend on the Provider selected in each block:
TIPThe Guardrail pairing rule prevents ambiguous configurations. To disable the guardrail, clear both fields. They become optional again, and the set is not sent when you save.
For the Bedrock provider, the API Key field is optional. Leave it blank when you want the gateway to authenticate with AWS through the Assume Role mechanism, where credentials are resolved at the infrastructure level instead of being registered as a static key. This is the recommended setup for cross-account AWS integrations.
If you prefer to authenticate with a static key, select a Bedrock API Key as usual โ both forms are accepted, and the choice applies per configuration block.
REQUEST THE INFRASTRUCTURE SETUPAssume Role depends on an infrastructure setup that must be prepared in advance for your environment. Open a ticket with the Sensedia support team requesting Assume Role to be enabled for the Bedrock integration. Without this preparation, a Bedrock provider registered without an API Key will not be able to authenticate with AWS.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more