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
- Go to the Anthropic Console.
- Create an account or log in.
- Navigate to Settings > API Keys and generate a new key.
- Add it to your
.envfile asANTHROPIC_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.