Configuration for extended thinking.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ThinkingConfig", "title": "ThinkingConfig", "type": "object", "description": "Configuration for extended thinking.", "required": [ "type" ], "properties": { "type": { "type": "string", "description": "Whether thinking is enabled, disabled, or adaptive.", "enum": [ "enabled", "disabled", "adaptive" ], "example": "enabled" }, "budget_tokens": { "type": "integer", "description": "Maximum number of tokens for thinking. Minimum 1024 and must be less than max_tokens.", "minimum": 1024, "example": 10 } } }