# Extended Thinking

Configure extended thinking for models that support chain-of-thought reasoning. The `thinking` parameter allows you to control how reasoning tokens are generated and returned.

{% content-ref url="<https://app.gitbook.com/s/Z9C9AjT7j46HAcQrOVWw/features/reasoning-and-thinking>" %}
[Reasoning & Thinking](https://app.gitbook.com/s/Z9C9AjT7j46HAcQrOVWw/features/reasoning-and-thinking)
{% endcontent-ref %}
