Claude Code

Claude Code uses /anthropic, not /v1.

Claude Code is Anthropic-native. The safest first setup is the Anthropic base URL, your CorvusLLM key as ANTHROPIC_AUTH_TOKEN, and the clean starter slug claude-opus-4-7.

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 installOfficial sourceQuick check
Node.js and npmNode.js downloadnode --version and npm --version
Claude CodeClaude Code install guideclaude --version
Optional GitGit install guidegit --version
Install commands
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.

VariableWhat it controlsValue
ANTHROPIC_BASE_URLAnthropic-native endpoint Claude Code callshttps://base.corvusllm.com/anthropic
ANTHROPIC_AUTH_TOKENAuthentication tokenYour delivered CorvusLLM key
ANTHROPIC_MODELFirst model Claude Code should requestclaude-opus-4-7

PowerShell

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

bash/zsh
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.

Browse docs
On this page