Single word "code" response consumes 199 tokens using 4o-mini

I have a log of the Responses API using “o4-mini-2025-04-16” below:

No reasoning was used. System instruction + User input totaled 59 tokens. However, the output consumed 199 tokens despite returning a single word: “code”.

Can I get a better understanding of how this output token consumption could be so high?

You didn’t receive a summarized reasoning.

That doesn’t mean that by sending your input to a reasoning model, there wasn’t considerable internal deliberation, such as “what the heck am I supposed to do after being sent that command, since I don’t have any memory system for storing things”.

There is internal breaking down the user input and deciding on the type of task, thinking about if it violates policies, what is needed for a fulfilling answer…

The same amount of input “consumes” 1046 output tokens by being a bit more ponderous.

OpenAI will not give you the internal generation you pay by the token for.

Did you perhaps set a low value for max_output_tokens parameter?

If the generated tokens reach the context window limit or the max_output_tokens value you’ve set, you’ll receive a response with a status of incomplete and incomplete_details with reason set to max_output_tokens . This might occur before any visible output tokens are produced, meaning you could incur costs for input and reasoning tokens without receiving a visible response.

Hi, thank you for the response. I did not set an explicit value for “max_output_tokens”. The response DTO shows max_output_tokens=None. However, it’s helpful to know about this feature/limitation. Thank you

The parameter for max_output_tokens does not inform the AI how much you want to pay, BTW. That is where you use reasoning_effort.

The only thing it will do is terminate the output if ALL generation exceeds that. Use it only as a failsafe, such as setting it to a high value such as 20,000 so you don’t spend 100,000 or the model maximum if the AI model goes crazy in a loop of nonsense output.

Otherwise, you could still pay and get NO user-seen output - because you cut off the AI mid-reasoning.


The only thing you get to monitor the progress of reasoning is a “summary” - and only if a ID verified account. It is mostly useful as a user progress, as it is a rewriter of what’s going on inside, so as to not reveal proprietary methods.

Hi, appreciate the response. I agree with this assessment. I’m reading that the intermittent steps are not part of the response, but is there any way we can control or even view the “internal process” that consumes the token? Abstraction is nice for the mass, but this lands too far in the “blackbox” area in my view.