{"version":"2.1.328","anchor":"token-counter-tracks-kept-vs-in-progress-reply-length","canonical_anchor":"token-counter-tracks-kept-vs-in-progress-reply-length","heading":"Response token count handles replies made of several messages better","tier":"notice","area":"Token Counting","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/token-counter-tracks-kept-vs-in-progress-reply-length","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Response token count handles replies made of several messages better\n\nThe response token counter now tracks earlier kept text separately from the reply in progress and resets the latter at each new message\n\n**What**\n\nWhile Claude is replying, Claude Code keeps a running count of how many tokens (small chunks of text the model reads and writes) the response has used. This counter has been reworked:\n\n- Earlier text: a count of what has already been kept from previous messages in the turn.\n\n- Current reply: a separate count for the message still arriving, reset each time a new message starts.\n\n- Source: the output token figure now comes from the usage numbers the API reports as the reply streams and when it finishes.\n\nPreviously there was a single running length that only ever grew.\n\n**Why**\n\nA single turn can involve several messages from Claude. Keeping the counts apart should make the token count you see more accurate across those turns.\n\n- Area: Token Counting\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}