正在打开每日关注
正在打开每日关注
Anthropic 详解 Opus 5.5 任务成本构成,给出 effort 分级、缓存命中率等降本策略与自查提示词。
Anthropic just published its 𝗳𝘂𝗹𝗹 𝗰𝗼𝘀𝘁 𝗴𝘂𝗶𝗱𝗲 for Opus 5.5. You can ask Opus 5.5 to use it to review your Claude Code setup. At the same effort level, Opus 5.5 thinks more per turn than Opus 5, most of all at xhigh and max. Thinking is billed as output, and an output token costs 𝟭𝟬𝟬 𝘁𝗶𝗺𝗲𝘀 𝗮 𝗰𝗮𝗰𝗵𝗲 𝗿𝗲𝗮𝗱. So don't carry over the level you set for Opus 5. Start at medium, and save xhigh and max for work where you've measured a gain. Send this prompt to Opus 5.5 👇 "Read this guide: https://t.co/8RHkfmiKjM Then review my Claude Code setup against it: my user and project settings, the subagents in ~/.claude/agents and .claude/agents, CLAUDE.md, and the MCP servers I have connected. Find three kinds of problems: 1. A default effort that doesn't fit the work. Use the guide's ladder: low for mechanical edits, medium for well-scoped daily work, high when medium stalls, and xhigh or max only for work where a gain was measured. Flag a default of xhigh or max, or a level I picked for Opus 5. Then look at this project's code and recent commits and tell me which kinds of work here fit which level. 2. Subagents that only search, read logs or run tests but set no model, so they run on my main model. 3. Setup that makes every turn cost more: MCP servers I don't use, or a CLAUDE.md well over 200 lines. For each issue, quote the setting or line, explain what it costs, and suggest the smallest change. Also tell me which three things to check in /usage at the end of a task. Show me the recommendations first. Don't change anything yet."
Opus 5.5 is 20% cheaper per input and output token than Opus 5, and 60% cheaper on cache reads. So what does that actually do to the cost of a task in Claude Code? We ran the numbers, and built a calculator so you can run yours from /usage: https://t.co/WUqoFoecW3
是什么:Anthropic 官方博客(claude.dev,作者 Addy Osmani)发布的 Opus 5.5 完整成本指南,配套成本计算器;原推文在此之上给出一段可直接投喂给 Opus 5.5、用于审查自己 Claude Code 配置的提示词。
核心论点链:任务成本 = 回合数 × 每回合重发的上下文 × 单价。四个变量决定账单:回合数、缓存读、输出 token、模型。Opus 5.5 输入/输出降价 20%,缓存读降 60%($4/$20/$0.20 每百万);输出 token 是缓存读的 100 倍,而 thinking 按输出计费,因此 effort 等级直接撬动账单。示例中同一任务 40 回合输入约 $1.62,25 回合约 $1.02;缓存命中 96% 时 $0.99,无缓存则高达 $11.20。
关键洞察:最便宜的回合是不需要的回合;给模型可自查的手段(测试、构建、脚本)能减少回合;宣传中的"40% 更省"是典型负载估计而非单价下降;订阅限额随新定价约延长 25%。
边界与风险:作者坦承一切省钱手段都可能牺牲任务完成率,一次重试的代价超过省下的 token;文中数字多为示意,需用 /usage 与计算器自行实测。原推提示词还点名三类隐性成本:未设模型的 subagent、闲置 MCP 服务器、远超 200 行的 CLAUDE.md,强调"先看建议,先别改动"的安全审查姿势。