Claude Code
Prefer an Anthropic-compatible Base URL with /v1/messages. If your version only accepts the official service, follow its gateway configuration instead.
Protocol: Anthropic Messages. Base URL: https://openbulu.com. Endpoint: POST /v1/messages.
Configuration example
# PowerShell (current terminal)
$env:ANTHROPIC_BASE_URL = "https://openbulu.com"
$env:ANTHROPIC_API_KEY = "<OPENBULU_API_KEY>"
# Bash/Zsh (current terminal)
export ANTHROPIC_BASE_URL="https://openbulu.com"
export ANTHROPIC_API_KEY="<OPENBULU_API_KEY>"Examples use placeholders only. Keep your real API key in an environment variable or the client’s secure credential store.
Setup steps
- In one PowerShell or Bash/Zsh terminal, set ANTHROPIC_BASE_URL to https://openbulu.com and ANTHROPIC_API_KEY to your key. This route uses the site root; do not add /v1.
- Launch claude from that same terminal, run /status, and confirm the base URL and API key source before sending a new message.
- Match the request in OpenBulu Usage Logs by time, /v1/messages, and model ID. A successful short reply confirms text access only, not file tools or other agent features.
Verify setup
Create a key, choose a model available to your account, run a small request in the client, then check its model, result, and charge in Usage Logs. Do not share the full key.
Windows verification record: Claude Code 2.1.293 returned the test reply, and the matching streaming /v1/messages log showed gpt-5.6-sol. This does not verify tool use, other models, or other operating systems.
Troubleshooting
- If the request returns 401, check that the OpenBulu key is in ANTHROPIC_API_KEY and remove a stale ANTHROPIC_AUTH_TOKEN from this terminal session if present; use /status to confirm the active source.
- If /status does not show https://openbulu.com, fully close Claude Code and relaunch it from the terminal where the variables were set.