Setup
Add the gateway to~/.claude/settings.json:
~/.claude/settings.json
/v1 off the base URL. Claude Code adds it.
Choose models
Set any of these in the sameenv block, to a model or alias:
To also list the gateway’s Claude models in
/model, add "CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY": "1". Claude Code lists only names that contain claude or anthropic, so set aliases with the variables above.
Check it works
Startclaude and send a prompt. In LLM Gateway → Keys, the key’s Last Used updates.
