Azure OpenAI Responses API - o4-mini - A lot of Hallucinations

Siry, Gaetan 160 Reputation points
2025-05-04T23:31:17.9466667+00:00

I am using the o4-mini model with the Responses API and I am getting an incredible amount of hallucinations.
Here is an example below. Basically my prompt is a math pronblem but the response that I am getting is a workout plan ..

User's image

I understand that the Responses API in in preview right now, but is this a model problem when reasoning is enabled or a Responses API problem. Using the ChatCompletions API with reasoning, everything is fine.

This seems unusable to me

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,428 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saideep Anchuri 6,965 Reputation points Microsoft External Staff Moderator
    2025-05-06T00:44:45.55+00:00

    Hi Siry, Gaetan

    The issue you're experiencing with the o4-mini model generating hallucinations, such as providing a workout plan in response to a math problem, could be attributed to several factors. Since the Responses API is currently in preview, it may not yet be fully optimized for all types of queries, especially complex reasoning tasks.

    The hallucinations could be a result of the model's limitations in understanding the context or the specific nature of the task when reasoning is enabled. In contrast, the ChatCompletions API might be more robust for certain types of queries, as you noted that it performs well with reasoning.

    It's important to consider that the Responses API may have different performance characteristics compared to the ChatCompletions API.

    Kindly refer below link: responses

    transparency-note

    Thank You.

    0 comments No comments

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.