> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TaskBudget

Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize work and wind down gracefully. Advisory — does not enforce a hard cap.

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `Remaining` | optionalnullable.OptionalNullable\[`int64`] | ➖ | N/A |
| `Total` | `int64` | ✅ | N/A |
| `Type` | [components.TypeTokens](../../models/components/typetokens.mdx) | ✅ | N/A |
