An incomplete answer can still be a completed billable response
The service may return measured usage and a valid receipt even when the content does not finish the user's task. That is not automatically a technical failure or a credit-return event. Your interface should distinguish truncation, uncertainty and creative dissatisfaction rather than labeling them all as server failure.
What to do next
- 01
Read the confirmed response
Check choices, finish_reason and usage together. Verify whether the assistant message is present and whether its endpoint was deliberately requested to be short.
- 02
Adjust the task scope
Ask for a more concise answer or choose a suitable supported max_tokens value, up to 4096, when the user genuinely needs more output. Re-quote the changed request before spending again.
- 03
Continue with context if approved
Include the relevant prior answer and a clear continuation instruction in a new deliberate task. Use a new identifier for that new work, preserving the original receipt.
A concrete example
Illustrative outcome: a long guide request used the default 256-token ceiling and ended mid-paragraph with finish_reason=length. The integration explains the limit and offers a reviewed continuation rather than silently issuing repeated completions.
Before you call it ready
- The finish reason is inspected.
- A completed truncated answer is not called unknown.
- Any continuation is a new approved task.
When to stop or choose another method
If the required response exceeds the current output contract, divide the work into meaningful reviewed sections or use another service. Raising a spending ceiling cannot remove the hard token limit.
