AIUsage Properties |
The AIUsage type exposes the following members.
| Name | Description | |
|---|---|---|
| Calls | Number of AI model API calls (LLM round-trips). | |
| InputTokens | Input (prompt) tokens consumed, including cached tokens when the API reports them separately. | |
| OutputTokens | Output (completion) tokens generated. | |
| ToolCalls | Number of tool calls executed (including skill loads). Only maintained at the agent level. | |
| TotalTokens | Total tokens (input + output). |