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.282 ·

Placeholder messages built mid-stream no longer count toward context size, tokens or cost

Assistant messages assembled mid-stream are marked isUnmetered and left out of context, token and cost figures until the real message arrives

Group of 4 You'll notice Bug Fixes
JSON All of v2.1.282
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Usage & LimitsArea: what it touches
Bug FixesKind: in v2.1.282,
Bug FixesSection of the release

What

While Claude's reply streams in, Claude Code sometimes builds a stand-in assistant message from partial or made-up state (isMadeUp). These stand-ins are now marked isUnmetered:

  • The context-size tracker, which scans back for the latest token usage, skips messages marked isUnmetered.
  • The helper that returns a message's usage skips them too, as it already did for one special placeholder model.
  • The per-tool-call usage path and cost accounting ignore their usage.
  • When the final message arrives and its usage is copied over, the isUnmetered flag is removed, so the completed message still counts.

Why

Usage copied into a placeholder could otherwise be counted as the current context size or added to token and cost totals. That affects the context percentage you see and when automatic compaction starts, which shortens the conversation history once it gets full.

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 how often a reply reached this point still carrying the marker.

See this entry in the whole of v2.1.282 →

Feedback