{"version":"2.1.291","anchor":"mid-turn-cost-push-to-the-session-now-depends-on-a-remote-co","canonical_anchor":"mid-turn-cost-push-to-the-session-now-depends-on-a-remote-co","heading":"Running cost updates during a turn now depend on a server setting","tier":"soon","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.291\/e\/mid-turn-cost-push-to-the-session-now-depends-on-a-remote-co","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.291","markdown":"### Running cost updates during a turn now depend on a server setting\n\nMid-turn cost and token updates for print and SDK sessions now only run if a server-provided interval is set; with none, they are skipped\n\n**What**\n\nWhen Claude Code runs non-interactively, it can report running totals while the model is still working on a reply: cost so far in US dollars, tokens used and cache use. This applies to print mode and to programs built on the SDK, Anthropic's toolkit for driving Claude Code from code.\n\nThese mid-turn updates used to go out at most every 15 seconds for everyone. Now how often they run comes from a value the server sends.\n\n- No value, zero, or anything that is not a positive number: mid-turn updates are skipped entirely.\n\n- Any positive value: updates run, but never more often than every 15 seconds.\n\nThe built-in fallback is zero, so these updates are off unless they are switched on remotely. Totals can still be sent by the other path that reports changes.\n\n**Why**\n\nAnything that showed live cost or token counts while a reply was in progress may stop seeing those numbers update until later. Watch for this if you track spending in real time in a remote or SDK session.\n\n- Flag `tengu_enchanted_willow`: Not enough to say (read for one account on one subscription tier against v2.1.291; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: SDK\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}