GGoesAI
DocsClaude Code

Claude Code

Connect Claude Code to GoesAI via the Anthropic-compatible endpoint.

Environment Variables

If your client supports Anthropic Base URL, point it directly to the GoesAI API domain.

bash
export ANTHROPIC_BASE_URL="https://api.goesai.com"
export ANTHROPIC_API_KEY="sk-YOUR_KEY"

Config File

You can also set it in the Claude Code config file:

json
{
  "apiBaseUrl": "https://api.goesai.com",
  "apiKey": "sk-YOUR_KEY"
}

Models

Model names follow the console model list and pricing page.

claude-sonnet-4-6