Claude Code + RodiumAi
Use Claude Code on Windows, Linux, or macOS with ANTHROPIC_BASE_URL pointing at api.rodiumai.io. This guide covers install, configuration, verification, and your first prompt.
Anthropic Messages API required
Before you start
- Node.js 18+ (nodejs.org), required for npm and the Claude Code CLI.
- A RodiumAi API key (rd_sk_prod_…) with access to Anthropic models.
- RODI credits on your wallet, each Claude Code request debits your balance.
Install Claude Code
Install the CLI globally, then confirm the version. Restart your terminal after install if claude is not found.
…Create your RodiumAi API key
Open Dashboard → API Keys, create a key, and copy the full secret (shown once). Never commit it to git.
Configure RodiumAi
Pick your OS below. We recommend ~/.claude/settings.json (or %USERPROFILE%\.claude\settings.json on Windows) so Claude Code picks up the config on every launch.
Recommended: settings.json
File path: %USERPROFILE%\.claude\settings.json
…Alternative: environment variables
…Verify the API connection
List models from RodiumAi before launching Claude Code. You should see slugs like anthropic/claude-sonnet-4-6.
…Launch Claude Code and run a first prompt
Open a project folder, start claude, run /status to confirm api.rodiumai.io, then ask a short question.
…Troubleshooting
- Invalid model slug, set ANTHROPIC_MODEL to anthropic/claude-sonnet-4-6 (Rodium catalogue format).
- 401 errors, use rd_sk_… from RodiumAi, not lk_live_ or sk-ant- keys.
- /status still shows api.anthropic.com, restart the terminal after saving settings.json.
- 402 insufficient credits, top up RODI in Dashboard → Billing.
Related: Anthropic Messages guide · POST /v1/messages · RODI pricing