# Claude Code with zurelay > Anthropic’s coding agent for the terminal and IDE. Made by Anthropic. Source: https://zurelay.com/docs/integrations/claude-code The examples use `claude-opus-5-5`. Any Claude model ID from [the models page](https://zurelay.com/docs/models) works. ## Set it up 1. Set `ANTHROPIC_BASE_URL` to `https://api.zurelay.com`, with no `/v1`. Claude Code adds `/v1/messages` itself. 2. Set `ANTHROPIC_AUTH_TOKEN` to your zurelay key. It’s sent as a Bearer token, with no approval prompt. 3. Point the Opus, Sonnet and Haiku aliases at zurelay models, then run `claude`. 4. To keep the setup, put the same values in the `env` block of `~/.claude/settings.json`. ## Configuration **Shell** (`terminal`): ```bash export ANTHROPIC_BASE_URL="https://api.zurelay.com" export ANTHROPIC_AUTH_TOKEN="$ZURELAY_API_KEY" export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-5-5" export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-5-5" export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-sonnet-5-5" claude --model claude-opus-5-5 ``` **settings.json** (`~/.claude/settings.json`): ```json { "env": { "ANTHROPIC_BASE_URL": "https://api.zurelay.com", "ANTHROPIC_AUTH_TOKEN": "", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-sonnet-5-5" }, "model": "claude-opus-5-5" } ``` > **Note:** Claude Code speaks the Anthropic API, so it runs on Claude models. Map the Haiku alias too: Claude Code uses it for background work. In the VS Code extension, add the same variables under `claudeCode.environmentVariables`. [Claude Code’s own docs](https://code.claude.com/docs/en/llm-gateway-connect)