Claude Code

Configure Claude Code to use AllToken as its model provider.

Setup

Set these environment variables to route Claude Code through AllToken:

Environment variables
1ANTHROPIC_API_KEY=your_alltoken_api_key
2ANTHROPIC_BASE_URL=https://api.alltoken.ai/api-chat

Specify the model at launch:

Shell
$ claude --model qwen3.5-plus