contextSize
Returns the maximum context size (in tokens) supported by the model.
Declaration
nonisolated(nonsending) final var contextSize: Int { get async throws }Discussion
The context size represents the total number of tokens that can be used in a single session, including both input prompts and generated responses.