hn.today

What a task costs on Opus 5.5

claude.dev24 points23 comments
Screenshot of What a task costs on Opus 5.5

Opus 5.5 can make coding tasks cheaper, but the cost depends on the work required, not just the model’s token prices. A task involves repeated turns, and each turn resends prior conversation: fewer turns therefore reduce input use. Most resent context can be billed at the cheaper cache-read rate, while output - including hidden reasoning - is much more expensive. At API list prices, Opus 5.5 cuts input and output rates by 20% versus Opus 5, and cache reads by 60%. In an example with identical token use, a session drops from $3.50 to $2.40, or about 31%. The larger claim of 40% lower cost for typical workloads also assumes Opus 5.5 uses fewer tokens per task; actual savings vary, and it may sometimes use more.

To control costs, the guidance emphasizes reducing unnecessary turns, batching tool calls, and giving the model tests or other ways to check its work before it finishes. Cache-hit rates matter greatly in long sessions, while effort settings determine how much reasoning and tool use a task gets. Medium is recommended for clearly scoped daily work, low for mechanical changes, and higher effort when the model stalls or faces a difficult problem; moving to a larger model is not the first suggested adjustment. Users can inspect session input, output, and cache usage with Claude Code’s /usage command, then compare the same task across models to estimate real savings. Lower settings or less context may save tokens, but a failed attempt and retry can cost more than those savings.

Read on claude.dev23 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

ChatGPT Wallet

ChatGPT Wallet

ChatGPT Wallet lets ChatGPT agents make purchases using tokenized card details, with users reviewing each purchase and approving it through a security check. Launching first for US ChatGPT Pro subscribers, it is built with major payment networks and preserves eligible card rewards and protections. (openai.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.