Which parameters does POST /v1/chat/completions accept?
| Parameter | Type | Notes |
|---|---|---|
model | string, required | supercosmos-flash, supercosmos-max, supercosmos-heavy, or supercosmos with effort |
messages | array, required | Up to 800 messages |
stream | boolean | Default false |
stream_options | object | {"include_usage": true} adds a final usage chunk |
tools | array | Up to 64 function tools |
tool_choice | string or object | auto (default), none, required, or a function |
effort | string | flash / max / heavy with the family id |
reasoning_effort | string | low / medium / high |
max_tokens / max_completion_tokens | integer | Most output tokens, reasoning included; capped per model |
temperature | number | 0 to 2 |
top_p | number | Above 0, up to 1 |
stop | string or array | Up to 4 sequences |
seed | integer | Best-effort repeatable sampling |
presence_penalty, frequency_penalty | number | Passed 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?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
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.xyzFor deleting your whole account or the data of one service.