Get Claude API Key
To use Anthropic's Claude API, you need an API Key. This guide describes how to get a Claude API Key.
π Prerequisites
- β Anthropic Console Account
- β Payment Method (Credit Card)
- β Phone Number Verification
π API Key Issuance Steps
Step 1: Access Anthropic Console
Go to https://console.anthropic.com
Step 2: Account Creation or Login
- Sign up with Email
- Complete email verification
- Complete phone number verification (Required)
Step 3: Register Payment Method
- "Billing" in menu
- "Add Payment Method"
- Enter credit card info
- Pre-charge credits (Minimum $5)
Step 4: Create API Key
- Click "Get API Keys" button
- "Create Key" button
- Enter key name (e.g., "CodeFreeAI")
- "Create Key"
Step 5: Copy and Store API Key
- Copy the displayed API Key (
sk-ant-...) - Save it in a safe place
π° Pricing Guide
Claude 3.5 Sonnet
| Type | Cost |
|---|---|
| Input | $3.00 / 1M Tokens |
| Output | $15.00 / 1M Tokens |
Claude 3 Haiku (Fast & Cheap)
| Type | Cost |
|---|---|
| Input | $0.25 / 1M Tokens |
| Output | $1.25 / 1M Tokens |
βοΈ CodeFreeAI Configuration
- Add Node: Drag "Claude" node to canvas
- Enter Key: Paste key into "API Key" field
- Select Model: Choose
claude-3-5-sonnetetc.