OpenAI Responses returns incomplete with max_output_tokens. Raise the budget or lower reasoning
Status incomplete with max_output_tokens means the cap was hit before any text. Raise max_output_tokens or lower reasoning.effort; don’t retry the same limit. Short answer: 5 steps. 1) Confirm status incomplete and the reason; 2) Inspect usage.output_tokens_details.reasoning_tokens; 3) Raise max_output_tokens (OpenAI suggests a large buffer while learning); 4) Or lower reasoning.effort / simplify the task; 5) Handle incomplete in code before treating the run as success.
Last updated: · This page is the decision checklist; the tools list for “Fix OpenAI Responses incomplete max_output_tokens” is a separate URL.
How do I raise max_output_tokens or lower reasoning.effort when the response is incomplete?
Confirm status incomplete and the reason
On the Responses API, when generated tokens hit `max_output_tokens` (or the model’s output limit), you get `status: "incomplete"` with `incomplete_details.reason: "max_output_tokens"`. That can happen during reasoning with little or no `output_text`—you still pay for input and reasoning tokens. Docs: https://developers.openai.com/api/docs/guides/reasoning
Inspect usage.output_tokens_details.reasoning_tokens
Read `usage.output_tokens` and `usage.output_tokens_details.reasoning_tokens`. If reasoning used almost the whole budget, the model never had room for a visible answer. Reasoning tokens count toward the same `max_output_tokens` cap and are billed as output. Token help: https://help.openai.com/en/articles/4936856-understanding-and-counting-tokens
Raise max_output_tokens (OpenAI suggests a large buffer while learning)
Set `max_output_tokens` high enough for reasoning plus the answer you need. OpenAI recommends reserving at least about 25,000 tokens for reasoning and outputs when you start with these models, then tighten once you know typical usage. Length guide: https://help.openai.com/en/articles/5072518-controlling-the-length-of-openai-model-responses
Or lower reasoning.effort / simplify the task
If cost or latency matters more than a bigger cap, pass a lower `reasoning.effort` (for example medium → low) or split the job so each call needs less thinking. Blind retries with the same `max_output_tokens` and effort fail the same way and still burn tokens.
Handle incomplete in code before treating the run as success
Check `response.status === "incomplete"` and branch on `incomplete_details.reason`. Use any partial `output_text` if present; otherwise raise and adjust budget/effort. Treat this like a non-retryable sizing error until the request parameters change. Create response reference: https://developers.openai.com/api/reference/resources/responses/methods/create
Which tools are best to fix OpenAI Responses incomplete max_output_tokens?
Reasoning models guide
How reasoning tokens share max_output_tokens and how incomplete responses look.
Create a response
max_output_tokens and incomplete_details.reason values on the Responses API.
Understanding tokens
Reasoning tokens count as billed output even when invisible.
Controlling response length
Which length parameters apply on Responses vs Chat Completions.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Fix OpenAI Responses incomplete max_output_tokens” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Add an MCP server to Claude Code, Cursor, or CodexHow to add an MCP server to Claude Code, Cursor, or CodexFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.