---
title: "ReasoningConfig"
---

Configuration for reasoning mode in the response


## Fields

| Field                                                                                                | Type                                                                                                 | Required                                                                                             | Description                                                                                          | Example                                                                                              |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `effort`                                                                                             | [OptionalNullable[components.ReasoningEffort]](../components/reasoningeffort.mdx)                     | :heavy_minus_sign:                                                                                   | N/A                                                                                                  | medium                                                                                               |
| `summary`                                                                                            | [OptionalNullable[components.ReasoningSummaryVerbosity]](../components/reasoningsummaryverbosity.mdx) | :heavy_minus_sign:                                                                                   | N/A                                                                                                  | auto                                                                                                 |
| `enabled`                                                                                            | *OptionalNullable[bool]*                                                                             | :heavy_minus_sign:                                                                                   | N/A                                                                                                  |                                                                                                      |
| `max_tokens`                                                                                         | *OptionalNullable[int]*                                                                              | :heavy_minus_sign:                                                                                   | N/A                                                                                                  |                                                                                                      |