Setting Up AI Providers
Step-by-step guides for getting API keys from Anthropic, Google, DeepSeek, and OpenAI.
AI Data Stream supports four AI providers. This guide walks you through getting an API key from each one and adding it to your account.
Anthropic (Claude)
Anthropic offers the Claude family of models, which excel at nuanced analysis and longer documents.
Available models:
- Claude Sonnet 4.5 - Best balance of speed and capability
- Claude Opus 4.5 - Most intelligent, best for complex analysis
- Claude Haiku 4.5 - Fastest, great for quick queries
Getting Your API Key
- Go to console.anthropic.com
- Sign up or log in
- Navigate to API Keys in the sidebar
- Click Create Key
- Name your key and copy it
Adding to AI Data Stream
- Go to Settings → AI Providers
- Click Add Provider
- Select Anthropic
- Paste your API key
- Choose your default model
- Click Save
Google Gemini
Google’s Gemini models offer excellent performance at competitive prices, with options ranging from ultra-fast to highly capable.
Available models:
- Gemini 3 Flash - Best balance of speed and capability
- Gemini 3 Pro - Most advanced
- Gemini 2.5 Pro - Complex reasoning
- Gemini 2.5 Flash - Previous generation, reliable
- Gemini 2.5 Flash Lite - Fastest, most affordable
Getting Your API Key
- Go to ai.google.dev
- Click Get API key in Google AI Studio
- Sign in with your Google account
- Click Create API key
- Select or create a project
- Copy your API key
Adding to AI Data Stream
- Go to Settings → AI Providers
- Click Add Provider
- Select Google
- Paste your API key
- Choose your default model
- Click Save
DeepSeek
DeepSeek offers budget-friendly AI models with strong performance for analytics tasks.
Available models:
- DeepSeek Chat - Best balance, general purpose
- DeepSeek Reasoner - Deep thinking for complex problems
Getting Your API Key
- Go to platform.deepseek.com
- Create an account or log in
- Navigate to API Keys
- Click Create new API key
- Copy your key
Adding to AI Data Stream
- Go to Settings → AI Providers
- Click Add Provider
- Select DeepSeek
- Paste your API key
- Choose your default model
- Click Save
OpenAI
OpenAI offers the GPT family and reasoning models with broad capabilities.
Available models:
- GPT-4o - Best balance of speed and capability
- GPT-4o Mini - Fastest
- GPT-5.2 - Thinking model
- GPT-5.2 Pro - Most capable
- GPT-5.2 Instant - Fast
- o3 - Deep reasoning
- o4-mini - Fast reasoning
Getting Your API Key
- Go to platform.openai.com
- Sign up or log in to your account
- Click your profile icon → View API keys
- Click Create new secret key
- Give it a name (e.g., “AI Data Stream”)
- Copy the key immediately—you won’t see it again
Adding to AI Data Stream
- In AI Data Stream, go to Settings → AI Providers
- Click Add Provider
- Select OpenAI from the dropdown
- Paste your API key
- Choose your default model
- Click Save
Choosing the Right Model
Each model in AI Data Stream shows a description of what it’s best for. As a general guide:
- For quick checks: Use faster models like Gemini Flash Lite, Claude Haiku, or GPT-4o Mini
- For daily analysis: Use balanced models like Claude Sonnet, Gemini Flash, or GPT-4o
- For complex analysis: Use powerful models like Claude Opus, Gemini Pro, or GPT-5.2 Pro
- For deep reasoning: Use thinking models like DeepSeek Reasoner, o3, or GPT-5.2
You can switch models anytime based on your needs.
Using Multiple Providers
You can add API keys from all four providers and switch between them:
- Add keys for each provider you want to use
- Set a default provider and model
- When starting a new chat, select which model to use
- Switch models mid-conversation if needed
This lets you:
- Use affordable models for routine checks
- Switch to powerful models for important analysis
- Have a backup if one provider has issues
Managing Your Keys
Rotating Keys
For security, periodically rotate your API keys:
- Generate a new key in your AI provider’s dashboard
- Add the new key to AI Data Stream
- Delete the old key from AI Data Stream
- Revoke the old key in your AI provider’s dashboard
Setting Spending Limits
Most AI providers let you set monthly spending limits. Check your provider’s billing settings to configure caps and usage alerts.
Monitoring Usage
Track your AI costs in each provider’s dashboard:
- Anthropic: console.anthropic.com
- Google: console.cloud.google.com/billing
- DeepSeek: platform.deepseek.com
- OpenAI: platform.openai.com/usage
Troubleshooting
”Invalid API key” Error
- Check that you copied the entire key
- Make sure there are no extra spaces
- Verify the key is still active in your provider’s dashboard
”Rate limit exceeded” Error
- You’ve hit your provider’s rate limits
- Wait a few minutes and try again
- Consider upgrading your plan with the AI provider
”Insufficient credits” Error
- Add credits/payment method to your AI provider account
- Check your spending limits aren’t blocking requests
Requests Timing Out
- Try a faster model (Gemini Flash Lite, Claude Haiku)
- Simplify your query
- Check your internet connection