Contents

reasoningTokenCount

The number of output tokens that were part of the model’s reasoning output.

Declaration

var reasoningTokenCount: Int

Discussion

This value will always be less than or equal to totalTokenCount. A non-zero value requires the model to declare the reasoning capability.

See Also

Getting the token count