Installation Steps
1. Install Node.js
Visit the Node.js official website and download the LTS version (long-term support, more stable).
2. Install Claude Code
Open a terminal (macOS/Linux) or PowerShell (Windows) and install via npm:
npm install -g @anthropic-ai/claude-code
Get API Key
Go to the LLMoxy Console → Token Management → Create New API Key. In step 1 "Basic Info", select Claude Fable 5 Dedicated in the Token Group (instead of the default group) so the token can properly call the Fable 5 model. Fill in the remaining steps (model scope, budget and expiration, security) as needed. After completion, copy the generated key — the full key is displayed only once, please save it securely.
Configuration Steps
Claude Code connects to LLMoxy via two environment variables:
ANTHROPIC_BASE_URL— Fill inhttps://llmoxy.com(without/v1)ANTHROPIC_AUTH_TOKEN— The LLMoxy API Key created in the previous step
macOS / Linux
{
echo ''
echo '# LLMoxy'
echo 'export ANTHROPIC_BASE_URL="https://llmoxy.com"'
echo 'export ANTHROPIC_AUTH_TOKEN="Your LLMoxy API Key"'
} >> ~/.zshrc # Bash users change to ~/.bashrc
source ~/.zshrc # or source ~/.bashrc
Not sure which Shell you are using? Run echo $SHELL, /bin/zsh corresponds to ~/.zshrc, /bin/bash corresponds to ~/.bashrc.
Windows (PowerShell)
[Environment]::SetEnvironmentVariable("ANTHROPIC_BASE_URL","https://llmoxy.com","User")
[Environment]::SetEnvironmentVariable("ANTHROPIC_AUTH_TOKEN","Your LLMoxy API Key","User")
After setting, close and reopen a new PowerShell window for it to take effect.
Remember to replace Your LLMoxy API Key with the real Key you copied from the console.
Launch and Use Fable 5
Enter your project directory and launch Claude Code:
claude
Enter /model, select or enter the model name:
claude-fable-5
Press Enter to confirm and start programming with Claude Fable 5.
Verification
echo "$ANTHROPIC_BASE_URL" # macOS/Linux, should display https://llmoxy.com
echo $env:ANTHROPIC_BASE_URL # Windows PowerShell
If Claude Code can chat normally, it means you have successfully connected to LLMoxy.
Common Issues
Environment variables not taking effect: Confirm you have sourced the config file or reopened the terminal window.
claude command not found: Confirm node -v outputs the version normally, then restart the terminal.
npm install -g permission error: Do not use sudo npm install -g to force installation. We recommend using nvm to manage Node.js, or run npm config set prefix ~/.npm-global and add ~/.npm-global/bin to PATH.
