token_budget
autogen.beta.eval.scorers.cost.token_budget #
Pass iff a task's total input + output tokens stay at or under max_tokens.
The check is per task — trace.tokens.total is one task's usage. Cache tokens are excluded; they're reported separately on :class:~autogen.beta.eval.trace.TokenUsage and priced differently by most providers. This emits a pass/fail signal into the run's pass-rate aggregate; for the same per-task limit recorded as a dedicated budget_violation count instead, use :class:~autogen.beta.eval.BudgetThresholds (also observational — neither aborts the run).