---
title: reasoningLevel
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/contextoptions/reasoninglevel-swift.property
---

# reasoningLevel

Controls the amount of thinking that the model is allowed to output before producing a response.

## Declaration

```swift
var reasoningLevel: ContextOptions.ReasoningLevel?
```

## See Also

### Configuring the reasoning level

- [ContextOptions.ReasoningLevel](foundationmodels/contextoptions/reasoninglevel-swift.enum.md)
