Add credentials from the UI
First, go to the Providers page. Choose the provider you want to use, and click the provider card.

Test
button. We will try to use the credentials to generate a response from the model.
Add credentials in code
You can also add credentials in code, but this is not recommended since it’s more difficult to manage. You can add credentials in code by passing thecustomer_credentials
parameter to the LLM proxy.
Add multiple credentials
We support you adding multiple credentials for the same provider. For example, you can add multiple OpenAI API keys, or multiple Anthropic API keys. Just add the credentials in the same way you would add a single credential, but you have to specify the weight of each credential - the weight is the probability of the model using the credential. For more information, please check out our Load balancing page.View which credential was used
You can view which credential was used in the each LLM log. Open the side panel of the LLM log, and you will see theDeployment
section.
We call each credential a
Deployment
.
Override credentials for a model
You can override credentials for a particular model by adding thecredential_override
parameter to the LLM proxy. This is useful if you want to use a different credential for a particular model. For example, you can override the credential for the gpt-4o
model by adding the following to the LLM proxy: