Docs / Claude Code
Claude Code
Anthropic protocol (no /v1)
Anthropic's official CLI — native Anthropic protocol.
Base URL
https://api.llmapi.pro:99API Key
sk-... (create in Console → API Keys)Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5Setup steps
- Set environment variables (Base URL without /v1):
# macOS / Linux
export ANTHROPIC_BASE_URL=https://api.llmapi.pro:99
export ANTHROPIC_AUTH_TOKEN=sk-YOUR_KEY
# Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://api.llmapi.pro:99"
$env:ANTHROPIC_AUTH_TOKEN="sk-YOUR_KEY"
# Windows CMD
set ANTHROPIC_BASE_URL=https://api.llmapi.pro:99
set ANTHROPIC_AUTH_TOKEN=sk-YOUR_KEY- Just run
claude. To persist: add to~/.zshrc/~/.bashrc(Mac/Linux) or usesetx(Windows). - Pick a model:
claude --model claude-opus-4-8, orclaude --model claude-fable-5. - Want Fable 5 (or any custom model) to show up directly in the
/modelmenu? The latest Claude Code/modelmenu only lists built-in models with no free-text input — set the env var below to add it to the bottom of the menu (you can also always runclaude --model claude-fable-5directly):
# macOS / Linux
export ANTHROPIC_CUSTOM_MODEL_OPTION=claude-fable-5
export ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="Fable 5"
# Windows PowerShell
$env:ANTHROPIC_CUSTOM_MODEL_OPTION="claude-fable-5"
$env:ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="Fable 5"Notes
- Claude Code uses the Anthropic protocol — Base URL has no
/v1. - Fable 5 not appearing in the
/modelmenu by default is expected — that menu is a hard-coded client-side list unrelated to our model catalog; add it viaANTHROPIC_CUSTOM_MODEL_OPTIONabove. - Want 5h / weekly usage in your status bar? See Usage in Claude Code.
Client not listed? Any "OpenAI-compatible" app works: Base URL =
https://api.llmapi.pro:99/v1, key = your sk-..., type the model name. Or email support@llmapi.pro.Need help? Email support@llmapi.pro · Home