Docs / Claude Code
Claude Code
Anthropic protocol (no /v1)
Anthropic's official CLI — native Anthropic protocol.
Base URL
https://llmapi.proAPI 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://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- Just run
claude. To persist: add to~/.zshrc/~/.bashrc(Mac/Linux) or usesetx(Windows). - Pick a model:
claude --model claude-opus-4-8.
Notes
- Claude Code uses the Anthropic protocol — Base URL has no
/v1. - Want 5h / weekly usage in your status bar? See Usage in Claude Code.
Client not listed? Any "OpenAI-compatible" app works: Base URL =
https://llmapi.pro/v1, key = your sk-..., type the model name. Or email [email protected].Need help? Email [email protected] · Home