🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.The answer finished normally
  2. B.The answer was cut off at the max_tokens limit
  3. C.The model wants to use a tool
  4. 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 →