Claude Code Integration
Use AI Gateway as the backend for Claude Code. Configure your provider in Claude Code settings.
Configuration
Add the following to ~/.claude/settings.json:
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"env": {
"ANTHROPIC_BASE_URL": "https://your-domain.com/api/ai/v1/anthropic",
"ANTHROPIC_API_KEY": "YOUR_API_KEY",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT": "1"
},
"skipDangerousModePermissionPrompt": true,
"model": "glm-5.3"
}Test Connection
claude --print "say hi"deepseek-v4.1-flash, glm-5.3, qwen3.8-max, kimi-k3, minimax-m3, deepseek-chat, and more
Available models: https://your-domain.com/nl/models