Verified65% confidenceFactTime unknown
Claude Code supports configuring a custom API endpoint (base URL) and key via environment variables, allowing requests to be redirected to any compatible interface.
3
Sources
65%
Confidence
Long-term
Relevance
6/1/2026
First Seen
Sources
Claude Code入门教程:安装部署到省钱实战全攻略
bilibili赋范AI课堂
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.78% similarUnverifiedIntegrating a domestic model with Claude Code requires setting three environment variables: API Key, Base URL, and model name.76% similarVerifiedClaude Code supports configuring custom API endpoints through environment variables, allowing the underlying model to be replaced with domestic large model services.76% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/17714API
curl https://kongchang.com/api/v1/knowledge/claims/17714MCP
get_claim(id=17714)