TTMSFNCCloudAIUsage Class
Aggregates token, audio duration, and audio character usage across requests.
API unit family: TMSFNCCloudAI
Inherits from: TPersistent
Syntax
TTMSFNCCloudAIUsage = class(TPersistent)
Properties
| Name | Description |
|---|---|
| AudioCharacters | Gets the accumulated number of characters submitted for audio generation. |
| AudioDuration | Gets the accumulated audio duration value reported by audio requests. |
| CompletionTokens | Gets the accumulated completion token count. |
| PromptTokens | Gets the accumulated prompt token count. |
| TotalTokens | Gets the accumulated total token count. |
Methods
| Name | Description |
|---|---|
| Reset | Resets all usage counters to zero. |