| title | ModelReasoning |
|---|
Reasoning effort configuration. Omitted for non-reasoning models and dynamic router models.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
default_effort |
OptionalNullable[components.DefaultEffort] | ➖ | N/A | medium |
default_enabled |
Optional[bool] | ➖ | Default reasoning enabled state when the client does not set reasoning.enabled. |
|
mandatory |
bool | ✔️ | When true, reasoning cannot be disabled and effort "none" is rejected. | |
supported_efforts |
List[Nullable[components.ReasoningEffort]] | ➖ | Allowed reasoning effort values for this model, in descending effort order (highest first). Null means no allowlist — all gateway effort values are accepted. | |
supports_max_tokens |
Optional[bool] | ➖ | Present and true when the model accepts reasoning.max_tokens in requests (Anthropic-style) instead of or in addition to reasoning.effort. Omitted otherwise. |