Limit individual AI agent requests to $1 with pre-execution cost estimation.
Cap the cost of any single LLM request at $1. TealEngine estimates the cost before execution based on input token count and model pricing, denying requests that would exceed the limit.
Maximum cost per request in USD. Common values: 0.10, 0.50, 1.00, 5.00
action_on_exceed
DENY
Action when limit is exceeded. Options: DENY, DEGRADE, MONITOR
estimate_before_execution
true
Estimate cost before sending to LLM. Set to false for post-execution tracking only
Cost estimation is based on input token count and model pricing tables. Actual costs may vary slightly due to output token variability. Set your limit with a small buffer to account for estimation variance.