Claude Code Complete Integration Guide
Use all frontier models (Claude 3.7 Sonnet, Gemini 3.8 Flash, DeepSeek-V3, GPT-4o) inside Claude Code with automatic failover, pooled Google Antigravity OAuth tokens, and zero rate limits.
GoRoute automatically writes your ~/.claude/settings.json and configures your environment:
goroute setup claude
This sets your proxy URL to http://127.0.0.1:8128, sets your auth token to goroute, and generates profile shortcuts under ~/.claude/profiles/.
Manual Configuration (~/.claude/settings.json)
If configuring manually, ensure your settings file matches the following structure:
{
"env": {
"ANTHROPIC_BASE_URL": "http://127.0.0.1:8128",
"ANTHROPIC_AUTH_TOKEN": "goroute"
},
"model": "frontier"
}Claude Code warns if both ANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEY are set simultaneously.
Always use ANTHROPIC_AUTH_TOKEN="goroute" and ensure ANTHROPIC_API_KEY is unset in your shell environment (~/.bashrc, ~/.zshrc, or ~/.config/fish/config.fish).
Clean Model Picker (Combos-Only Discovery)
By default, AI gateways expose 300+ raw upstream model names that flood the Claude Code model picker with unusable endpoints.
GoRoute automatically inspects the client User-Agent. When Claude Code queries /v1/models, GoRoute filters the catalog to only expose your active Combos:
Instant Profile Switching
Switch models on a per-session basis when invoking Claude Code:
# Launch with primary multi-model cascade (default)claude# Launch specifically with DeepSeek Reasoning profileclaude --profile deepseek# Launch specifically with Gemini high-speed profileclaude --profile gemini