Cost Forecast
cost_forecastProject LLM spend burn rate and budget runway from recent cost records. Extrapolates to budget to return days of runway and exhaustion date.
Instructions
Project LLM spend burn rate and budget runway for the active tenant.
Derives a recent burn rate from persisted cost records and extrapolates
to the configured budget, returning projected period spend, days of
runway, and an exhaustion date. Reference only: a forecast never blocks a
call and returns a clear status with null projections on sparse history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Optional agent name to scope the forecast to a single agent. | |
| tenant_id | No | Tenant scope to forecast. Defaults to the control-plane default tenant. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |