Integrations
Claude Code
Connect Claude Code to Relumen with an Anthropic-format key and a Claude model included in its group.
Connection settings
| Setting | Value |
|---|---|
| API format | Anthropic / Messages |
| Base URL | https://relumen.ai |
| API key | Your Anthropic-format Relumen key · yellow |
| Model | Exact 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.
export ANTHROPIC_BASE_URL="https://relumen.ai"
export ANTHROPIC_API_KEY="YOUR_API_KEY"
export ANTHROPIC_MODEL="YOUR_MODEL_ID"
claude$env:ANTHROPIC_BASE_URL = "https://relumen.ai"
$env:ANTHROPIC_API_KEY = "YOUR_API_KEY"
$env:ANTHROPIC_MODEL = "YOUR_MODEL_ID"
claudeThese 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
| Symptom | What to check |
|---|---|
| Authentication fails | The key is active, has no extra whitespace, and belongs to the intended group. |
model_not_found | Copy the exact supported Claude model name; confirm the key uses the Anthropic protocol. |
| The client still uses another provider | Start a new process from the configured shell and check for conflicting client or provider settings. |
| Balance or capacity error | Confirm sufficient account balance, key budgets, group permissions, and service status. |
For request fields, see Messages.