Docs / Claude Code

Claude Code

Anthropic protocol (no /v1)

Anthropic's official CLI — native Anthropic protocol.

Base URL
https://api.llmapi.pro:99
API Key
sk-... (create in Console → API Keys)
Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5

Setup steps

  1. 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
  1. Just run claude. To persist: add to ~/.zshrc / ~/.bashrc (Mac/Linux) or use setx (Windows).
  2. Pick a model: claude --model claude-opus-4-8, or claude --model claude-fable-5.
  3. Want Fable 5 (or any custom model) to show up directly in the /model menu? The latest Claude Code /model menu 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 run claude --model claude-fable-5 directly):
# 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

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