Bring Your Own Keys
xAI
Configure xAI API key for accessing Grok models.
WatchThatSite integrates with xAI's API, providing access to Grok models with advanced reasoning capabilities.
Get Your API Key
- Go to xAI Console (or https://api.x.ai if unavailable)
- Sign up or log in with your account
- Navigate to API Keys or Keys
- Click Create New Key or Generate Key
- Name it (e.g., "WatchThatSite")
- Click Create or Generate
- Copy the API key immediately
Add to WatchThatSite
- Go to Settings > AI Providers
- Click Add Provider Key
- Select xAI from the provider dropdown
- Paste your API key
- Optionally select specific models
- Click Save
Recommended Models
Latest xAI models with tool calling:
- Grok-2 — Latest reasoning model
- Grok-1 — Original Grok model
All Available Models
Your account has access to all xAI models supporting tool calling:
- Go to Settings > AI Providers
- Click Add Provider Key or Edit existing
- Models dropdown shows all available models
- Select specific models to restrict, or leave empty for all
Key Features
- Advanced reasoning: Strong performance on complex reasoning tasks
- Real-time knowledge: Can reference current information
- High accuracy: Strong benchmark performance
- Speed: Fast inference
- Multimodal: Some versions support multiple input types
Pricing
xAI pricing model:
- Per 1M tokens: Charged by input and output tokens
- Varies by model: Different models have different costs
- Free trial: May be available for new accounts
Check xAI pricing page for current rates.
Use Cases
Grok models excel for:
- Complex reasoning: Logic-heavy tasks
- Analysis: Deep analysis and explanation
- Knowledge work: Tasks requiring broad knowledge
- Problem solving: Multi-step problem solving
Troubleshooting
"Invalid API Key"
- Verify complete key is pasted without spaces
- Ensure key hasn't been revoked
- Check in xAI console the key is active
- Try regenerating the key
"Model Not Found"
- Verify model name is correct (case-sensitive)
- Check xAI console for available models
- Some models may be in limited availability
- Request access if model isn't available
Rate Limits
For rate limit issues:
- Implement exponential backoff
- Space requests appropriately
- Contact xAI support for quota increase
- Consider upgrading your plan
Authentication Errors
- Regenerate key in xAI console
- Verify API endpoint is correct
- Check no extra spaces in key
- Ensure full key is pasted
High Latency
Factors affecting latency:
- Model size and complexity
- Request complexity
- Network conditions
- Service load
For faster responses:
- Use streaming for incremental results
- Optimize your prompts
- Check network connection
Integration Notes
- Real-time data: Grok has access to current information
- Long context: Can handle substantial prompts
- Token limits: Check model-specific token limits
- Safety: Models include safety features by default