Get your Anthropic API Key

Access Claude Opus, Sonnet, and Haiku models.

Step-by-step

1

Create an Anthropic account

Go to console.anthropic.com and sign up or log in.

2

Navigate to API keys

Go to console.anthropic.com/settings/keys or click SettingsAPI keys in the sidebar.

3

Create a new key

Click Create Key. Name it "AgentVoy". Copy the key immediately.

4

Add billing

Go to Billing and add credits. New accounts start on Tier 1 ($5 credits). Claude Sonnet costs ~$3 per million input tokens.

Note: Some models (like Claude Opus) require higher tiers. Check your tier at Settings → Limits.
5

Add to your .env

ANTHROPIC_API_KEY=sk-ant-api03-...

Your key starts with sk-ant-api03-.

Compatible frameworks

Anthropic SDKCrewAILangGraphLlamaIndexAutoGen

Available models

ModelBest forTier
claude-sonnet-4-20250514Best balance of speed and intelligenceTier 1+
claude-opus-4-20250514Most capable, complex tasksTier 2+
claude-haiku-4-5-20251001Fast and cost-effectiveTier 1+