OpenAI API · api · fg-0141

Reasoning model returns empty text with status incomplete while you are still billed

If you see response.output_text is an empty string, the cause and the fix for OpenAI API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
response.output_text is an empty stringstatus incomplete with incomplete_details.reason max_output_tokensUsage shows many output tokens but no visible answer
Cause
max_output_tokens caps reasoning tokens and visible tokens together, so a small cap can be spent entirely on reasoning before any answer is written. Those reasoning tokens are billed as output.
Fix
Leave a large budget, OpenAI suggests at least 25000 tokens when starting out, and check status before reading the text.
Apply
const res = await client.responses.create({ model, input, max_output_tokens: 25000 }); if (res.status === 'incomplete' && res.incomplete_details?.reason === 'max_output_tokens') { // retry with a larger budget or lower reasoning effort }
Affected
OpenAI Responses and Chat Completions with reasoning models, checked October 2026
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun