Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.28 Home All releases olderv2.0.27 v2.0.29newer
Claude Code v2.0.28

Token Budget Capping

What: API requests now respect a token budget cap, adjusting both max_tokens and thinking budget_tokens when needed.

Details:

  • New function ensures total tokens don't exceed specified budget
  • Reduces thinking budget proportionally when capping is needed
  • Prevents thinking budget from consuming all available tokens
  • Evidence: New function pb6() at line 460609

See this entry in the whole of v2.0.28 →