Class TokenUsageDetails
- Namespace
- OpenAI
- Assembly
- OpenAI-DotNet.dll
public sealed class TokenUsageDetails
- Inheritance
-
TokenUsageDetails
- Inherited Members
Properties
AudioTokens
The number of audio tokens used in the Response.
[JsonInclude]
[JsonPropertyName("audio_tokens")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? AudioTokens { get; }
Property Value
- int?
CachedTokens
The number of cached tokens used in the Response.
[JsonInclude]
[JsonPropertyName("cached_tokens")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? CachedTokens { get; }
Property Value
- int?
ImageTokens
The number of image tokens used in the Response.
[JsonInclude]
[JsonPropertyName("image_tokens")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? ImageTokens { get; }
Property Value
- int?
ReasoningTokens
The number of image tokens used in the Response.
[JsonInclude]
[JsonPropertyName("reasoning_tokens")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? ReasoningTokens { get; }
Property Value
- int?
TextTokens
The number of text tokens used in the Response.
[JsonInclude]
[JsonPropertyName("text_tokens")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? TextTokens { get; }
Property Value
- int?