江江流石injliushi.hashnode.dev·2h ago · 2 min readCodex CLI + Custom Relay: The config.toml You Actually NeedThe minimum config to run Codex CLI through a third-party relay. Based on the AI Relay setup guide. Relays see your requests; pick one you trust. 1. Pick a relay that supports Codex Most relays on the00
江江流石injliushi.hashnode.dev·3h ago · 5 min readRouting Claude Code (and Codex) Through an Anthropic-Compatible Relay: Env Vars, settings.json and Status-Code DebuggingTL;DR export ANTHROPIC_BASE_URL="https://<relay-base-url>" # no trailing /v1 export ANTHROPIC_AUTH_TOKEN="<relay-key>" # sent as Bearer export ANTHROPIC_MODEL="claude-opus-5" 00