Claude Code
Route Claude Code through llmtap using its supported gateway environment variables.
Setup
bash
export ANTHROPIC_BASE_URL=https://www.llmtap.dev/api export ANTHROPIC_AUTH_TOKEN='sk-live-your-key' export ANTHROPIC_MODEL=claude-opus-4.8 claude
Why the URL has no /v1
Claude Code appends /v1/messages to ANTHROPIC_BASE_URL. Use https://www.llmtap.dev/api so the final request reaches /api/v1/messages.
Errors
Use ANTHROPIC_AUTH_TOKEN for the Bearer header accepted by the gateway. Run /status in Claude Code to confirm the base URL and credential source.