Configure LLM Service Providers¶
This tutorial shows how to connect an LLM provider, such as OpenAI or Anthropic, to your team. Your chatbots need a provider to get AI models that generate replies. You configure providers from Team Settings → Integrations, filtered to the LLM & embedding category.
Prerequisites¶
You cannot create a provider without a valid API key. The API key lets Open Chat Studio connect securely to your account with the provider. You must:
- Have an active account with the provider (OpenAI, Anthropic, Google, etc.)
- Generate an API key from your provider account
- Have access to the specific models you want to use
Adding a New Provider¶
- Go to Team Settings → Integrations.
- Click Add integration, then choose your provider from the LLM & embedding group. See supported providers for the full list.
- Enter your API key, plus any other details your provider needs. For example, a LiteLLM provider also requires the Base URL of your proxy.
- Save the configuration.
Base URL
You don't need to include the /v1 suffix on a LiteLLM Base URL.
Open Chat Studio appends it if it's missing, so https://litellm.example.com is saved as https://litellm.example.com/v1.
After saving, the provider page shows a Models tab listing the models it supports.
Each model shows its price per million tokens and its context size, which is the model's max token limit.
See LLM Models for how to filter the list.
If your provider, such as LiteLLM, has no pre-configured models, add a custom model.
Verifying Your Credentials¶
Saving a provider checks its credentials against the provider's API, unless they're already verified. The save button tells you upfront whether saving will run this check.
The provider page then shows the result: Verified, Not checked, or Check failed. See Credential Verification for what each state means.
Testing Your Configuration¶
After adding a provider and models, it's recommended to:
- Create a test chatbot
- Configure it to use your new provider/model
- Send a test message to verify everything works correctly
Next steps¶
Configure the basics for your LLM Node.
See also¶
- Add a Custom LLM Model if you need a model that isn't pre-configured in OCS.
- Choose an LLM Model