Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 5.79 KB

modelreasoning.mdx

File metadata and controls

16 lines (12 loc) · 5.79 KB
title ModelReasoning

Reasoning effort configuration. Omitted for non-reasoning models and dynamic router models.

Fields

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.