Get started
Claude Code
Claude Code is Anthropic's terminal-native coding agent. Point it at Anajak Lab and it runs against the network's Claude models with your single Anajak Lab key.
1. Install Node.js
Claude Code needs Node.js 18 or newer. Grab the LTS build from nodejs.org if you don't have it, then confirm:
node --version2. Get your API key
Create a key in the dashboard. One key unlocks every model on the network — keep it secret, treat it like a password.
3. Install Claude Code
npm install -g @anthropic-ai/claude-code4. Configure settings
Create ~/.claude/settings.json (Windows: %USERPROFILE%\\.claude\\settings.json) and point both the base URL and key at Anajak Lab:
{
"env": {
"ANTHROPIC_API_KEY": "sk-xxxxxxxxxxxx",
"ANTHROPIC_BASE_URL": "https://api.anajaklabs.dev",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
},
"permissions": {
"allow": [],
"deny": []
},
"apiKeyHelper": "echo 'sk-xxxxxxxxxxxx'"
}Base URL has no
/v1. The Anthropic client appends /v1/messages itself, so ANTHROPIC_BASE_URL ends at https://api.anajaklabs.dev.Prefer environment variables instead of a settings file? Set them in your shell — this overrides any config:
macOS / Linux
export ANTHROPIC_API_KEY="sk-xxxxxxxxxxxx"
export ANTHROPIC_BASE_URL="https://api.anajaklabs.dev"Windows (PowerShell / CMD)
setx ANTHROPIC_API_KEY "sk-xxxxxxxxxxxx"
setx ANTHROPIC_BASE_URL "https://api.anajaklabs.dev"5. Launch the client
From any project directory, start Claude Code. It will use Anajak Lab for every request:
claudeOut of credit? If a request returns
402 quota_exhausted, top up in the dashboard and retry — no config change needed.