SpeechStreamUsage
Namespace: Vercel.AI.Operations
public sealed class SpeechStreamUsageUsage of a speech stream call. Every field is optional because providers bill speech in different units.
Inheritance: object
Properties
Section titled “Properties”InputCharacters
Section titled “InputCharacters”public int? InputCharacters { get; set; }Number of input text characters (Unicode code points) sent for synthesis, if known.
Value: int?
InputTokens
Section titled “InputTokens”public int? InputTokens { get; set; }Number of input text tokens, if reported.
Value: int?
OutputTokens
Section titled “OutputTokens”public int? OutputTokens { get; set; }Number of output audio tokens, if reported.
Value: int?
public JsonElement? Raw { get; set; }Raw usage information from the provider, in the shape the provider returns it.
Value: JsonElement?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product