Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.273 ·

Token-usage accumulation in agent execution now validates usage shape before summing

Token usage totals for an agent turn are now validated before being added up, to avoid bad data corrupting the count

Under the hood Bug Fixes
JSON All of v2.1.273
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
TelemetryArea: what it touches
Bug FixesKind: in v2.1.273,
Bug FixesSection of the release
What

When Claude Code tallies up token usage during an agent's turn, it now checks the shape of the usage data first: it requires input_tokens to be a number, and treats a missing or null output_tokens as 0. Only after this check does it sum input, cache-creation, cache-read, and output tokens, instead of summing the raw values directly.

Why

This guards against malformed or incomplete usage data silently corrupting token counts or causing errors, keeping usage totals reliable.

See this entry in the whole of v2.1.273 →

Feedback