Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Cost totals are described as including auto mode's safety-check calls

The SDK's cost fields now say auto mode's checking calls are counted where billed, that --max-budget-usd counts them, and that /clear resets the total

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AgentsArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release

Unclear It is not clear whether the way spending is counted changed or only its description.

What

The Agent SDK lets programs run Claude Code and read a result at the end, including how much was spent. The descriptions of the modelUsage and total_cost_usd fields now say:

  • Calls made by the auto mode classifier, the model that checks whether an action is safe to run, are counted where they are billed.
  • --max-budget-usd therefore counts that spending against its cap.
  • /clear resets the running total.
Why

If you set a spending cap, the safety checks made in auto mode count toward it, so a cap can be reached sooner than the main conversation alone would suggest.

Read from
Names in the bundlemodelUsagetotal_cost_usd
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up modelUsage, on reference. | `span.model_request_end` | A model inference call has completed. Includes `model_usage` (java, php: `modelUsage`; csharp, go: `ModelUsage`) with token counts. | managed-agents/reference see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the way spending is counted changed or only its description.
Anthropic's documentation agreesAnthropic's documentation has since written up modelUsage, on reference.
Anthropic's release notes agreeFixed /clear --help and other built-in commands running at an idle prompt instead of showing usage; added /help <command>

See this entry in the whole of v2.1.326 →

Feedback