Table of Contents

Class UsageResponse

Namespace
OpenAI.ObjectModels.ResponseModels
Assembly
AntRunnerLib.dll
public class UsageResponse : IEquatable<UsageResponse>
Inheritance
System.Object
UsageResponse
Implements
System.IEquatable<UsageResponse>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Properties

CompletionTokens

[JsonPropertyName("completion_tokens")]
public int? CompletionTokens { get; set; }

Property Value

System.Nullable<System.Int32>

PromptTokens

[JsonPropertyName("prompt_tokens")]
public int PromptTokens { get; set; }

Property Value

System.Int32

TotalTokens

[JsonPropertyName("total_tokens")]
public int TotalTokens { get; set; }

Property Value

System.Int32