Models / Anthropic

Anthropic Models

Use Claude models with OpenClaw. Excellent reasoning and coding capabilities.

Supported Models

Claude 3.5 Sonnet

Latest. Best for coding, reasoning, and instruction following.

Price: $3/M input, $15/M output
🧠

Claude 3 Opus

Most powerful. For complex reasoning and large tasks.

Price: $15/M input, $75/M output

Claude 3.5 Haiku

Fast and cheap. Great for simple, high-volume tasks.

Price: $0.80/M input, $4/M output

Setup

Get your API key from console.anthropic.com

  1. Run the onboarding: openclaw onboard
  2. Select "Anthropic" as your provider
  3. Enter your API key when prompted
  4. Choose your default model

Configuration

Or configure manually:

{
  "models": {
    "default": "anthropic/claude-3-5-sonnet-20241022",
    "providers": {
      "anthropic": {
        "apiKey": "YOUR_ANTHROPIC_API_KEY",
        "defaultModel": "claude-3-5-sonnet-20241022"
      }
    }
  }
}

Related