Formula
Base tokens = source/prompt + instructions/context + expected output. Budget per task = base tokens × (1 + retry allowance). Total = budget per task × task count.
What the result means
This budget measures text tokens processed around the task. It is useful for context-window planning and token-priced model costs, but it does not convert image pixels or diffusion steps into tokens.
Planning estimate only. Validate the result against production telemetry and current provider pricing before committing capacity or budget.