# cost-sentinel

Live cost ledger and daily budget guarddog for Ulpi, per profile or fleet-wide.

- Type: Plugin
- Version: 1.0.0
- Updated: 22 Nov 2026
- Publisher: SongotenU
- Category: Tools

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

## What it does

Live cost ledger and daily budget guarddog for Ulpi, per profile or fleet-wide — every LLM call is priced with Ulpi's own pricing engine into a per-profile SQLite ledger plus a shared fleet ledger (all profiles of the install roll into one daily number); /cost rules the budget (set, block, warn, off, scope fleet or profile, resume, reset), the cost_report tool lets the agent read it, and the hard pre_llm_call gate stops an over-budget turn with an escape-hatch message. Desktop pane shows the gate number (fleet or profile) with a spend ring, per-model and per-day breakdowns and a status-bar budget chip.

Disclosure — writes a per-profile SQLite ledger and a ledger shared by every profile of the install at \<default ulpi root\>/plugin-data/cost-sentinel/fleet.db, which also holds the daily budget settings, so /cost set, block, resume or reset in any profile changes the budget for all profiles; rows store tokens, cost, model/provider, session/turn/request ids, platform and error type plus the first 400 characters of provider error messages, never prompt, response or tool-argument text; the hard gate is off by default, is checked once before each turn (a turn already running can overshoot), and counts calls Ulpi cannot price as $0; no network of its own (pricing goes through the host pricing engine), no MCP, shell, credentials or telemetry.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `cost_report`

## 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

- [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.
- [Counterparty](https://www.ulpi.io/en/marketplace/plugins/counterparty): Screens the companies your agent is about to pay, email, sign with or buy from.

[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)
