Unverified50% confidenceFactExact time
The ANTHROPIC_BASE_URL environment variable specifies the API endpoint root address for Claude Code (and the Anthropic SDK), and by default points to the Anthropic cloud.
1
Sources
50%
Confidence
Long-term
Relevance
10/20/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedClaude Code supports forwarding requests to any endpoint compatible with the OpenAI API format by configuring the ANTHROPIC_BASE_URL environment variable, enabling model replacement.73% similarUnverifiedMeta's documentation defines three environment variables to point Claude Code at its API: ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, and ANTHROPIC_MODEL, and requires setting the Opus, Sonnet, and Haiku aliases and the sub-agent model to the same ID to ensure no request falls back to a Claude model.69% similarUnverifiedThe Anthropic SDK accepts two parameters, base URL and key, and the OpenAI SDK is likewise compatible with Claude model calls.66% similarUnverifiedclaude-code-local builds an MLX-native Anthropic-API-compatible server that simulates the Anthropic official API interface specification locally.60% similarUnverified浏览器AI助手赛道正在分化出两条路线:以Arc、Perplexity为代表的云端一体化体验,以及WebBrain代表的开源+本地化路线60% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1073547API
curl https://kongchang.com/api/v1/knowledge/claims/1073547MCP
get_claim(id=1073547)