Quick Start
Integrate Helicone with Anthropic by changing your base URL and adding your API key:Installation
- Python
- Node.js
Configuration
Basic Setup
Only two changes are needed:- Change base URL to
https://anthropic.helicone.ai - Add Helicone-Auth header with your API key
Environment Variables
Set up your environment:.env
Features
Streaming Support
Helicone fully supports streaming responses:Prompt Caching
Helicone automatically tracks Anthropic’s prompt caching:Vision Models
Log image inputs with Claude:Tool Use
Track Claude’s tool usage:Custom Properties
Add metadata to your requests:Advanced Usage
User Tracking
Track requests by user:Session Tracking
Group related requests into sessions:Prompt Tracking
Track prompt versions:AWS Bedrock
Use Claude via AWS Bedrock with Helicone:Troubleshooting
Requests not appearing in dashboard
Requests not appearing in dashboard
Check these common issues:
- Verify your
HELICONE_API_KEYis correct - Ensure base URL is
https://anthropic.helicone.ai(no/v1) - Check that
Helicone-Authheader includesBearerprefix - Verify
anthropic-versionheader is set (required by Anthropic) - Wait 10-30 seconds for requests to appear
anthropic-version header missing
anthropic-version header missing
Anthropic requires the The SDK usually handles this automatically.
anthropic-version header. Add it to your requests:Rate limiting issues
Rate limiting issues
Helicone does not add rate limits. If you’re hitting rate limits, they’re from Anthropic. The error message will be passed through.
Examples from Source
See real integration examples in the repository:Next Steps
Custom Properties
Add metadata to your requests
Sessions
Track multi-turn conversations
Prompt Caching
Monitor cache performance
Dashboard
Explore your analytics