Skip to main content
Set a hard daily spending limit of $10 across all agent LLM calls. When the budget is 80% consumed, TealEngine triggers an alert. When exceeded, all subsequent requests are denied until the next day.

Policy JSON

What It Does

  • Tracks cumulative daily spend across all LLM API calls made through the agent
  • Alerts at 80% ($8.00) — logged to TealAudit and available via webhook
  • Denies requests at 100% ($10.00) — no further LLM calls until the budget resets
  • Budget resets at midnight UTC by default

Example

Agent makes a request when $9.50 has been spent today: Decision object:

Install

Customize

Use DEGRADE instead of DENY to automatically switch to cheaper models when the budget is nearly exhausted. Combine with Model Tier Enforcement for automatic downgrade behavior.