Install Claude Code first
Claude Code is a local CLI. Install Node.js if npm is missing, install Claude Code from Anthropic, then set the CorvusLLM Anthropic base URL and key from the next sections.
| What to install | Official source | Quick check |
|---|---|---|
| Node.js and npm | Node.js download | node --version and npm --version |
| Claude Code | Claude Code install guide | claude --version |
| Optional Git | Git install guide | git --version |
node --version
npm --version
npm install -g @anthropic-ai/claude-code
claude --version Environment values
Claude Code reads these values from your shell environment. Set them in the same terminal session before you run claude.
| Variable | What it controls | Value |
|---|---|---|
ANTHROPIC_BASE_URL | Anthropic-native endpoint Claude Code calls | https://base.corvusllm.com/anthropic |
ANTHROPIC_AUTH_TOKEN | Authentication token | Your delivered CorvusLLM key |
ANTHROPIC_MODEL | First model Claude Code should request | claude-opus-4-7 |
PowerShell
$env:ANTHROPIC_BASE_URL="https://base.corvusllm.com/anthropic"
$env:ANTHROPIC_AUTH_TOKEN="YOUR_CORVUSLLM_KEY"
$env:ANTHROPIC_MODEL="claude-opus-4-7"
claude
macOS / Linux
export ANTHROPIC_BASE_URL="https://base.corvusllm.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="YOUR_CORVUSLLM_KEY"
export ANTHROPIC_MODEL="claude-opus-4-7"
claude
Why this page is different from the /v1 pages
Claude Code does not want the OpenAI-compatible base URL. It wants an Anthropic-style gateway and will then call the Anthropic-native message endpoints under the hood.
Best first model
Start with claude-opus-4-7. After the first successful request, you can switch to other Claude slugs from Models & Slugs.