AI Providers
Configure AI providers for chat and image generation
AI Providers
Chatelope connects to various AI providers for chat, image generation, and other features. This guide covers how to set up each provider.
Overview
Chatelope supports two types of AI providers:
- Cloud Providers - Commercial APIs (OpenAI, Anthropic, Google)
- Self-Hosted - Run models on your own hardware (Ollama, LM Studio)
Cloud Providers
OpenAI
Available models: GPT-4o, GPT-4 Turbo, GPT-4, GPT-3.5 Turbo
Setup:
- Get an API key from platform.openai.com
- Go to Settings > AI Settings
- Select OpenAI as provider
- Enter your API key
- Choose your default model
Additional features:
- Image generation with DALL-E 3
- Text-to-speech with OpenAI TTS
- Transcription with Whisper
Anthropic
Available models: Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku
Setup:
- Get an API key from console.anthropic.com
- Go to Settings > AI Settings
- Select Anthropic as provider
- Enter your API key
- Choose your default model
Available models: Gemini 1.5 Pro, Gemini 1.5 Flash
Setup:
- Get an API key from aistudio.google.com
- Go to Settings > AI Settings
- Select Google as provider
- Enter your API key
- Choose your default model
Self-Hosted Providers
For detailed self-hosted setup, see Self-Hosted AI.
Ollama
Run open-source models locally:
- Install Ollama
- Pull a model:
ollama pull llama3 - In Chatelope, select Ollama as provider
- Enter server URL (default:
http://localhost:11434)
LM Studio
GUI for running local models:
- Install LM Studio
- Download and load a model
- Start the local server
- In Chatelope, select LM Studio as provider
- Enter server URL (default:
http://localhost:1234)
Provider Settings
Default Provider
Set your preferred provider for new conversations:
Settings > AI Settings > Default Provider
Per-Conversation Override
Change provider for a specific conversation:
- Open the conversation
- Click the gear icon
- Select a different provider
API Key Security
API keys are stored securely:
- Encrypted at rest
- Never sent to Chatelope servers
- Only transmitted to the provider's API
Model Selection
Automatic Selection
Enable smart model selection based on task:
- Simple queries use faster models
- Complex tasks use more capable models
Manual Selection
Choose specific models for control over:
- Cost - Cheaper models for routine tasks
- Speed - Faster models for quick responses
- Quality - Best models for important work
Cost Tracking
Monitor API usage:
- Go to Analytics > Usage
- View costs by provider, model, and time period
- Set budget alerts
Troubleshooting
Invalid API Key
- Verify the key is correct
- Check the key has proper permissions
- Ensure billing is active on your account
Rate Limits
- Reduce concurrent requests
- Use a model with higher limits
- Upgrade your API plan
Connection Errors
- Check your internet connection
- Verify provider status pages
- Try a different provider