Token Budget
Know what a task will cost before the agent starts.
Set context size, expected output and iterations. Edit the prices to match your model. Values are saved in this browser.
Scenarios
| Case | Iterations | Input tokens | Output tokens | Cost |
|---|
How it works
The model behind the numbers
Lean uses 60% of the context and 60% of the iterations, with no retries. Normal uses your inputs plus the retry allowance. Worst case uses 160% context, double the iterations and at least 50% retries.

Cost =input tokens × input price + output tokens × output price, per iteration, multiplied by iterations and retries. These are planning estimates, not invoices.
