Skip to content

Usage

autogen.beta.events.types.Usage dataclass #

Usage(prompt_tokens=None, completion_tokens=None, total_tokens=None, cache_read_input_tokens=None, cache_creation_input_tokens=None)

Token usage normalized across beta LLM providers.

prompt_tokens class-attribute instance-attribute #

prompt_tokens = None

completion_tokens class-attribute instance-attribute #

completion_tokens = None

total_tokens class-attribute instance-attribute #

total_tokens = None

cache_read_input_tokens class-attribute instance-attribute #

cache_read_input_tokens = None

cache_creation_input_tokens class-attribute instance-attribute #

cache_creation_input_tokens = None