Table of Contents

Class TokenUsageDetails

Namespace
OpenAI.Realtime
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")]
public int? AudioTokens { get; }

Property Value

int?

CachedTokens

The number of cached tokens used in the Response.

[JsonInclude]
[JsonPropertyName("cached_tokens")]
public int? CachedTokens { get; }

Property Value

int?

ImageTokens

[JsonInclude]
[JsonPropertyName("image_tokens")]
public int? ImageTokens { get; }

Property Value

int?

TextTokens

The number of text tokens used in the Response.

[JsonInclude]
[JsonPropertyName("text_tokens")]
public int? TextTokens { get; }

Property Value

int?