A bulk per-tool token counting path exists but is gated behind two flags, both off by default.
A new countEach helper can batch-count all tool definitions in a single model call instead of issuing one call per tool, for contextType === "full" contexts. This requires both the tengu_peppy_zephyr and tengu_context_usage_bulk_counts flags to be enabled, and both default to off, so the existing per-tool counting path remains in effect for now.
tengu_peppy_zephyr Off by default, switched on for this accountThe shipped code defaults this off, and the flag server returned on for the one account this site reads on this version. That is the reading that makes the entry above worth a second look, and it still says nothing about your account.
This account: on · anonymous baseline: on · compiled default in v2.1.261: off
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.
tengu_context_usage_bulk_counts Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.261: off
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.
Read once, for one account on one subscription tier, against v2.1.261. It isn't a statement about your account. What a flag value here can and cannot tell you
New in this build: tengu_context_usage_bulk_counts