所有文章

Claude Code 报 does not support this model?是版本太旧,升到 2.1.255 以上

Claude Code 报 does not support this model?官方原文写需要 version 2.1.255 or newer。这是二进制太旧,不是封号。claude update 或更新桌面版/扩展后新开会话。

Claude Code does not support this model:黏土终端块旁边环形更新箭头,柔和自然光

先说结论:Claude Code 报 does not support this model,不是模型被禁了,而是你手上的 Claude Code 版本太旧。官方原文写得很清楚:需要 version 2.1.255 or newer,修法是 claude update(或更新桌面版 / IDE 扩展自带的二进制),然后开新会话。我们 2026 年 11 月 9 日对照了官方 Error reference,并在本机确认当前 CLI 版本;完整「装旧版再选新模型」的 400 需要已登录会话,本机未做那一步。

报错原文

官方 Error reference(我们 11-09 抓取,文中版本号到 v2.1.318)给出的原文:

API Error: 400 Claude Code 2.1.219 does not support this model; version 2.1.255 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.

错误码是 claude_code_version_too_old。组织策略版原文是:

API Error: 400 Claude Code 2.1.240 is older than the minimum version required by your organization's policy. Run 'claude update', or update the Claude desktop app, to continue.

服务器检查的是发出请求的那个 Claude Code 二进制自己上报的版本。

和「模型不给用」怎么区分

你看到的话实际意思先做什么
does not support this model; version … or newer is required当前 CLI 低于该模型要求的最低版本claude update 后新开会话
older than the minimum version required by your organization's policy组织策略要求更高版本必须先升级,不能靠换模型凑合
Model "…" is restricted by your organization's settings管理员禁用了该模型/model 换允许的模型;见官方同一页
selected model / 连不上 API另一类问题见 {I:https://www.binmage.com/zh/claude-code-selected-model-issue-fix/selected model}、{I:https://www.binmage.com/zh/claude-code-unable-to-connect-to-api-fix/Unable to connect}

一句话:这是版本门槛,不是封号,也不是「模型下架」。

我们实际核对了什么(2026-11-09)

1. 官方 Error reference 原文与上表一致(含 2.1.255 示例和 claude update 提示)。

2. 本机执行 claude --version,输出:

2.1.312 (Claude Code)

已高于文档示例里的 2.1.255。同时我们下载了 npm 包 @anthropic-ai/[email protected],package.json 的 version 字段确认为 2.1.219(与报错示例里的旧版本号一致)。

3. 未做:在已登录会话里故意挂载 2.1.219 再选一个需要更高版本的模型去打出 400——那会改动本机正在用的 CLI,且依赖账号登录。文中修法以官方文档为准。

按二进制来源升级

官方表格(摘要):

  • 自己装的 CLI:跑 claude update,再新开会话。
  • Claude 桌面版:更新 App。
  • VS Code / Cursor 等扩展自带的二进制:更新扩展。
  • Agent SDK 打包的二进制:升级 SDK 包并重启;单文件可执行程序要重新编译。

注意:若你在 stable 通道,claude update 可能停在仍低于要求的稳定版;文档写明可改到 latest 通道后再更新。若组织用 managed settings 钉死了通道/版本,要找管理员改。

对「某个模型要求最低版本」那种措辞,文档也允许在当前会话先 /model 换成别的模型继续干活;组织策略版则必须先升级。

国内装不上、代理问题,可对照 Claude Code 报错速查里的安装/联网条目。

常见问题

升级后还要不要重新登录?

文档强调更新二进制后开始新会话。若仍异常,再考虑 /logout 后 /login(那是计划变更等另一类问题的修法)。

和 invalid effort level 有什么不同?

effort 是档位不被允许,见 Invalid effort level。本文是版本低于模型/策略要求。

更多报错

Claude Code 报错速查。

留下你的想法

你的邮箱不会公开。