Claude Code setup
Point Claude Code at a prepaid Claude channel after you receive a key and base URL. TokenDesk is not affiliated with Anthropic. Variable names can change with Claude Code releases — prefer the tool's current docs and the values on your quote.
Prerequisites
- Prepaid Claude channel (Bedrock, enterprise-subscription or ccmax official relay) agreed on your quote.
YOUR_API_KEYandhttps://BASE_URLfrom the welcome message.- Claude Code installed per Anthropic's instructions.
Configure
Set the environment variables your Claude Code build expects for a custom API endpoint and key to the placeholders above. Example shape (adjust names to match your installed version):
# Example — confirm exact names in Claude Code docs for your version export ANTHROPIC_API_KEY="YOUR_API_KEY" export ANTHROPIC_BASE_URL="https://BASE_URL"
Verify
Run a short coding task, confirm the model id on the wire, then follow verify-model. Channel rates: /claude-api. Narrative guide: Claude Code with a cheaper Claude channel.
Get a written quote
Tell us your models, supply type, monthly volume and peak TPM/RPM. We reply with the channel, rate, contracted capacity and minimum top-up.