Use with Claude Code
Claude Code can connect through the Anthropic-compatible /v1/messages endpoint.
Requirements
- Node.js 18+
- An API token created in the gateway console
Configure
bash
export ANTHROPIC_BASE_URL="https://api.geoq.help"
export ANTHROPIC_AUTH_TOKEN="sk-your-token"Persist the variables in your shell profile if needed:
bash
echo 'export ANTHROPIC_BASE_URL="https://api.geoq.help"' >> ~/.zshrc
echo 'export ANTHROPIC_AUTH_TOKEN="sk-your-token"' >> ~/.zshrc
source ~/.zshrcUse ANTHROPIC_AUTH_TOKEN, not ANTHROPIC_API_KEY, for custom gateway tokens.
Verify
bash
claudeChoose a Claude model with /model, then send a test message. If the gateway Logs page shows the request, the connection is working.