Integrations
Anthropic API
Configure your Anthropic API key for Claude access.
ChatML requires an Anthropic API key to communicate with Claude.
Getting an API Key
- Sign up at console.anthropic.com
- Navigate to API Keys in the Anthropic Console
- Create a new API key
- Copy the key (starts with
sk-ant-api03-...)
Configuring in ChatML
- Go to Settings (
Cmd+,) > Account > Anthropic API Key - Paste your API key
- ChatML validates the key with a test request
- The key is stored encrypted (AES-256-GCM)
Security
Your API key is never exposed to the frontend:
- Stored encrypted in the local SQLite database
- Only the Go backend decrypts and uses the key
- Validated on save to catch typos or expired keys
Models
With your API key, you can choose from:
| Model | Best For |
|---|---|
| Claude Opus | Complex reasoning, large codebases, multi-step tasks |
| Claude Sonnet | Balanced capability and speed for most tasks |
| Claude Haiku | Quick tasks, simple questions, fast iteration |
Select your model in Settings > AI > Model. You can also configure a fallback model.
Cost Management
API usage is billed by Anthropic based on token consumption. Use budget controls to manage costs.