Skip to main content
Version: v1.1.0
This page documents behavior guaranteed in TealTiger v1.1.0. Every TealTiger audit event includes standardized cost metadata, making it easy to track spending across your AI applications.

Why cost metadata matters

AI costs can spiral quickly. TealTiger automatically tracks:
  • Estimated costs - Before making the API call
  • Actual costs - After the response
  • Budget tracking - How much budget remains
  • Cost attribution - Which model, user, or request spent what
This data flows into your audit logs, making cost analysis straightforward.

Standard cost fields

Every audit event includes these cost fields:

Complete example

Here’s what cost metadata looks like in a real audit event:

Using cost metadata

Track spending by user

Monitor budget usage

Analyze costs by model


Cost risk scores

TealTiger calculates a cost risk score (0-100) based on:
  • Budget proximity - How close to the limit
  • Spending velocity - Rate of spend increase
  • Historical patterns - Unusual spending behavior
  • Model tier - Premium models = higher risk

Best practices

  1. Set realistic budgets - Start conservative, adjust based on data
  2. Monitor daily - Check cost trends in your audit logs
  3. Alert on thresholds - Set up alerts at 80% budget usage
  4. Analyze by dimension - Break down costs by user, model, feature
  5. Review monthly - Look for optimization opportunities

Audit Event Schema

Complete audit event structure

Logging Behavior

How TealTiger emits logs

Stop Budget Runaway

Prevent cost overruns

Decision Model

How decisions work