Anthropic Capability minor

Task budgets launch in beta on Claude Opus 4.7

You can give Claude an advisory token budget covering a whole agentic loop — thinking, tool calls, tool results and output — and the model sees a countdown and prioritises accordingly. Requires the task-budgets-2026-03-13 beta header.

What does this mean for me?

  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Task budgets give you a way to cap spend across a whole agentic run rather than per response, which is the main lever for controlling runaway tool loops. It is beta and advisory, so treat it as a cost-predictability experiment on Opus 4.7 and 4.8 rather than a hard spend control.

  • Engineer

    What to change, what breaks, what to test Worth knowing

    Add the `task-budgets-2026-03-13` beta header and set a task budget to have the model see a countdown across thinking, tool calls, tool results and output on claude-opus-4-7 or claude-opus-4-8. It does not replace `max_tokens` and is advisory, so keep your own hard stops and test that long tool loops actually wrap up before the budget runs out.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — this is an API-only beta and does not change the Claude apps.

Task budgets differ from max_tokens: the budget spans the entire loop rather than one response, and it is advisory. The model is shown a running countdown and uses it to sequence work and wrap up gracefully as the budget is consumed.

Requests must include the task-budgets-2026-03-13 beta header. Support was extended to Claude Opus 4.8 on 2026-05-28.

API surface

ParameterChangeBreakingModels
anthropic-beta: task-budgets-2026-03-13addednoclaude-opus-4-7

Topics: Agents and tool use

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person