Clatter LabsHelp Center

Which parameters does POST /v1/chat/completions accept?

ReferenceUpdated
ParameterTypeNotes
modelstring, requiredsupercosmos-flash, supercosmos-max, supercosmos-heavy, or supercosmos with effort
messagesarray, requiredUp to 800 messages
streambooleanDefault false
stream_optionsobject{"include_usage": true} adds a final usage chunk
toolsarrayUp to 64 function tools
tool_choicestring or objectauto (default), none, required, or a function
effortstringflash / max / heavy with the family id
reasoning_effortstringlow / medium / high
max_tokens / max_completion_tokensintegerMost output tokens, reasoning included; capped per model
temperaturenumber0 to 2
top_pnumberAbove 0, up to 1
stopstring or arrayUp to 4 sequences
seedintegerBest-effort repeatable sampling
presence_penalty, frequency_penaltynumberPassed to the model

Not supported: n > 1 and logprobs (400 unsupported_parameter), image content (400 unsupported_content). Source: Create a chat completion.

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.