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, Vertex AI, or Custom, fill in the conditional fields that appear after selection.
In the Actions column of the row you want, click the View icon. This opens the read-only Overview screen, on the General Info tab. The Provider configurations block states how many configurations the record holds and lists one section per configuration β Provider 1, Provider 2 and so on β each with the following fields:
P1, P2, β¦)At the end, the block shows the Created At field. No field is editable on this screen.
Editing lives inside the details screen. Open the record through the View icon (see View LLM Provider) and, on the Overview screen, click the Edit button next to the Provider configurations title. 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.
Creating, editing, or deleting an LLM Provider generates a queryable record in the Access Control Audit Log, with the date, the author, the outcome of the operation, and the object's content. Querying, listing, or opening the detail of an LLM Provider doesn't generate a record β only write operations are audited.
A request refused right at the entry point β for example, due to invalid data β generates no record at all. From the moment the operation is processed, both success and failure generate a record, and the failure record carries the reason for the refusal and the configuration that was attempted, including when the failure happens because the object doesn't exist. On deletion, when the object's content can't be read before removal, the record carries only the LLM Provider identifier. The trail therefore shows the attempt, not only what changed.
Querying the Audit Log uses the Audit List (access-control.audits.list) and Audit View (access-control.audits.view) permissions, which already govern that screen.
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, Vertex AI, 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. Rejected for any other provider. |
| Project name | Text | Conditional: required when Provider = Azure AI Foundry | Name of the Azure AI Foundry project. Rejected for any other provider, including Azure OpenAI. |
| Project ID | Text | Conditional: required when Provider = Vertex AI | The Google Cloud project id (1 to 64 characters). Rejected for any other provider. |
| Region | Text | Conditional: required when Provider = Bedrock; optional when Provider = Vertex AI | For Bedrock, the AWS region where the models are available (e.g., us-east-1). For Vertex AI, the Google Cloud project location (e.g., us-central1); left blank, the gateway uses global. |
| 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:
global endpoint).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.
Access to each action in the LLM Providers journey depends on its own permission. Without the corresponding permission, the screen element does not appear β the interface never shows an unavailable action as disabled.
Permissions are granted in Access Control, on the Roles screen, under the AI Gateway product. The table below lists each one exactly as Access Control displays it.
Permission | Group in AC | Description in AC | Identifier |
|---|---|---|---|
| List LLM Providers | llm-providers | Allows listing LLM Providers | ai-gateway.llm-providers.list |
| View LLM Provider | llm-providers | Allows viewing an LLM Provider | ai-gateway.llm-providers.view |
| Create and Update LLM Providers | llm-providers | Allows creating and editing LLM Providers and refreshing the model catalog | ai-gateway.llm-providers.create-update |
| Delete LLM Providers | llm-providers | Allows deleting LLM Providers | ai-gateway.llm-providers.delete |
| List API Keys | api-keys | Allows listing API Keys | ai-gateway.api-keys.list |
The last one belongs to another journey and is required by specific LLM Providers actions, shown in the next table.
Action | What it unlocks | Required permissions |
|---|---|---|
| List | LLM Providers item in the sidebar menu; listing with table and pagination | List LLM Providers |
| View | View icon on the row and the record's Overview screen | List LLM Providers + View LLM Provider |
| Create | Create LLM Provider button | List LLM Providers + Create and Update LLM Providers + List API Keys |
| Edit | Edit button inside the Overview screen | List LLM Providers + View LLM Provider + Create and Update LLM Providers + List API Keys |
| Delete | Delete icon on the row | List LLM Providers + Delete LLM Providers |
Create and Edit: List API Keys is what feeds the form's API Key field, required in every provider configuration except Bedrock (see Conditional fields by provider). Without it, the key list comes up empty and the form shows No API Keys are registered for the selected provider., even when credentials do exist.
A control without its permission is not rendered; an LLM Provider reached directly by URL without its permission lands on the AI Gateway's own access denied screen, not on Access Control's.
EDITING REQUIRES VIEWINGThe Edit button only exists inside the record's Overview screen. Because of that, a user holding Create and Update LLM Providers but not View LLM Provider has no path to edit an already registered configuration. This is expected platform behavior, not a bug.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more