Event ·Multi-source

用开源模型跑 Claude Code,但无法同时用 Anthropic 模型

开发者 Santiago 发现可以用 Ollama 启动 Claude Code 并指定开源模型(如 Gemma 4:26B),但这样会失去使用 Anthropic 官方模型的能力。他询问是否有办法在 Claude Code 中同时使用 Anthropic 模型和开源模型。这反映了开发者对模型灵活性的需求,以及当前工具在模型切换上的限制。

Current read

如果你在用 Claude Code 做开发,又想尝试开源模型,这个痛点值得关注——目前无法同时使用两种模型,但社区可能有解决方案。

11 sources67° AI heatLast updated 2026/5/24 20:03:13

Evidence

11 sources
Related source 1Claude Code: GitHub Releases
View source
Related source 3Guillermo Rauch
View source
Related source 7marktechpost
View source
Related source 9Justine Moore
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.