diff --git a/src/groq/resources/chat/completions.py b/src/groq/resources/chat/completions.py index ea0636d..b5f45e6 100644 --- a/src/groq/resources/chat/completions.py +++ b/src/groq/resources/chat/completions.py @@ -70,6 +70,7 @@ def create( "openai/gpt-oss-20b", "qwen/qwen3-32b", "qwen/qwen3.6-27b", + "qwen/qwen3.8-27b", ], ], citation_options: Optional[Literal["enabled", "disabled"]] | Omit = omit, @@ -378,8 +379,11 @@ def create( Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. - reasoning_effort: qwen3 models support the following values Set to 'none' to disable reasoning. - Set to 'default' or null to let Qwen reason. + reasoning_effort: qwen3 models support `none` to disable reasoning and `default` or null + to use the model default. + + qwen/qwen3.8-27b additionally supports `low`, `medium`, and `high`. Its default + is `medium`; `high` selects the model's native `xhigh` mode. openai/gpt-oss-20b and openai/gpt-oss-120b support 'low', 'medium', or 'high'. 'medium' is the default value. @@ -739,6 +743,7 @@ async def create( "openai/gpt-oss-20b", "qwen/qwen3-32b", "qwen/qwen3.6-27b", + "qwen/qwen3.8-27b", ], ], citation_options: Optional[Literal["enabled", "disabled"]] | Omit = omit, @@ -859,8 +864,11 @@ async def create( Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. - reasoning_effort: qwen3 models support the following values Set to 'none' to disable reasoning. - Set to 'default' or null to let Qwen reason. + reasoning_effort: qwen3 models support `none` to disable reasoning and `default` or null + to use the model default. + + qwen/qwen3.8-27b additionally supports `low`, `medium`, and `high`. Its default + is `medium`; `high` selects the model's native `xhigh` mode. openai/gpt-oss-20b and openai/gpt-oss-120b support 'low', 'medium', or 'high'. 'medium' is the default value. diff --git a/src/groq/types/chat/completion_create_params.py b/src/groq/types/chat/completion_create_params.py index f75dfb4..247f30e 100644 --- a/src/groq/types/chat/completion_create_params.py +++ b/src/groq/types/chat/completion_create_params.py @@ -54,6 +54,7 @@ class CompletionCreateParams(TypedDict, total=False): "openai/gpt-oss-20b", "qwen/qwen3-32b", "qwen/qwen3.6-27b", + "qwen/qwen3.8-27b", ], ] ] @@ -183,8 +184,11 @@ class CompletionCreateParams(TypedDict, total=False): reasoning_effort: Optional[Literal["none", "default", "low", "medium", "high"]] """ - qwen3 models support the following values Set to 'none' to disable reasoning. - Set to 'default' or null to let Qwen reason. + qwen3 models support `none` to disable reasoning and `default` or null to use + the model default. + + qwen/qwen3.8-27b additionally supports `low`, `medium`, and `high`. Its default + is `medium`; `high` selects the model's native `xhigh` mode. openai/gpt-oss-20b and openai/gpt-oss-120b support 'low', 'medium', or 'high'. 'medium' is the default value.