⏱️ 30 minutes
Your Gateway to AI-Powered Development
The Anthropic Console is where you manage your Claude API access and budget. You'll add $5 in credits - more than enough for dozens of projects!
🎯 Learning Objectives
- Create an Anthropic Console account
- Understand API pricing and costs
- Add $5 in credits with spending controls
- Generate and secure your API key
- Set up usage alerts and limits
💰 Understanding the Costs
Your $5 budget will get you approximately:
- ✅ 500+ complete website builds
- ✅ 1,000+ code generations
- ✅ 2,000+ debugging sessions
- ✅ 5,000+ simple queries
Typical costs:
- Simple task: $0.01 - $0.03 (1-3 cents)
- Full project: $0.05 - $0.15 (5-15 cents)
- Complex application: $0.20 - $0.50 (20-50 cents)
📊 Pricing Breakdown
Claude API pricing is based on tokens (roughly 4 characters = 1 token):
| Model | Input (per 1M tokens) | Output (per 1M tokens) | Best For |
|---|---|---|---|
| Claude Sonnet 4 | $3.00 | $15.00 | Complex projects, best quality |
| Claude Sonnet 3.5 | $3.00 | $15.00 | Balanced performance |
| Claude Haiku | $0.25 | $1.25 | Quick, simple tasks |
Translation: With $5, you can generate about 300,000 words of code/content using Claude Sonnet!
🚀 Step-by-Step Setup
Create Your Account
- Open your browser and go to: console.anthropic.com
- Click the "Sign Up" button
- Enter your work email (or personal email if preferred)
- Create a strong password (save it in your password manager)
- Click "Create Account"
- Check your email for verification link
- Click the verification link to activate your account
- Log in to the Anthropic Console
Add Payment Method
- In the Console, click "Billing" in the left sidebar
- Click "Add Payment Method"
- Enter your credit/debit card information
- Enter billing address
- Click "Save"
💳 Note: Your card won't be charged yet - you'll manually add credits in the next step.
Add $5 in Credits
- Still in the Billing section, click "Add Credits"
- Enter amount: $5.00
- Review the charge
- Click "Add Credits" to confirm
- Wait for confirmation (should be instant)
- Verify your balance shows $5.00
Disable Auto-Recharge (Important!)
- In Billing settings, find "Auto-Recharge"
- Make sure the toggle is OFF
- This prevents spending more than your $5 budget
💡 Pro Tip: Set up email alerts when you reach $2.50 and $4.00 spent so you know when you're running low.
Create Your API Key
- Click "API Keys" in the left sidebar
- Click "Create Key" button
- Name your key: "Claude Code Development"
- Leave permissions as default (full access)
- Click "Create Key"
Save Your API Key (Critical!)
🔐 IMPORTANT: The API key will only be shown ONCE. You cannot view it again!
- The key will appear (starts with
sk-ant-api03-...) - Click the "Copy" button
- Immediately paste it into a safe place:
- Create a text file on your desktop called "ClaudeAPIKey.txt"
- Or save in your password manager
- Or paste into a secure note app
- Keep this file secure and backed up
⚠️ Security Rules:
- Never share your API key with anyone
- Never post it on forums, GitHub, or social media
- Never email it or send it via chat
- Treat it like a password or credit card number
Test Your API Key (Optional)
You can verify your key works by checking the Console:
- Go to "API Keys" section
- You should see your key listed with name and creation date
- Status should show as "Active"
📈 Monitoring Your Usage
Check Your Balance:
- Go to "Billing" in Console
- View current balance and usage statistics
- See breakdown by model and date
Set Up Alerts:
- In Billing, find "Usage Alerts"
- Add alert at $2.50 (50% used)
- Add alert at $4.00 (80% used)
- You'll receive emails when thresholds are reached
View Detailed Usage:
- Dashboard: Real-time usage charts
- Usage tab: Per-request breakdown
- Billing tab: Cost summaries by day/week/month
💡 Budget Management Tips
- Start Small: Test with simple projects first to understand costs
- Use Haiku for Simple Tasks: It's much cheaper for basic operations
- Be Specific in Prompts: Clear requests = less back-and-forth = lower costs
- Monitor Daily: Check your usage every few days
- Cache Responses: Don't regenerate the same thing twice
- Set Hard Limits: Disable auto-recharge to prevent overspending
🔧 Troubleshooting
Problem: Payment Failed
- Check card has available balance
- Verify billing address matches card
- Try a different card
- Contact your bank (may have blocked international transaction)
Problem: Can't See API Key After Creation
- You can't view existing keys again
- Delete the old key and create a new one
- Make sure to save the new key immediately
Problem: Want to Add More Credits Later
- Go to Billing → Add Credits
- Enter amount (e.g., another $5)
- Confirm payment
✅ Topic Completion Checklist
- ✓ Created Anthropic Console account
- ✓ Verified email address
- ✓ Added payment method
- ✓ Purchased $5 in credits
- ✓ Disabled auto-recharge
- ✓ Created API key named "Claude Code Development"
- ✓ Copied and saved API key securely
- ✓ Set up usage alerts (recommended)
- ✓ Understand API pricing and costs
🚀 What's Next?
With your API key ready, you're now prepared to install Claude Code CLI and start building AI-powered projects! Keep your API key file handy - you'll need it in the next topic.