CompletionUsage
autogen.oai.oai_models.completion_usage.CompletionUsage #
Bases: BaseModel
completion_tokens instance-attribute #
Number of tokens in the generated completion.
total_tokens instance-attribute #
Total number of tokens used in the request (prompt + completion).
completion_tokens_details class-attribute instance-attribute #
Breakdown of tokens used in a completion.
prompt_tokens_details class-attribute instance-attribute #
Breakdown of tokens used in the prompt.