Overview
CheckThat AI provides unified access to multiple AI providers through their existing API keys. Instead of creating new API keys, you use your existing keys from OpenAI, Anthropic, Google, xAI, or Together AI to access their models through our platform.Provider API Keys
CheckThat AI requires API keys from the specific providers whose models you want to use:1
Choose your providers
Decide which AI providers you want to use:
- OpenAI: GPT-4o, GPT-5, o3, o4-mini
- Anthropic: Claude Sonnet 4, Sonnet Opus 4.1
- Google: Gemini 2.5 Pro, Gemini 2.5 Flash
- xAI: Grok 4, Grok 3, Grok 3 Mini
- Together AI: Llama 3.3 70B, Deepseek models
2
Get provider API keys
Obtain API keys from your chosen providers:
3
Set environment variables
Store your API keys securely as environment variables:
4
Test your setup
Verify your setup using the Python SDK:
Authentication Methods
You can provide your provider API keys in several ways when using CheckThat AI:- Python SDK (Recommended)
- Direct API Calls
- Environment Variables
Use the CheckThat AI Python SDK with your provider API key:
Recommended: The SDK automatically handles authentication and provides the best developer experience.
Security Best Practices
Environment Variables
Store API keys in environment variables, never in code:
Separate Keys
Use different API keys for different environments:
- Development:
CHECKTHAT_DEV_KEY - Staging:
CHECKTHAT_STAGING_KEY - Production:
CHECKTHAT_PROD_KEY
Key Rotation
Regularly rotate your API keys:
- Create new key
- Update applications
- Revoke old key
Access Control
Limit key access within your team:
- Use key management systems
- Implement least-privilege access
- Monitor key usage
Environment Variable Usage
Configuration Files
- .env file
- Docker Compose
- Kubernetes Secret
Error Responses
When authentication fails, the API returns specific error responses:Missing API Key
Invalid API Key
Expired/Revoked Key
Troubleshooting
Authentication failing despite correct key
Authentication failing despite correct key
Common causes:
- Whitespace in API key (trim the key)
- Wrong header format (ensure “Bearer ” prefix)
- Key copied incorrectly (verify character count)
- Environment variable not loaded
Intermittent authentication errors
Intermittent authentication errors
Possible causes:
- Network issues causing header corruption
- Load balancer configuration problems
- Concurrent requests with rate limiting
Different behavior between environments
Different behavior between environments
Common issues:
- Different API keys with different permissions
- Environment variables not set correctly
- Different base URLs
Rate Limiting and API Keys
Each API key has associated rate limits based on your subscription plan:Free Tier
- 100 requests/hour
- 1,000 requests/month
- Basic model access
Pro Plan
- 1,000 requests/hour
- 50,000 requests/month
- All models available
Enterprise
- Custom limits
- Dedicated support
- SLA guarantees
Need Help?
If you’re experiencing authentication issues:- Check your implementation against the examples above
- Test with the Python SDK using the provided examples
- Contact support at [email protected]
- Report issues on GitHub

