Indicates the thinking level.
Possible values (support varies by model):
* 'minimal': Lowest available reasoning depth.
* 'low': Minimizes latency and cost.
* 'medium': Balances latency/cost with reasoning depth.
* 'high': Maximizes reasoning depth.
Check the model profile's reasoning_effort_levels and
reasoning_effort_default fields for model-specific support. If those fields are
unavailable, consult the upstream
Gemini API docs.
thinking_budgetthinking_budget is deprecated for Gemini 3+ models. If both parameters are
provided, this field takes precedence.
If left unspecified, the model's default thinking level is used.
thinking_level aliasthinking_level -- Gemini's own native name for this setting -- is also
accepted as an alias for this field, at both construction and call time.
If both thinking_level and reasoning_effort are set, thinking_level
wins (Pydantic's alias-resolution precedence). Use reasoning_effort or
thinking_level interchangeably to read the value back.