Operating, Monitoring, and Securing ML and AI Solutions
An agent's monthly costs rise while session counts and input tokens per model call stay flat. The bill shows higher charges for the Lambda functions and outside APIs the agent uses. Which metric should the team track to confirm the cause?
Show the answer
Correct answerA. Tool invocations per session
AWhy this is right: Counting tool invocations within each session shows whether the agent now calls its tools more often.
BWhy not this: Memory utilization tracks runtime resource use, not the Lambda and API charges that rose.
CWhy not this: Latency measures how long model calls take, not how often the agent calls tools.
DWhy not this: Output tokens drive model charges, but the increase is in Lambda and outside API charges.
Higher Lambda and API charges with flat sessions and input tokens point to more tool calls per interaction, which tool invocations per session measures directly. Output tokens and memory track model and runtime cost, and latency is a speed signal rather than a count of tool use.