Skip to main content
TealMonitor v2 provides governance-owned cost controls — cost limits that cannot be bypassed by application code, anomaly detection that identifies unusual spending patterns, reasoning-token budgets for chain-of-thought models, and per-agent cost attribution for multi-agent systems.
TealMonitor v2 addresses OWASP ASI-06 (Excessive Resource Consumption) — the risk that AI agents consume unbounded compute, token, or API resources through runaway loops, prompt injection, or misconfiguration.

Why This Matters

Compliance alignment: NIST AI RMF (GOVERN 2.3 — resource allocation), ISO 42001 (A.6.2.6 — resource management), SOC 2 CC6.6 (system operations).

Class


MonitorOptions


evaluate()

Evaluate cost governance before a request is sent to the model.

CostDecision


Cost Anomaly Detection

TealMonitor v2 builds a spending baseline and detects anomalies in real-time:

Anomaly Dimensions


Reasoning-Token Budgets

For models with hidden reasoning tokens (o1, o3), TealMonitor v2 enforces budgets on the reasoning compute:

Per-Agent Attribution

Track costs per agent with team/department grouping:

Recording Actual Costs

After a request completes, record the actual cost for accurate tracking:

Integration with TealEngine