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

Token-usage attachment computes the context window differently

The token_usage attachment now converts the model through an extra step before working out the context window

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

When CLAUDE_CODE_ENABLE_TOKEN_USAGE_ATTACHMENT is set, Claude Code adds a token_usage attachment, which is a note telling the model how much of its context window it has used. The context window is how much text the model can hold at once. Before working out that total, Claude Code now passes the model name through an extra conversion step.

Why

The total in this note may now come out differently for some models.

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 doubtThe finding does not say what the extra step does or which models it affects.

See this entry in the whole of v2.1.281 →

Feedback