For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Type Alias: AgentInstanceMetrics

type AgentInstanceMetrics = object;

Aggregated metrics for an agent instance across all model calls.

Properties​

cacheCreationTokenCount​

cacheCreationTokenCount: number;

Total tokens used to create prompt cache entries across all model calls.


cacheReadTokenCount​

cacheReadTokenCount: number;

Total tokens read from prompt cache across all model calls.


inputTokens​

inputTokens: number;

Total input tokens consumed across all model calls.


modelCalls​

modelCalls: number;

Total number of LLM calls made.


outputTokens​

outputTokens: number;

Total output tokens produced across all model calls.


reasoningTokenCount​

reasoningTokenCount: number;

Total reasoning tokens consumed across all model calls.


toolCalls​

toolCalls: number;

Total number of tool calls made.