---
title: LanguageModelExecutorGenerationChannel.Usage.Input
framework: foundationmodels
role: symbol
role_heading: Structure
path: foundationmodels/languagemodelexecutorgenerationchannel/usage/input-swift.struct
---

# LanguageModelExecutorGenerationChannel.Usage.Input

Token counts for the transcript submitted to the model.

## Declaration

```swift
struct Input
```

## Topics

### Creating an input instance

- [init(totalTokenCount:cachedTokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/usage/input-swift.struct/init(totaltokencount:cachedtokencount:).md)

### Handling the input tokens

- [totalTokenCount](foundationmodels/languagemodelexecutorgenerationchannel/usage/input-swift.struct/totaltokencount.md)
- [cachedTokenCount](foundationmodels/languagemodelexecutorgenerationchannel/usage/input-swift.struct/cachedtokencount.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Updating the token counts

- [input](foundationmodels/languagemodelexecutorgenerationchannel/usage/input-swift.property.md)
- [output](foundationmodels/languagemodelexecutorgenerationchannel/usage/output-swift.property.md)
- [LanguageModelExecutorGenerationChannel.Usage.Output](foundationmodels/languagemodelexecutorgenerationchannel/usage/output-swift.struct.md)
