@@ -68,6 +68,7 @@ def create(
6868 n : Optional [int ] | NotGiven = NOT_GIVEN ,
6969 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
7070 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
71+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
7172 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
7273 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
7374 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -110,6 +111,7 @@ def create(
110111 n : Optional [int ] | NotGiven = NOT_GIVEN ,
111112 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
112113 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
114+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
113115 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
114116 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
115117 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -152,6 +154,7 @@ def create(
152154 n : Optional [int ] | NotGiven = NOT_GIVEN ,
153155 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
154156 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
157+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
155158 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
156159 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
157160 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -203,6 +206,7 @@ def create(
203206 n : Optional [int ] | NotGiven = NOT_GIVEN ,
204207 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
205208 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
209+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
206210 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
207211 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
208212 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -285,6 +289,9 @@ def create(
285289 whether they appear in the text so far, increasing the model's likelihood to
286290 talk about new topics.
287291
292+ reasoning_effort: this field is only available for qwen3 models. Set to 'none' to disable
293+ reasoning. Set to 'default' or null to let Qwen reason.
294+
288295 reasoning_format: Specifies how to output reasoning tokens
289296
290297 response_format: An object specifying the format that the model must output. Setting to
@@ -377,6 +384,7 @@ def create(
377384 "n" : n ,
378385 "parallel_tool_calls" : parallel_tool_calls ,
379386 "presence_penalty" : presence_penalty ,
387+ "reasoning_effort" : reasoning_effort ,
380388 "reasoning_format" : reasoning_format ,
381389 "response_format" : response_format ,
382390 "search_settings" : search_settings ,
@@ -442,6 +450,7 @@ async def create(
442450 n : Optional [int ] | NotGiven = NOT_GIVEN ,
443451 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
444452 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
453+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
445454 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
446455 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
447456 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -484,6 +493,7 @@ async def create(
484493 n : Optional [int ] | NotGiven = NOT_GIVEN ,
485494 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
486495 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
496+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
487497 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
488498 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
489499 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -526,6 +536,7 @@ async def create(
526536 n : Optional [int ] | NotGiven = NOT_GIVEN ,
527537 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
528538 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
539+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
529540 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
530541 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
531542 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -577,6 +588,7 @@ async def create(
577588 n : Optional [int ] | NotGiven = NOT_GIVEN ,
578589 parallel_tool_calls : Optional [bool ] | NotGiven = NOT_GIVEN ,
579590 presence_penalty : Optional [float ] | NotGiven = NOT_GIVEN ,
591+ reasoning_effort : Optional [Literal ["none" , "default" ]] | NotGiven = NOT_GIVEN ,
580592 reasoning_format : Optional [Literal ["hidden" , "raw" , "parsed" ]] | NotGiven = NOT_GIVEN ,
581593 response_format : Optional [completion_create_params .ResponseFormat ] | NotGiven = NOT_GIVEN ,
582594 search_settings : Optional [completion_create_params .SearchSettings ] | NotGiven = NOT_GIVEN ,
@@ -659,6 +671,9 @@ async def create(
659671 whether they appear in the text so far, increasing the model's likelihood to
660672 talk about new topics.
661673
674+ reasoning_effort: this field is only available for qwen3 models. Set to 'none' to disable
675+ reasoning. Set to 'default' or null to let Qwen reason.
676+
662677 reasoning_format: Specifies how to output reasoning tokens
663678
664679 response_format: An object specifying the format that the model must output. Setting to
@@ -751,6 +766,7 @@ async def create(
751766 "n" : n ,
752767 "parallel_tool_calls" : parallel_tool_calls ,
753768 "presence_penalty" : presence_penalty ,
769+ "reasoning_effort" : reasoning_effort ,
754770 "reasoning_format" : reasoning_format ,
755771 "response_format" : response_format ,
756772 "search_settings" : search_settings ,
0 commit comments