Clatter LabsHelp Center

What do the finish_reason values mean?

ReferenceUpdated
finish_reasonMeaningWhat to do
stopThe model finished, or a stop sequence was reachedUse the answer
lengthOutput hit max_tokens or the model's capRaise max_tokens, ask for a shorter answer, or continue in a new turn
tool_callsThe model wants you to run one or more toolsRun them and send tool messages back

Good to know#

  • Each key has its own limit: 10, 30 (default), 60 or 120 requests per minute. Rate limits
  • Model ids: supercosmos-flash, supercosmos-max, supercosmos-heavy (SuperCosmos 1.1). Which to call
  • Every response has an X-Request-Id; log it so a request can be found later. Why log it

Still need help?#

We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.