Starting with OpenAI
For other providers that offer an OpenAI-compatible API (Google Gemini, Mistral, Groq, DeepSeek, and many more), see the OpenAI-Compatible Providers guide. For Anthropic's Claude models, see the dedicated Anthropic guide.
Important: Protocols, Not Providers
Hrida.ai is a protocol-centric platform. While we provide first-class support for OpenAI models, we do so mainly through the OpenAI Chat Completions API protocol.
We focus on universal standards shared across dozens of providers, with support for emerging standards like Open Responses. For a detailed explanation, see our FAQ on protocol support.
1. Get Your OpenAI API Key
2. Add the API Connection in Hrida.ai
Once Hrida.ai is running:
- Go to Admin Settings.
- Navigate to Connections > OpenAI > Manage (look for the wrench icon).
- Click Add New Connection and fill in the fields for your provider:
- OpenAI
- Azure OpenAI
- Connection Type: External
- URL:
https://api.openai.com/v1 - API Key: Your secret key (starts with
sk-...)
For Microsoft Azure OpenAI deployments.
- Find Provider Type and click the button labeled OpenAI to switch it to Azure OpenAI.
- URL: Your Azure Endpoint (e.g.,
https://my-resource.openai.azure.com). - API Version: e.g.,
2024-02-15-preview. - API Key: Your Azure API Key.
- Model IDs (Deployments): You must add your specific Deployment Names here (e.g.,
my-gpt4-deployment).
Click Save. This securely stores your credentials.
Advanced configuration
- Model IDs (Filter): Leave empty to auto-detect all available models from the provider. When set, it acts as an allowlist: only the model IDs you enter are visible to users. Use this to hide older or expensive models.
- Prefix ID: If you connect multiple providers that have models with the same name (e.g., two providers both offering
llama3), add a prefix here (e.g.,groq/) to distinguish them. The model will appear asgroq/llama3.
Connection timeout
If your API provider is slow to respond or you're experiencing timeout issues, you can adjust the model list fetch timeout:
# Increase timeout for slow networks (default is 10 seconds)
AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST=15If you've saved an unreachable URL and the UI becomes unresponsive, see the Model List Loading Issues troubleshooting guide for recovery options.
3. Start Using Models
Once your connection is saved, you can start using models right inside Hrida.ai. You don't need to download any models — just select one from the Model Selector and start chatting. If a model is supported by your provider, you'll be able to use it instantly via their API. Choose any model your OpenAI account has access to.
Your OpenAI API connection is ready to use.
To connect other providers, see the Anthropic guide or the OpenAI-Compatible Providers guide for Google Gemini, Mistral, Groq, DeepSeek, and more. If you run into issues, visit the troubleshooting section.