Browse the study library +
← All practice questions

A response comes back with stop_reason: "max_tokens". What does it mean?

Show answer and explanation

Answer: C

max_tokens means the output was truncated mid-response. Continue/resend or raise max_tokens. It is neither end_turn (done) nor tool_use (wants a tool).

`max_tokens` کا مطلب ہے جواب بیچ میں ہی کٹ گیا۔ دوبارہ بھیجیں یا `max_tokens` بڑھا دیں۔ یہ نہ `end_turn` (کام مکمل) ہے، نہ `tool_use` (ٹول چاہیے)۔

One practice question a week

Get a new exam-style question with a clear explanation in your inbox. Free, no spam, unsubscribe any time.

We only use your email for these updates. See our privacy policy.