OutputTokenDetails#

class langsmith.schemas.OutputTokenDetails[source]#

Breakdown of output token counts.

Does not need to sum to full output token count. Does not need to have all keys.

audio: int#

Audio output tokens.

reasoning: int#

Reasoning output tokens.

Tokens generated by the model in a chain of thought process (i.e. by OpenAI’s o1 models) that are not returned as part of model output.