Claude (Anthropic) Setup Guide
This guide will help you configure your Anthropic API Key in Chatbox to use Claude Sonnet 4.5, Claude Haiku 3.5, and other models.
Claude Model Features
Claude is an AI model developed by Anthropic, standing out with these features:
- Ultra-long context: Supports up to 200K Token context window
- Nuanced responses: More natural, helpful conversation style
- Safe and controllable: Focuses on AI safety, reduces harmful outputs
- Strong coding ability: Especially skilled at code generation and analysis
Getting an API Key
Step 1: Register an Anthropic Account
- Visit Anthropic Console
- Click "Sign up" to create an account
- Complete email verification
Step 2: Add Payment Method
- After logging in, go to "Settings" → "Billing"
- Add a credit card as payment method
- You can set usage budget limits
Step 3: Create an API Key
- Go to the "API Keys" page
- Click "Create Key"
- Name your key (e.g., "Chatbox")
- Copy the generated key (save it securely)
Configure in Chatbox
Step 1: Open Settings
- Open the Chatbox app
- Click the "Settings" entry in the bottom left
- Select "AI Provider" or "Model Settings"
💡
On mobile, tap the menu icon (☰) in the top left to open the sidebar first, then tap "Settings".
Step 2: Add Anthropic
- Click "Add Provider"
- Select "Anthropic (Claude)"
- Paste your key in the "API Key" field
- Keep API Host as default:
https://api.anthropic.com
Step 3: Select a Model
After saving, you can choose from these models:
| Model | Features | Use Cases |
|---|---|---|
| claude-sonnet-4.5 | Latest flagship, excellent performance | Daily chat, complex analysis |
| claude-sonnet-4 | Strong reasoning capability | Advanced reasoning, programming |
| claude-haiku-3.5 | Fast and affordable | Simple tasks, real-time interaction |
Pricing
Anthropic charges by token usage, and pricing can change over time by model/version.
- For current rates, always check Anthropic's official pricing
- If you use newer model versions, pricing may differ from older model families
Common Issues
API Key Not Working
Possible causes:
- Key has been revoked
- Insufficient account balance
- Regional restrictions
Solutions:
- Check key status in Console
- Confirm account has available credits
- Generate a new key
"Rate Limit Exceeded" Error
Cause: Request frequency exceeds limits
Solutions:
- Reduce request frequency
- Wait and retry later
- Contact Anthropic to request higher limits
Network Connection Issues
Solutions:
- Confirm network can access
api.anthropic.com - Check proxy settings
- Try configuring proxy in Chatbox
Long Text Processing
Claude supports ultra-long context, but note:
- Longer context means higher costs
- Very long context may affect response speed
- Recommended to control conversation history length reasonably
Usage Tips
-
Choose the right model:
- Daily use:
claude-sonnet-4.5recommended - Need fast responses: use
claude-haiku-3.5 - Advanced reasoning: use
claude-sonnet-4
- Daily use:
-
Leverage long context: Claude is especially suited for long documents, code review scenarios
-
Set budget limits: Configure usage limits in Anthropic Console
-
Protect your API Key: Don't expose your key