CompletionTokensDetails
autogen.oai.oai_models.completion_usage.CompletionTokensDetails #
Bases: BaseModel
accepted_prediction_tokens class-attribute
instance-attribute
#
When using Predicted Outputs, the number of tokens in the prediction that appeared in the completion.
audio_tokens class-attribute
instance-attribute
#
Audio input tokens generated by the model.
reasoning_tokens class-attribute
instance-attribute
#
Tokens generated by the model for reasoning.
rejected_prediction_tokens class-attribute
instance-attribute
#
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.