Skip to main content

Properties

inputTokens?: number

Number of tokens in the prompt/input.

outputTokens?: number

Number of tokens in the completion/output.

totalTokens?: number

Total token count (computed from input + output if omitted).