⌨️ANTHROPIC_BASE_URL
Also known as ANTHROPIC_BASE_URL environment variable, ANTHROPIC_BEDROCK_BASE_URL, ANTHROPIC_VERTEX_BASE_URL
It sends the API requests to a new address.
Think of it like
It is like you send your letters to a new post office.
Example
Emma's team logs and caps each AI request at one gateway. Each laptop points this at the gateway. So nothing goes straight to Anthropic.
Why it matters
It is how a company puts its own checks, logs and limits in front of Claude.
Definition
Example code
bash
export ANTHROPIC_BASE_URL=https://llm-gateway.example.com
claudeCommon mistake
Key takeaways
- 1New address. Gateway or proxy.
- 2One per provider. Bedrock and Google.
- 3No Remote Control. Off a non-Anthropic host.