Claude Code

Integrations

Claude Code ​

Connect Claude Code to Relumen with an Anthropic-format key and a Claude model included in its group.

Connection settings ​

SettingValue
API formatAnthropic / Messages
Base URLhttps://relumen.ai
API keyYour Anthropic-format Relumen key · yellow
ModelExact supported Claude call name from Model Plaza

Use the host as the Base URL. Claude Code appends /v1/messages; do not add /v1 to ANTHROPIC_BASE_URL.

Set the environment ​

Set these variables in the shell that launches Claude Code. Replace both placeholders before starting a new client process.

bash
export ANTHROPIC_BASE_URL="https://relumen.ai"
export ANTHROPIC_API_KEY="YOUR_API_KEY"
export ANTHROPIC_MODEL="YOUR_MODEL_ID"
claude
powershell
$env:ANTHROPIC_BASE_URL = "https://relumen.ai"
$env:ANTHROPIC_API_KEY = "YOUR_API_KEY"
$env:ANTHROPIC_MODEL = "YOUR_MODEL_ID"
claude

These commands apply to the current shell session. Restart a previously running client so it reads the new settings. Avoid storing keys in shared configuration or committing them to a repository.

Test a request ​

Ask Claude Code to reply with Relumen is connected. Check Usage Records in the Relumen console to confirm the model and usage.

Troubleshooting ​

SymptomWhat to check
Authentication failsThe key is active, has no extra whitespace, and belongs to the intended group.
model_not_foundCopy the exact supported Claude model name; confirm the key uses the Anthropic protocol.
The client still uses another providerStart a new process from the configured shell and check for conflicting client or provider settings.
Balance or capacity errorConfirm sufficient account balance, key budgets, group permissions, and service status.

For request fields, see Messages.

Need help? Visit the Help Center →Open console ↗