Claude Code can use cheapkeyai.com via the Anthropic-compatible endpoint. The most stable configuration is setting the base URL and token in settings or shell environment variables.
Automatic Installation
curl -fsSL https://cheapkeyai.com/cdn/claude/setup.sh | bash
irm https://cheapkeyai.com/cdn/claude/setup.ps1 | iex
Manual Installation
npm install -g @anthropic-ai/claude-code
Configure settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://cheapkeyai.com",
"ANTHROPIC_AUTH_TOKEN": "sk-your-token-here"
}
}
Configure with Environment Variables
export ANTHROPIC_BASE_URL="https://cheapkeyai.com"
export ANTHROPIC_AUTH_TOKEN="sk-your-token-here"
$env:ANTHROPIC_BASE_URL = "https://cheapkeyai.com"
$env:ANTHROPIC_AUTH_TOKEN = "sk-your-token-here"
Usage
claude
claude "Read this project and list risks before deploying"