Overview
Claude Code is Anthropic’s official command-line AI programming assistant. You can connect it to Crazyrouter by configuring environment variables.Configuration
Set Environment Variables
- Linux / macOS
- Windows (PowerShell)
~/.bashrc or ~/.zshrc for persistence:Launch Claude Code
Verification
After launching, enter any question. If you get a normal response, the configuration is successful.Claude Code uses the Anthropic native API format (
/v1/messages), which Crazyrouter fully supports. Note that the Base URL should not include the /v1 suffix.