API Configuration
API configuration in ChatFrame is managed through the Providers settings tab and follows the Bring Your Own Key (BYOK) model. This ensures that you have direct control over your usage and costs with each Large Language Model (LLM) provider.
General Steps for Configuration
The process is generally the same for all natively supported providers:
- Access Settings: Open the ChatFrame application and navigate to the Providers section within the settings.
- Select Provider: Choose the LLM provider you wish to configure (e.g., OpenAI, Anthropic, Groq).
- Enter API Key: Paste the secret API key you obtained directly from the provider's platform.
| Provider | API Key Retrieval Link |
|---|---|
| OpenAI | https://platform.openai.com/api-keys |
| Anthropic | https://console.anthropic.com/settings/keys |
| Groq | https://console.groq.com/keys |
| Google AI Studio | https://ai.google.dev/gemini-api/docs/api-key |
| OpenRouter | https://openrouter.ai/keys |
Custom and OpenAI-Compatible Providers
For providers that are not natively listed but are OpenAI Compatible, you will need to configure them as a Custom Provider:
- Select Custom Providers: Choose the Custom Providers option in the Providers settings.
- Provide Endpoint: Enter the base API URL (endpoint) for the service.
- Provide API Key: Enter the corresponding API key.
Security Note
Your API keys are stored locally and securely on your machine. ChatFrame does not transmit your keys to any third party other than the intended LLM provider for authentication purposes.