<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/ContextOptions/ReasoningLevel-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels14ContextOptionsV14ReasoningLevelO"
  },
  "title" : "ContextOptions.ReasoningLevel"
}
-->

# ContextOptions.ReasoningLevel

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

```
enum ReasoningLevel
```

## Topics

### Reasoning level cases

[`ContextOptions.ReasoningLevel.deep`](/documentation/FoundationModels/ContextOptions/ReasoningLevel-swift.enum/deep)

A level that indicates deep reasoning that’s good for more analysis over a request.

[`ContextOptions.ReasoningLevel.light`](/documentation/FoundationModels/ContextOptions/ReasoningLevel-swift.enum/light)

A level that indicates light reasoning that’s good for quick responses.

[`ContextOptions.ReasoningLevel.moderate`](/documentation/FoundationModels/ContextOptions/ReasoningLevel-swift.enum/moderate)

A level that indicates a moderate amount of reasoning.

[`ContextOptions.ReasoningLevel.custom(_:)`](/documentation/FoundationModels/ContextOptions/ReasoningLevel-swift.enum/custom(_:))

A custom level that indicates a level not supported by the other cases.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)