Share via


RunStepCompletionUsageOutput interface

Usage statistics related to the run step.

Properties

completionTokens

Number of completion tokens used over the course of the run step.

promptTokens

Number of prompt tokens used over the course of the run step.

totalTokens

Total number of tokens used (prompt + completion).

Property Details

completionTokens

Number of completion tokens used over the course of the run step.

completionTokens: number

Property Value

number

promptTokens

Number of prompt tokens used over the course of the run step.

promptTokens: number

Property Value

number

totalTokens

Total number of tokens used (prompt + completion).

totalTokens: number

Property Value

number