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
isUnmeteredflag 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.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear how often a reply reached this point still carrying the marker.