
Preparing the next screen, account state, and workspace data.
Use Aimesh as your Claude API proxy with billing tracking and usage monitoring.
Sign in and create an API key from your dashboard.
Set the Aimesh proxy endpoint as your Claude API base URL:
export ANTHROPIC_BASE_URL="https://aimesh.vercel.app/api/v1/claude"
export ANTHROPIC_API_KEY="your_aimesh_api_key_here"Run a simple test to verify the proxy is working:
curl -X POST https://aimesh.vercel.app/api/v1/claude/messages \
-H "Content-Type: application/json" \
-H "x-api-key: your_aimesh_api_key_here" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 100,
"messages": [{
"role": "user",
"content": "Hello!"
}]
}'https://aimesh.vercel.app/api/v1/claudeUse your Aimesh API key as the x-api-key header or ANTHROPIC_API_KEY environment variable.
claude-sonnet-4-6, claude-opus-4-5, claude-opus-4-6, claude-haiku-4-5, claude-sonnet-3-5
All requests are billed based on actual token usage. Cache tokens (creation and read) are tracked separately for accurate billing.