Identifying Cost Drivers in Microsoft Foundry Agents
Short answer
D Use token usage observability to identify whether additional costs are driven by model input size, model output size, or expanded tool usage in a high-traffic agent.
Question
After a recent update, operational costs increase significantly.
Monitoring confirms that the volume of user traffic to the agent remains unchanged.
You suspect that changes to the request or response characteristics are causing the increase. You need to identify whether the additional costs are driven by the model input size, the model output size, or expanded tool usage.
Which observability capability should you use?
Key Takeaways
Token usage is the primary driver of cost in AI agents; other metrics like latency or success rates do not directly correlate with billing.
Learn how to use token usage observability in Microsoft Foundry to pinpoint cost increases in high-traffic agents caused by input, output, or tool usage changes.
Common mistake: Choosing latency because it often increases with larger payloads, but it does not provide the token-level detail needed to attribute costs accurately.
Expert Analysis
The core of this question lies in understanding how Microsoft Foundry and Azure AI services calculate costs for agents. Costs are primarily driven by the volume of tokens processed (input, output, and tool usage). Therefore, to identify whether increased costs are due to larger inputs, larger outputs, or more extensive tool calls, you must examine token usage metrics.
Latency (Option A) measures response time, which correlates with computational effort but does not directly quantify token consumption. Evaluation metrics (Option B) assess quality and safety, not cost drivers. Run success rate (Option C) indicates operational health, not financial impact. Only token usage (Option D) provides the granular breakdown needed to attribute cost increases to specific components like input size, output size, or tool execution.
While latency might increase with larger payloads, it is an indirect signal. Token usage is the direct metric tied to billing. The community comments correctly highlight that token usage reveals input/output/tool token volume, making it the definitive observability capability for cost attribution in this scenario.
Exam Strategy
When troubleshooting cost issues in AI solutions, always look first at the resource that is billed per unit of consumption. For LLMs and agents, this is almost always tokens. Distinguish between performance metrics (latency, throughput) and usage metrics (tokens, API calls) to ensure you are addressing the root cause of financial overhead rather than just symptoms.
Frequently Asked Questions
Why isn't latency useful for identifying cost increases?
What specific data does token usage observability provide?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 2 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 2
-
RICHARDALEX007 👍 1 Answered D: Cost is driven by tokens, so token-usage observability reveals whether input size, output size, or expanded tool calls increased consumption. Latency (A), evaluation metrics (B), and run success rate (C) do not attribute cost to input/output/tool token volume.
-
DEEBOY 👍 1 Answered DToken usage reveals input size and output size
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AI-103 Questions
Access 88 questions with complete answers and detailed explanations.
View Full AI-103 Practice Test →