Unverified50% confidenceDecision RuleExact time
Claude Code internally routes different tasks by model tier (Haiku/Sonnet/Opus); when the main model is switched to an open-weights model, the model ID corresponding to each tier must be explicitly specified, otherwise some background requests will fail or fall back to defaults.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/14/2026
First Seen
Valid until: 1/12/2027
Sources
Related Entities
Related Claims
UnverifiedClaude 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.73% similarUnverifiedAnthropic 的 API 提供特定版本的模型调用(如 claude-3-5-sonnet-20241022),但 Claude Code 作为终端产品用户对底层模型的选择权相对有限72% similarUnverifiedClaude Code internally switches requests automatically among three model tiers—Sonnet (mid-range), Opus (most powerful), and Haiku (lightest)—based on task complexity.71% similarUnverifiedWhen 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.71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1022639API
curl https://kongchang.com/api/v1/knowledge/claims/1022639MCP
get_claim(id=1022639)