Providers and Models
A provider is an upstream account the gateway calls with your organization's key. A model is an entry users can call by name, pointing at one provider. Only models listed on the Models tab can be called.
Both tabs are under Control > LLM Gateway. Changing them needs the Organization > Edit Settings permission.
Providers
The Providers tab lists each provider with its type, the last characters of its key, its base URL, region, or access key ID if it has one, and how many models use it.
Provider types
The gateway does not translate between APIs, so the type decides which client APIs its models can be called on.
| Type | Use it for | Credential | Models are called on |
|---|---|---|---|
| Anthropic | Claude models from Anthropic | An sk-ant-… API key | Anthropic Messages |
| OpenAI | OpenAI models from OpenAI | An sk-… API key | OpenAI Chat Completions and Responses |
| Google Gemini | Gemini models from the Gemini API (Google AI Studio) | A Gemini API key | OpenAI Chat Completions only |
| Azure OpenAI | Deployments in an Azure OpenAI or Microsoft Foundry resource | The resource's KEY 1 or KEY 2 | OpenAI Chat Completions and Responses |
| AWS Bedrock | Models in your AWS account | A Bedrock API key, or an IAM access key | Anthropic Messages for Claude, OpenAI Chat Completions and Responses for other models |
| OpenAI-compatible | Any service that speaks the OpenAI Chat Completions API with a bearer key, such as Groq, Together, OpenRouter, or a self-hosted vLLM | The service's API key | OpenAI Chat Completions and Responses |
Add a provider
- Go to Control > LLM Gateway > Providers.
- Select Add Provider.
- Choose the Type. See Provider types.
- Enter a Name. It defaults to the type.
- Fill in the fields for the type, described below.
- Leave Enabled on, and select Save.
The key is encrypted when you save it and is never shown again. The provider card shows only a hint such as sk-ant-…a1b2.
Anthropic, OpenAI, and OpenAI-compatible
- Base URL: optional for Anthropic (default
https://api.anthropic.com) and OpenAI (defaulthttps://api.openai.com/v1). Required for OpenAI-compatible, for examplehttps://api.groq.com/openai/v1. - API key: the provider's key.
Google Gemini
- Create an API key in Google AI Studio.
- Paste it as the API key. Leave Base URL empty. The gateway calls the Gemini API's OpenAI-compatible endpoint,
https://generativelanguage.googleapis.com/v1beta/openai.
Gemini models can only be called through OpenAI Chat Completions, because Gemini's OpenAI-compatible endpoint has no Responses API. The OpenAI SDK's chat.completions works; Codex, which uses the Responses API, does not. Gemini on Google Cloud Vertex AI is not supported.
Azure OpenAI
- In the Azure portal, open your Azure OpenAI or Microsoft Foundry resource, and go to Keys and Endpoint.
- Paste the resource endpoint as the Endpoint, for example
https://acme.openai.azure.comorhttps://acme.services.ai.azure.com. The gateway calls the resource's v1 API at<endpoint>/openai/v1, which needs noapi-version. An endpoint that already ends in/openai/v1, or that has another path, such as an API Management URL, is used as is. - Paste KEY 1 or KEY 2 as the API key.
On Azure, a model is called by its deployment name, not the model name. When you add a model, enter the deployment name as the Deployment name. Picking from the catalog fills in the model name and prices; change the deployment name if yours differs.
Microsoft Entra ID authentication is not supported; use the resource key.
AWS Bedrock
- Enter the Region the models run in, for example
us-east-1. - Choose the Authentication:
- Bedrock API key: paste a long-term Amazon Bedrock API key as the Bedrock API key. Short-term keys expire within 12 hours, so they stop working on the gateway.
- IAM access key: enter the IAM user's Access key ID and paste its Secret access key. The gateway signs each call with AWS Signature Version 4.
- Leave Endpoint URL empty to call
https://bedrock-runtime.<region>.amazonaws.com. Set it to use a VPC endpoint or a proxy in front ofbedrock-runtime.
The IAM identity behind either credential needs bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream on the models and inference profiles you offer:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"],
"Resource": [
"arn:aws:bedrock:*::foundation-model/*",
"arn:aws:bedrock:*:<account-id>:inference-profile/*"
]
}
]
}
Request access to each model in the Amazon Bedrock console first. For Anthropic models, AWS asks you to submit use case details once per account.
Bedrock serves Claude on its Anthropic Messages API, so Claude Code and the Anthropic SDK work with Bedrock models. Claude Code still asks for Anthropic's model ids, such as claude-sonnet-4-5-20250929, so give each Bedrock Claude model that id as its Alias and the Bedrock id as its Bedrock model id. Other Bedrock models, such as OpenAI's gpt-oss, are served on its OpenAI Chat Completions and Responses APIs. Bedrock has no token counting on the Messages API, so POST /v1/messages/count_tokens is refused for Bedrock models. Claude Code does not need it.
Changing Authentication or the Access key ID of a saved provider needs a new secret, because the stored one belongs to the old credential.
Change or remove a provider
- Rotate the key. Select the pencil, paste a new API key, and save. Leave the field blank to keep the stored key.
- Pause it. Turn off the provider's switch. A disabled provider stops serving all of its models until you turn it back on.
- Delete it. Select the trash icon. You have to remove or move the provider's models first.
The Type cannot be changed after the provider is created. Add a new provider instead.
On a hybrid deployment the gateway calls providers from your own cluster, so a base URL can point at a model server on your internal network, such as a vLLM service.
Models
The Models tab lists each model with its alias, display name, provider and provider model id, prices, and the groups that may use it. The tab asks you to add a provider first if there are none.
Add a model
-
Go to Control > LLM Gateway > Models.
-
Select Add Model.
-
Choose the Provider.
-
Select Browse models under Catalog to search the models that provider offers. Picking one fills in the provider model id, the display name, and the prices. For AWS Bedrock it fills in only the display name and prices, because Bedrock model ids differ from the catalog's. You can also type the fields yourself for a model that is not in the catalog.
-
Check the fields:
Field What it is Provider model id The id the gateway sends to the provider, for example claude-sonnet-4-5,gpt-5, orgemini-2.5-pro. It is labeled Deployment name for Azure OpenAI, and Bedrock model id for AWS Bedrock, where it is a model id, an inference profile id such asus.anthropic.claude-sonnet-4-5-20250929-v1:0, or an inference profile ARNAlias The name users and clients ask for. It defaults to the provider model id. Letters, digits, and . _ : / @ -, up to 100 characters, unique in the organizationDisplay name A readable label, for example Claude SonnetPrice per 1M tokens (USD) Input, Output, and optionally Cached input. Set input and output together, or leave all three empty Who can use it The groups allowed to call the model. Leave it on Everyone to allow every user -
Leave Enabled on, and select Save.
Prices are what budgets and usage count. A model with no price records every call at $0, so it never uses up a budget.
How a request finds its model
The gateway matches the model a request names in this order:
- A model whose Alias is that name.
- Otherwise, a model whose Provider model id is that name. This lets clients that send vendor model ids, such as Claude Code and Codex, work with no extra client configuration.
- If the request names no model, the default model.
Only enabled models on an enabled provider that has a key, and the endpoint or region its type needs, count. If a match exists but the caller is not in any of its groups, the call is refused with You don't have access to model …. If nothing matches, it is refused with Model … is not available in your organization's LLM gateway. Both messages name the model the client asked for, which tells you what to add. See Troubleshooting.
Claude Code sends the model ids it was built with, and also calls a small Haiku model for background tasks. If you only list one Sonnet model, Claude Code's other calls are refused. Add each model id that appears in a refusal, or point an alias at the model you want to serve instead.
The default model
Select the star on a model to make it the default. The gateway uses it when a request does not name a model. The first model you add becomes the default automatically.
Change or remove a model
- Rename the alias. Edit the model. Budgets and the default that use the old alias are updated with it. Clients that ask for the old alias are refused until they use the new one.
- Pause it. Turn off the model's switch.
- Delete it. Select the trash icon. If a budget covers the model or falls back to it, update that budget first.
Organizations on the original Claude Code setup
Organizations that used the gateway before the model list existed see a notice that any Claude model is allowed. Until you add a model, the gateway passes any Claude model through to the original Anthropic key, unpriced. Adding the first model switches the organization to the model list: from then on, only listed models can be called, and calls for any Claude model you have not listed yet are refused. Make a list of the models your users rely on first, then add them one after the other.