Documentation
AIProviders

Anthropic

Using Anthropic Claude models.

Anthropic provides the Claude family of models, known for strong reasoning, large context windows, and safety.

How to get an API key

  1. Go to the Anthropic Console.
  2. Create an account or log in.
  3. Navigate to Settings > API Keys and generate a new key.
  4. Add it to your .env file as ANTHROPIC_API_KEY.

Available Models

  • Claude 3.5 Sonnet: The best balance of intelligence and speed. Use this for most coding, writing, and analysis tasks.
  • Claude 3 Opus: The most powerful model for highly complex tasks. Slower and more expensive. Use only when Sonnet isn't enough.
  • Claude 3 Haiku: The fastest and most cost-effective model. Great for simple routing, categorization, or quick summaries.

On this page