Class CompletionTokensDetails
Output token details for the completion. This includes tokens generated by the model, reasoning tokens, and tokens from predicted outputs.
Inheritance
object
CompletionTokensDetails
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class CompletionTokensDetails
Properties
AcceptedPredictionTokens
When using Predicted Outputs, the number of tokens in the prediction that appeared in the completion.
Declaration
public int AcceptedPredictionTokens { get; set; }
Property Value
Type | Description |
---|---|
int |
AudioTokens
Audio input tokens generated by the model.
Declaration
public int AudioTokens { get; set; }
Property Value
Type | Description |
---|---|
int |
ReasoningTokens
Tokens generated by the model for reasoning.
Declaration
public int ReasoningTokens { get; set; }
Property Value
Type | Description |
---|---|
int |
RejectedPredictionTokens
When using Predicted Outputs, the number of tokens in the prediction that did not appear in the completion. However, like reasoning tokens, these tokens are still counted in the total completion tokens for purposes of billing, output, and context window limits.
Declaration
public int RejectedPredictionTokens { get; set; }
Property Value
Type | Description |
---|---|
int |