AI Providers
AI providers supply the language models that power your Cheffed sessions. Configure one or more providers to enable session creation.
Supported Providers
Section titled “Supported Providers”| Provider | Models | Recommended For |
|---|---|---|
| Anthropic | Claude 3.5 Sonnet, Claude 3 Opus | Complex coding tasks, reasoning |
| OpenAI | GPT-4, GPT-4 Turbo | General tasks, broad knowledge |
Anthropic
Section titled “Anthropic”Anthropic’s Claude models excel at coding tasks with strong reasoning capabilities.
Getting an API Key
Section titled “Getting an API Key”- Go to console.anthropic.com
- Sign up or log in to your account
- Navigate to API Keys
- Click Create Key
- Copy the key (it won’t be shown again)
Adding to Cheffed
Section titled “Adding to Cheffed”- Go to Settings in Cheffed
- Find the Anthropic section
- Click Add Credentials
- Paste your API key
- Click Save
Available Models
Section titled “Available Models”| Model | Speed | Capability | Best For |
|---|---|---|---|
| Claude 3.5 Sonnet | Fast | High | Most tasks (recommended) |
| Claude 3 Opus | Slower | Highest | Complex reasoning |
| Claude 3 Haiku | Fastest | Good | Quick tasks |
Pricing
Section titled “Pricing”Anthropic charges per token:
- Input tokens - Text you send to the model
- Output tokens - Text the model generates
Check anthropic.com/pricing for current rates.
OpenAI
Section titled “OpenAI”OpenAI’s GPT models offer broad capabilities and general knowledge.
Getting an API Key
Section titled “Getting an API Key”- Go to platform.openai.com
- Sign up or log in to your account
- Navigate to API Keys
- Click Create new secret key
- Copy the key (it won’t be shown again)
Adding to Cheffed
Section titled “Adding to Cheffed”- Go to Settings in Cheffed
- Find the OpenAI section
- Click Add Credentials
- Paste your API key
- Click Save
Available Models
Section titled “Available Models”| Model | Speed | Capability | Best For |
|---|---|---|---|
| GPT-4 | Slower | Highest | Complex tasks |
| GPT-4 Turbo | Fast | High | Most tasks |
| GPT-4o | Fastest | High | Quick tasks |
Pricing
Section titled “Pricing”OpenAI charges per token with different rates per model. Check openai.com/pricing for current rates.
Choosing a Provider
Section titled “Choosing a Provider”For Most Users
Section titled “For Most Users”Start with Anthropic Claude 3.5 Sonnet:
- Excellent coding capabilities
- Fast responses
- Competitive pricing
- Strong reasoning
For Specific Needs
Section titled “For Specific Needs”| Need | Recommendation |
|---|---|
| Complex reasoning | Claude 3 Opus |
| Fast responses | Claude 3 Haiku or GPT-4o |
| Broad knowledge | GPT-4 |
| Budget conscious | Claude 3.5 Sonnet |
Using Multiple Providers
Section titled “Using Multiple Providers”You can configure multiple providers and choose per-session:
- Add credentials for each provider
- When creating a session, select your preferred model
- Different automations can use different models
Benefits of Multiple Providers
Section titled “Benefits of Multiple Providers”- Redundancy - Fallback if one provider has issues
- Optimization - Use best model for each task type
- Cost management - Balance quality vs. cost
Credential Management
Section titled “Credential Management”Viewing Credentials
Section titled “Viewing Credentials”Go to Settings to see all configured providers:
- Provider name
- Status (connected/disconnected)
- Last used date
Updating Credentials
Section titled “Updating Credentials”To update an API key:
- Go to Settings
- Find the provider
- Click Edit
- Enter the new key
- Save changes
Removing Credentials
Section titled “Removing Credentials”To remove a provider:
- Go to Settings
- Find the provider
- Click Remove
- Confirm deletion
Troubleshooting
Section titled “Troubleshooting”Invalid API Key
Section titled “Invalid API Key”| Symptom | Solution |
|---|---|
| ”Invalid API key” error | Verify key is correct, no extra spaces |
| ”Authentication failed” | Generate a new key from provider |
| Key not saving | Check for special characters, try new key |
Rate Limits
Section titled “Rate Limits”Providers enforce rate limits:
| Provider | Typical Limits |
|---|---|
| Anthropic | Varies by tier |
| OpenAI | Varies by tier |
If you hit rate limits:
- Wait and retry
- Upgrade your provider plan
- Use a different provider temporarily
Billing Issues
Section titled “Billing Issues”Sessions fail if provider billing is not set up:
- Log into provider console
- Add payment method
- Ensure account is active
- Retry session
Security
Section titled “Security”Key Storage
Section titled “Key Storage”- API keys are encrypted at rest
- Keys are never exposed in the UI after saving
- Keys are only used server-side
Best Practices
Section titled “Best Practices”- Use dedicated API keys for Cheffed
- Set spending limits at the provider
- Monitor usage regularly
- Rotate keys periodically
Cost Management
Section titled “Cost Management”Monitoring Usage
Section titled “Monitoring Usage”Track your AI costs:
- View provider dashboards for usage
- Monitor session count in Cheffed
- Set up provider spending alerts
Reducing Costs
Section titled “Reducing Costs”- Choose appropriate models for tasks
- Use faster/cheaper models for simple tasks
- Write clear prompts to reduce back-and-forth
- Set reasonable session timeouts
Next Steps
Section titled “Next Steps”- Create your first session
- Set up GitHub integration
- Configure Cloud Providers for deployments