boldrouter now speaks the Anthropic Messages API at /v1/messages. Requests go to Anthropic unchanged, and boldrouter adds your key, workspace rules, budgets and usage tracking on the way.
Claude Code
Point Claude Code at boldrouter and give it a boldrouter API key:
export ANTHROPIC_BASE_URL=https://boldrouter.com
export ANTHROPIC_AUTH_TOKEN=sk-bold-...
claudeEvery request appears in your usage dashboard under its Claude model, with cache reads and writes counted separately. To list boldrouter's Claude models in the /model picker, also set CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1.
Anthropic SDKs
import anthropic
client = anthropic.Anthropic(base_url="https://boldrouter.com", api_key="sk-bold-...")
message = client.messages.create(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)Full details are in the Claude Code docs.