Unverified50% confidenceFactExact time
Claude Code decides the domain to which requests are sent by reading the environment variable ANTHROPIC_BASE_URL, and performs authentication through ANTHROPIC_AUTH_TOKEN.
1
Sources
50%
Confidence
Long-term
Relevance
10/12/2026
First Seen
Sources
Related Entities
Related Claims
VerifiedClaude Code uses the environment variables ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY to determine the API endpoint and authentication information.77% similarVerifiedClaude Code supports configuring a custom API endpoint (base URL) and key via environment variables, allowing requests to be redirected to any compatible interface.68% similarUnverifiedConfiguring Claude Code to use Coding Plan requires setting three environment variables—ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, and ANTHROPIC_MODEL—and writing them into the settings.json file.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1010051API
curl https://kongchang.com/api/v1/knowledge/claims/1010051MCP
get_claim(id=1010051)