API basics · Question 6 of 12
What happens when the answer reaches the configured maximum number of output tokens?
1 answer is correct. Easy Created with AI
Show answer
Answer
- B The answer stops at that point, often mid-sentence
Explanation
The limit cuts the output off hard. The API then reports as the stop reason that the maximum length was reached – the app should check this instead of treating a truncated answer as complete.