LanguageModelExecutorGenerationChannel.Usage
Snapshot of an entry’s token totals.
Declaration
struct UsageOverview
Producers report the current cumulative totals on every update, and consumers replace prior totals wholesale.
Topics
Creating a usage token instance
Updating the token counts
inputLanguageModelExecutorGenerationChannel.Usage.InputoutputLanguageModelExecutorGenerationChannel.Usage.Output
Accessing the metadata
See Also
Accessing the event types
LanguageModelExecutorGenerationChannel.MetadataLanguageModelExecutorGenerationChannel.ReasoningLanguageModelExecutorGenerationChannel.ReasoningSignatureLanguageModelExecutorGenerationChannel.TextFragmentLanguageModelExecutorGenerationChannel.TextSegmentReplacementLanguageModelExecutorGenerationChannel.ResponseLanguageModelExecutorGenerationChannel.ToolCalls