Unverified50% confidenceSolutionExact time
Claude Code goes to Anthropic's official endpoint by default and maps the model aliases (Opus/Sonnet/Haiku) to Anthropic's own model IDs; when ANTHROPIC_BASE_URL is rewritten to the Meta endpoint, if the aliases and sub-agent model variables are not replaced, requests will still be constructed with Claude model names, causing some calls to be rejected or to fall back to Anthropic.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/12/2026
First Seen
Valid until: 1/10/2027
Sources
Related Entities
Related Claims
UnverifiedWhen the model resolved from the default model or a model alias is rejected by the Anthropic API, Claude Code now retries once on the previous model at the same tier.68% similarUnverifiedIn Claude Code, setting ANTHROPIC_BASE_URL to point to a local proxy and model mapping allows the use of Opus 4.6 without paying Anthropic.65% similarUnverifiedAnthropic 的 API 提供特定版本的模型调用(如 claude-3-5-sonnet-20241022),但 Claude Code 作为终端产品用户对底层模型的选择权相对有限64% similarUnverifiedClaude Code currently only supports Anthropic's own models, primarily including Opus, Sonnet, and Haiku.63% similarVerifiedIn the open-source local version of Claude Code, users can replace the underlying model via an API interface and are not required to use Anthropic's own Claude model.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1011221API
curl https://kongchang.com/api/v1/knowledge/claims/1011221MCP
get_claim(id=1011221)