Claude Code
Connect Claude Code to your key using the Anthropic-compatible endpoint.
Before you start
One deepthroat key connects Claude Code to all Claude models. Add credits or start an hourly plan on that key.
Setup
- 1Install or update Claude Code, then choose your operating system in the configuration below.
- 2Copy the commands, replace YOUR_API_KEY locally, and run them in the terminal where you launch Claude Code.
- 3Run /model inside Claude Code. Gateway discovery loads every Claude model your key can access.
Configuration
All 11 models stay included. This only sets the initial selection.
Choose a supported level for this model. Higher effort can take longer.
export ANTHROPIC_BASE_URL="https://api.cheapai.gay"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1
claude --model claude-opus-5The settings.json tab is a persistent option: merge it into your user-level ~/.claude/settings.json and replace the key placeholder locally. The allowlist keeps the picker focused on our Claude models.
Included models (11)
claude-sonnet-5Model defaultclaude-sonnet-4.6lowmediumhighxhighmaxclaude-haiku-4.5Model defaultclaude-opus-4.5lowmediumhighxhighmaxclaude-opus-4.6lowmediumhighxhighmaxclaude-opus-4.7lowmediumhighxhighmaxclaude-opus-4.8lowmediumhighxhighmaxclaude-opus-5lowmediumhighxhighmaxclaude-opus-5.5lowmediumhighxhighmaxclaude-sonnet-5.5lowmediumhighclaude-haiku-5.5lowmediumhighxhighmaxEffort labels show levels available through this harness. These are the current published text models. Your key’s access rules and model availability still apply. Image-generation models use a separate API.
Verify & troubleshoot
Send a short prompt and check Activity. If models are missing, verify the list with the same API key:
curl "https://api.cheapai.gay/v1/models" \
-H "Authorization: Bearer YOUR_API_KEY"- 401: replace the placeholder with your actual key and check that it is enabled.
- 402: top up that key or start an hourly plan in the wallet.
- 404: refresh the model list and check the endpoint. Use https://api.cheapai.gay as ANTHROPIC_BASE_URL.
- Tool errors: select a tool-capable text model and read the tool calling guide.