How Claude Tracks Its Own Reasoning Without a Token Counter
Anthropic's Claude API uses a two-layer system to enforce thinking budgets: a soft layer where the model learns to estimate its own token usage, and a hard layer in the inference engine that forcibly cuts off reasoning w…