Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.283 ·

Headless and SDK results now count usage from responses that were not streamed

When run headless or through the SDK, the final result's usage total now includes assistant replies that arrived without stream events

You'll notice Bug Fixes
JSON All of v2.1.283
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
Bug FixesKind: in v2.1.283,
Bug FixesSection of the release
What

When Claude Code runs headless (without its interactive screen, for example from a script) or through the SDK (the programming library for driving Claude Code from your own code), it reports a final result that includes a usage total. Usage is the count of tokens, the units of text the model processes and bills by.

That total used to come only from streamed responses, which arrive piece by piece as they are generated. Claude Code now also adds the usage of any assistant reply that was not already counted that way, so replies that arrive whole are included.

In the same part of Claude Code, system messages marked as informational are now held back from the output in some sessions.

Why

If a response arrived without streaming, its tokens could be missing from the reported usage, which would make usage and cost look lower than they were. Scripts that read the usage figure from results may now see higher, more complete numbers.

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 settled that this corrects under-reported usage in practice, or which sessions hide informational system messages.

See this entry in the whole of v2.1.283 →

Feedback