---
title: reasoningTokenCount
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/languagemodelexecutorgenerationchannel/usage/output-swift.struct/reasoningtokencount
---

# reasoningTokenCount

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

## Declaration

```swift
var reasoningTokenCount: Int
```

## See Also

### Handling the output tokens

- [totalTokenCount](foundationmodels/languagemodelexecutorgenerationchannel/usage/output-swift.struct/totaltokencount.md)
