@@ -169,16 +169,17 @@ def create(
169169
170170 reasoning_effort: Constrains effort on reasoning for
171171 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
172- supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
173- reasoning effort can result in faster responses and fewer tokens used on
174- reasoning in a response.
172+ supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.
173+ Reducing reasoning effort can result in faster responses and fewer tokens used
174+ on reasoning in a response.
175175
176176 - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
177177 reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
178178 calls are supported for all reasoning values in gpt-5.1.
179179 - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
180180 support `none`.
181181 - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
182+ - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
182183
183184 response_format: Specifies the format that the model must output. Compatible with
184185 [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -330,16 +331,17 @@ def create(
330331
331332 reasoning_effort: Constrains effort on reasoning for
332333 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
333- supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
334- reasoning effort can result in faster responses and fewer tokens used on
335- reasoning in a response.
334+ supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.
335+ Reducing reasoning effort can result in faster responses and fewer tokens used
336+ on reasoning in a response.
336337
337338 - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
338339 reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
339340 calls are supported for all reasoning values in gpt-5.1.
340341 - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
341342 support `none`.
342343 - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
344+ - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
343345
344346 response_format: Specifies the format that the model must output. Compatible with
345347 [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -487,16 +489,17 @@ def create(
487489
488490 reasoning_effort: Constrains effort on reasoning for
489491 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
490- supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
491- reasoning effort can result in faster responses and fewer tokens used on
492- reasoning in a response.
492+ supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.
493+ Reducing reasoning effort can result in faster responses and fewer tokens used
494+ on reasoning in a response.
493495
494496 - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
495497 reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
496498 calls are supported for all reasoning values in gpt-5.1.
497499 - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
498500 support `none`.
499501 - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
502+ - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
500503
501504 response_format: Specifies the format that the model must output. Compatible with
502505 [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -1620,16 +1623,17 @@ async def create(
16201623
16211624 reasoning_effort: Constrains effort on reasoning for
16221625 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1623- supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
1624- reasoning effort can result in faster responses and fewer tokens used on
1625- reasoning in a response.
1626+ supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.
1627+ Reducing reasoning effort can result in faster responses and fewer tokens used
1628+ on reasoning in a response.
16261629
16271630 - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
16281631 reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
16291632 calls are supported for all reasoning values in gpt-5.1.
16301633 - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
16311634 support `none`.
16321635 - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1636+ - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
16331637
16341638 response_format: Specifies the format that the model must output. Compatible with
16351639 [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -1781,16 +1785,17 @@ async def create(
17811785
17821786 reasoning_effort: Constrains effort on reasoning for
17831787 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1784- supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
1785- reasoning effort can result in faster responses and fewer tokens used on
1786- reasoning in a response.
1788+ supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.
1789+ Reducing reasoning effort can result in faster responses and fewer tokens used
1790+ on reasoning in a response.
17871791
17881792 - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
17891793 reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
17901794 calls are supported for all reasoning values in gpt-5.1.
17911795 - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
17921796 support `none`.
17931797 - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1798+ - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
17941799
17951800 response_format: Specifies the format that the model must output. Compatible with
17961801 [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -1938,16 +1943,17 @@ async def create(
19381943
19391944 reasoning_effort: Constrains effort on reasoning for
19401945 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1941- supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
1942- reasoning effort can result in faster responses and fewer tokens used on
1943- reasoning in a response.
1946+ supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`.
1947+ Reducing reasoning effort can result in faster responses and fewer tokens used
1948+ on reasoning in a response.
19441949
19451950 - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
19461951 reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
19471952 calls are supported for all reasoning values in gpt-5.1.
19481953 - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
19491954 support `none`.
19501955 - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1956+ - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
19511957
19521958 response_format: Specifies the format that the model must output. Compatible with
19531959 [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
0 commit comments