# Cost Forecast

Quotes a task's cost before it runs and stops for your OK when it would go over budget.

- Type: Plugin
- Version: 0.1.0
- Updated: 22 Nov 2026
- Publisher: mr-jude-justin
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Quotes a task's cost before it runs and stops for your OK when it would go over budget. Before a task starts it estimates the number of model calls and tokens (P50 and P90), prices them at your model's rates, and shows a quote when the task is large or could exceed your per-task cap.

While the task runs it costs every call (subagents included), re-forecasts after each call, and pauses or stops at the soft cap, hard limit or daily cap. Estimates learn from your own finished tasks.

API-key users only. Disclosure — fetches public prices from https://models.dev/api.json on a short background thread, at most once a day when the fetch succeeds (it retries on later lookups after a failure); if the optional cheap-model estimate (l3_mode, off by default, needs the llm.model_override grant) is on, one extra short call per quote sends up to 1,500 characters of your message through Ulpi to your own provider; stores spend, task history (message text removed, only hashed word counts kept), learned coefficients and, for up to 30 minutes, the text of a request held for your OK in a SQLite database under $ULPI_HOME/plugin-data/cost-forecast/; reads model.provider and agent.reasoning_effort from your config and whether the working directory is inside a git repo (a.git check, no commands); no credentials, no shell commands, no telemetry.

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [cost-sentinel](https://www.ulpi.io/en/marketplace/plugins/cost-sentinel): Live cost ledger and daily budget guarddog for Ulpi, per profile or fleet-wide.
- [CostGuard](https://www.ulpi.io/en/marketplace/plugins/costguard): A brake pedal for model spend.
- [Costory FinOps Agent](https://www.ulpi.io/en/marketplace/plugins/costory-finops-agent): FinOps harness MCP for platform teams.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
