Hi Mateusz Mateusz,
In Azure, the reasoning_effort and verbosity parameters are not supported for the standard gpt-5-chat model when using the 2025-04-01-preview API version, which is why you are seeing the “Unrecognized request argument” error. These parameters are currently only available for GPT-5 reasoning models that are specifically deployed through Azure AI Foundry and accessed via the reasoning-enabled API. If you need to use these capabilities, you will need to create and deploy a GPT-5 reasoning model in Azure AI Foundry, where you can specify values such as minimal, low, medium, or high for reasoning effort, and low, medium, or high for verbosity. Standard GPT-5 chat deployments in Azure do not currently accept these parameters.
Does GPT-5 via Azure support reasoning effort and verbosity?
Hi All,
I was having some issues trying to access some of the request parameters for the new gpt-5-chat.
I have the following code snippet
api_version= "2025-04-01-preview"
model_name = "gpt-5-chat"
client = AzureOpenAI(
api_version=api_version,
azure_endpoint=endpoint,
api_key=subscription_key,
)
print('Testing client input type 1 ')
response = client.chat.completions.create(
messages=[
{
"role": "system",
"content": "You are a helpful assistant.",
},
{
"role": "user",
"content": "I am going to Paris, what should I see?",
}
],
max_tokens=16384,
temperature=1.0,
top_p=1.0,
model=deployment,
reasoning_effort = "medium"
)
print('Testing client input type 2 ')
response = client.responses.create(
model=deployment,
input="What is the answer to the ultimate question of life, the universe, and everything?",
text={ "verbosity": "low"},
reasoning={ "effort": "medium"}
)
Unfortunately i get a response
openai.BadRequestError: Error code: 400 - {'error': {'message': 'Unrecognized request argument supplied: reasoning_effort', 'type': 'invalid_request_error', 'param': None, 'code': None}}
Are the reasoning and verbosity parameters available at all with gpt-5-chat? It seems that its not accessible neither though responses or completions with the newest api version. Without calling the verbosity and resoning parameters, it works just fine.
Azure OpenAI Service
1 answer
Sort by: Most helpful
-
Pavankumar Purilla 10,350 Reputation points Microsoft External Staff Moderator
2025-08-11T13:55:21.2666667+00:00