Pin your relay config in ~/.claude/settings.json (no more export every time)

Pin your relay config in ~/.claude/settings.json (no more export every time)

Tired of export-ing env vars in every new terminal? Put your relay config in ~/.claude/settings.json under env, and Claude Code picks it up on launch: { "env": { "ANTHROPIC_BASE_URL": "https://", "ANTHROPIC_AUTH_TOKEN": "sk-****your-key****" } } Enter fullscreen mode Exit fullscreen mode Tips: This file is local — don't commit it. To juggle several stations, use ccswitch to keep each one on its own git branch and ccswitch switch between them. If the model list won't load, add ANTHROPIC_MODEL with the exact id copied from the station. Relay stations are free (signup + daily check-in credit) and plentiful — register a few. List with models and tested dates: AI relay station list Signup links carry my referral param; strip ?aff= if you prefer.

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.