Azure OpenAI Responses API not working with o3-mini

Andres da Silva Santos 195 Reputation points
2025-03-22T04:39:08.92+00:00

I am receiving a HTTP 200 OK but empty response when using the o3-mini and o1 models.

curl --location 'https://xxx/openai/responses?api-version=2025-03-01-preview' \
--header 'Content-Type: application/json' \
--header 'api-key: xxx' \
--data '{
    "model": "o3-mini",
    "input": [
        {
            "role": "user",
            "content": "Say hello"
        }
    ]
}'


POST /openai/responses?api-version=2025-03-01-preview HTTP/1.1
 
{
"model": "o3-mini",
"input": [
{
"role": "user",
"content": "Say hello"
}
]
}
 
HTTP/1.1 200 OK
x-ms-region: East US 2
apim-request-id: 44c54597-dfe2-4bcf-8204-21f5dd81e424

However, with the gpt-4o model, I get a response as expected.

curl --location 'https://xxx/openai/responses?api-version=2025-03-01-preview' \
--header 'Content-Type: application/json' \
--header 'api-key: xxx' \
--data '{
    "model": "gpt-4o-mini",
    "input": [
        {
            "role": "user",
            "content": "Say hello"
        }
    ]    
}'

POST /openai/responses?api-version=2025-03-01-preview HTTP/1.1
 
{
"model": "gpt-4o-mini",
"input": [
{
"role": "user",
"content": "Say hello"
}
]
}
 
HTTP/1.1 200 OK
x-ms-region: East US 2
x-request-id: 5914cbb6-1770-46e3-9e13-6f8807bd5d25
apim-request-id: 6fa8e3f3-283f-4684-b90d-a36f9d10f28e
 
{
    "id": "resp_67de3b6ffbcc8190bf1e71b914d07b09",
    "object": "response",
    "created_at": 1742617455,
    "status": "completed",
    "error": null,
    "incomplete_details": null,
    "instructions": null,
    "max_output_tokens": null,
    "model": "gpt-4o-mini",
    "output": [
      {
        "type": "message",
        "id": "msg_67de3b709af881909915cf36c9482989",
        "status": "completed",
        "role": "assistant",
        "content": [
          {
            "type": "output_text",
            "text": "Hello! How can I assist you today?",
            "annotations": []
          }
        ]
      }
    ],
    "parallel_tool_calls": true,
    "previous_response_id": null,
    "reasoning": {
      "effort": null,
      "generate_summary": null
    },
    "store": true,
    "temperature": 1.0,
    "text": {
      "format": {
        "type": "text"
      }
    },
    "tools": [],
    "top_p": 1.0,
    "truncation": "disabled",
    "usage": {
      "input_tokens": 26,
      "input_tokens_details": {
        "cached_tokens": 0
      },
      "output_tokens": 11,
      "output_tokens_details": {
        "reasoning_tokens": 0
      },
      "total_tokens": 37
    },
    "user": null,
    "metadata": {}
  }

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,919 questions
{count} votes

Accepted answer
  1. Prashanth Veeragoni 3,390 Reputation points Microsoft External Staff
    2025-03-28T01:40:06.3166667+00:00

    @Andres da Silva Santos

    As per the latest Azure OpenAI documentation, the Responses API does not support the o3-mini model. The models that are currently supported by the Responses API include:

    Supported Models:

    gpt-4o (Versions: 2024-11-20, 2024-08-06, 2024-05-13)

    gpt-4o-mini (Versions: 2024-07-18)

    computer-use-preview

    If you try to use the Responses API with o3-mini, it may result in an error or unexpected behavior or empty responses as mentioned.

    Please refer latest documentation: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/responses?tabs=python-secure

    What should you do now?

    Wait for future Azure releases__:__ Microsoft may add o3-mini support in upcoming updates.

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Thank you!


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.