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

  1. Visit Anthropic Console
  2. Click "Sign up" to create an account
  3. Complete email verification

Step 2: Add Payment Method

  1. After logging in, go to "Settings" → "Billing"
  2. Add a credit card as payment method
  3. You can set usage budget limits

Step 3: Create an API Key

  1. Go to the "API Keys" page
  2. Click "Create Key"
  3. Name your key (e.g., "Chatbox")
  4. Copy the generated key (save it securely)

Configure in Chatbox

Step 1: Open Settings

  1. Open the Chatbox app
  2. Click the "Settings" entry in the bottom left
  3. 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

  1. Click "Add Provider"
  2. Select "Anthropic (Claude)"
  3. Paste your key in the "API Key" field
  4. Keep API Host as default: https://api.anthropic.com

Step 3: Select a Model

After saving, you can choose from these models:

ModelFeaturesUse Cases
claude-sonnet-4.5Latest flagship, excellent performanceDaily chat, complex analysis
claude-sonnet-4Strong reasoning capabilityAdvanced reasoning, programming
claude-haiku-3.5Fast and affordableSimple 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:

  1. Check key status in Console
  2. Confirm account has available credits
  3. 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:

  1. Confirm network can access api.anthropic.com
  2. Check proxy settings
  3. 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

  1. Choose the right model:

    • Daily use: claude-sonnet-4.5 recommended
    • Need fast responses: use claude-haiku-3.5
    • Advanced reasoning: use claude-sonnet-4
  2. Leverage long context: Claude is especially suited for long documents, code review scenarios

  3. Set budget limits: Configure usage limits in Anthropic Console

  4. Protect your API Key: Don't expose your key