An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Thanks for sharing your question.
If you are not able to use the Chat Completions API with your gpt-5.1-mini deployment, this is usually related to how the endpoint is being used or how the model is accessed.
You can check the following points step by step.
First, understand the default behavior In Azure AI Foundry, the portal often shows the Responses API by default. This does not mean Chat Completions is not supported. You can still use Chat Completions if the model supports it. [en.ittrip.xyz]
Second, use the correct endpoint format For Chat Completions, the endpoint must include the chat path and your deployment name.
Example format
Make sure you are not using the responses endpoint by mistake. [bing.com]
Third, verify the deployment name Use the exact deployment name created in the portal, not the model's name.
For example,
- correct: your deployment name
- incorrect: gpt-5.1-mini (if this is not the deployment name)
Using the wrong name can result in errors or API not working.
Fourth, check API version Make sure you are using a supported API version for chat completions.
Some common versions
- 2024-08-01-preview
- 2024-06-01
Using an incorrect version may cause the request to fail or not recognize the API.
Fifth, confirm model capability Not all models behave the same way. Some newer models may prefer or default to the Responses API.
In general
- GPT-5 base and mini models support chat-based interactions
- But certain variants may require correct endpoint usage to work properly [github.com]
Sixth, validate request format Make sure your request body follows the chat format:
- include messages array
- include role and content
- avoid unsupported parameters
Chat models expect structured conversation input, not plain text prompts.
Useful reference
In short: the issue usually comes from using the wrong endpoint or deployment name, not because Chat Completions is disabled.
I Hope this helps. Do let me know if you have any further queries.
Thankyou!