Unbounded consumption and cost abuse
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
stop a single user from draining budget or capacity.
Planned topics
- Per-user and per-tenant quotas on requests, tokens, and spend per day.
- Input limits: maximum message length, attachment size, context size.
- Loop limits: maximum steps, tool calls, and wall-clock time per request.
- Alerts on cost per conversation and per user; a kill switch for the feature.
Draft outline details
Demonstration
config: maxInputChars, maxSteps, dailyTokensPerUser, and an alert on spend above a daily budget.
Check your understanding
Name two limits that bound a single conversation.
Show answer
Maximum steps and maximum tokens or time.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.