Launch preview Service availability and integrations are being verified. View readiness

Claude Code

Configure ANTHROPIC_BASE_URL without /v1 and use a Redline key via ANTHROPIC_AUTH_TOKEN.

Maintained integration · Verification pending. Last tested: not yet verified · Tool version: pending.

Configure your shell

Install Claude Code using its official instructions. Set your Redline API key first, then apply this environment configuration in a dedicated shell so it does not unexpectedly affect other projects.

Bash / zsh
export ANTHROPIC_BASE_URL="https://api.redline-api.duckdns.org"
export ANTHROPIC_AUTH_TOKEN="$REDLINE_API_KEY"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
export ANTHROPIC_MODEL="redline-core"
claude --model "redline-core"

Use a project-local settings file

Merge this into your private .claude/settings.local.json; do not overwrite unrelated settings. Replace the key placeholder locally and ensure the file is ignored by Git.

JSON
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.redline-api.duckdns.org",
    "ANTHROPIC_AUTH_TOKEN": "replace-with-your-redline-key",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "ANTHROPIC_MODEL": "redline-core"
  }
}

Verify a small task and its usage

Run the connection test, then ask Claude Code to explain a small local file you are authorised to review. Check the engagement usage record. Multi-turn tool compatibility is a launch gate; this guide does not claim it has passed.

The traffic setting reduces nonessential Claude Code traffic. It is not a guarantee that no other network requests occur, or that inference happens locally.

Official client documentation

Claude Code gateway configuration and model configuration. These describe the client; the Redline integration status above describes our compatibility.