Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Better reading of token counts from "prompt is too long" errors

Claude Code can now read the token count and limit from more wordings of the "prompt is too long" error

You'll notice Bug Fixes
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
API ErrorsArea: what it touches
Bug FixesKind: in v2.1.333,
Bug FixesSection of the release
What

When a request is too large for the model, the API answers with a "prompt is too long" error that states how many tokens were sent and what the limit is. Tokens are the small chunks of text the model counts its input in. Claude Code reads those two numbers out of the error text. It now copes with more wordings between the phrase and the numbers, and it will not run on into a second copy of the phrase in the same message.

Why

Claude Code uses these numbers to recover when a conversation grows too big. Reading them from more error formats means that recovery works in more cases.

See this entry in the whole of v2.1.333 →

Feedback