Unverified50% confidenceDecision RuleExact time
Meta'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.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/12/2026
First Seen
Valid until: 1/10/2027
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.72% similarUnverifiedThe core of connecting to a domestic model is configuring three environment variables: the API address, Token (API Key), and model name.65% similarVerifiedClaude Code supports connecting to third-party model services compatible with the OpenAI interface specification by configuring custom API endpoints and API keys.60% similarUnverifiedAnthropic's API provides calls to specific model versions, such as claude-3-5-sonnet-20241022.60% similarUnverifiedAnthropic maintains an independent set of API specifications for the Claude series of models, which differ significantly from the OpenAI format in terms of message structure, tool-call format, and streaming event types.60% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1011220API
curl https://kongchang.com/api/v1/knowledge/claims/1011220MCP
get_claim(id=1011220)