Docs / Claude Code

Claude Code

Anthropic protocol (no /v1)

Anthropic's official CLI — native Anthropic protocol.

Base URL
https://llmapi.pro
API Key
sk-... (create in Console → API Keys)
Choose a model
Copy the exact model ID from the subscription model list or pay-as-you-go channels, and check that your client protocol supports it. The model catalogue labels each model’s billing mode.
A monthly subscription uses a subscription key, with supported models sharing the plan quota. Pay-as-you-go API billing uses a separate key and balance. Select the matching key type in the Console, then configure your client protocol. Topping up API credit does not increase subscription quota.

Setup steps

  1. Set environment variables (Base URL without /v1):
# macOS / Linux
export ANTHROPIC_BASE_URL=https://llmapi.pro
export ANTHROPIC_AUTH_TOKEN=sk-YOUR_KEY

# Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://llmapi.pro"
$env:ANTHROPIC_AUTH_TOKEN="sk-YOUR_KEY"

# Windows CMD
set ANTHROPIC_BASE_URL=https://llmapi.pro
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-5, 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://llmapi.pro/v1, key = your sk-..., type the model name. Or email support@llmapi.pro.
Need help? Email support@llmapi.pro · Home