Primary sourceIT之家
View sourceEvent ·Multi-source
Claude API 新增 effort 调节:对话中途可切换模型努力档位
Anthropic 于 11 月 12 日为 Claude API 推出一项 Beta 功能,开发者可在对话消息中调整 effort,即模型回答时的“努力程度”档位。该功能影响模型在思考、调用工具和组织回答等环节的资源投入,帮助开发者在回答充分度、响应速度和成本之间做取舍。 操作方式是在消息序列中插入一条内容为空的 system 消息,通过新的 output_config.effort 设置目标等级,无需改动顶层配置,提示缓存仍可命中。设置不会修改已生成内容,从下一条带新输入的用户消息起生效,开发者需注意插入位置和下一次用户输入的时点。 典型场景是一段对话前半部分做简单问答、后半部分转向复杂分析,开发者可在任务切换处插入新的 effort 等级完成“换挡”。相比只能全程固定配置的做法,这种按消息粒度调节的方式对成本控制和交互体验都更精细。
Current read
Anthropic 给 Claude API 加了个 effort 开关,简单闲聊调低档省 token,复杂分析再调高档,中途就能切换还不用改顶层配置。做对话类应用、在意成本的开发者可以直接上手试试这个 Beta 功能。
11 sources56° AI heatLast updated 2026/11/12 02:23:54
Evidence
11 sourcesRelated source 1Claude
View sourceRelated source 2berryxia
View sourceRelated source 3The Rundown AI
View sourceRelated source 4TestingCatalog
View sourceRelated source 5Tech in Asia
View sourceRelated source 6@koltregaskes
View sourceRelated source 7rohanpaul_ai
View sourceRelated source 8Simon Willison’s Weblog
View sourceRelated source 9Aravind Srinivas
View sourceRelated source 10Aran Komatsuzaki (论文推介)
View sourceConflict 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.