← Quiz: First API Call: all 10 questions
Quiz: First API Call · Question 2 of 10
stopreason is "maxtokens". What happened?
stop_reason is "max_tokens". What happened?
- A.The answer finished normally
- B.The answer was cut off at the max_tokens limit
- C.The model wants to use a tool
- D.The request was refused
Answer & explanation
Correct answer: The answer was cut off at the max_tokens limit
Raise max_tokens or ask for a shorter answer.
Can you get the rest right without peeking?
Take the timed Quiz: First API Call quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →