Skip to content

Claude Code

Claude Code

Route Claude Code through ZoneToken by editing your settings file.

Configure

Edit the file ~/.claude/settings.json:

json
{
  "hasCompletedOnboarding": true,
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.zonetoken.net",
    "ANTHROPIC_AUTH_TOKEN": "<apiKey>",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4.8",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4.6"
  }
}

Replace the placeholder

Set ANTHROPIC_AUTH_TOKEN to your real ZoneToken API key. Replace <apiKey> with the key from your ZoneToken dashboard.

Verify

Restart Claude Code, then run any prompt. Requests will now go through https://api.zonetoken.net using the models defined above.