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
| 1 | ANTHROPIC_API_KEY=your_alltoken_api_key |
| 2 | ANTHROPIC_BASE_URL=https://api.alltoken.ai/api-chat |
Specify the model at launch:
Shell
$ claude --model qwen3.5-plusRecommended models
Models that work well with Claude Code via AllToken:
qwen3.5-plus— fast, good at coding tasksdeepseek-chat— cost-effective for routine workclaude-sonnet-4— high quality reasoning and coding