Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.257 ·

Usage tracking gains a thinkingTokens field

Token usage now records thinking tokens, already counted within output tokens, on turns from builds that log it.

Under the hood Internal Changes
JSON All of v2.1.257
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Context UsageArea: what it touches
Internal ChangesKind: in v2.1.257,
Internal ChangesSection of the release

The token-usage schema now records a thinkingTokens field, which is already counted inside outputTokens. This is only populated for turns run on CLI versions that record the field, so it may be partially populated for sessions resumed from older versions.

Read from
Names in the bundlethinkingTokens
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up thinkingTokens, on Agent SDK reference - Python. | `thinkingTokens` | `int` | Thinking tokens generated by this model, already counted in `outputTokens`. Absent until a turn runs on a Claude Code version that records it, and not declared on the TypedDict, so read it with `.get()`. Requir… agent-sdk/python see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up thinkingTokens, on Agent SDK reference - Python.

See this entry in the whole of v2.1.257 →

Feedback