Where do I get ready-made Model API code?
- Open Models in the Console.
- In the Model API card, pick Python, JavaScript or cURL.
- Copy the code. It uses
https://api.gateway.clatterlabs.xyz/v1, amodels:invokekey and theX-Clatter-Accountheader. - Create a key with the Model API preset if you don't have one.
The family id works too: "model": "supercosmos" with "effort" (or reasoning_effort low / medium / high). Without an effort it uses Flash.
Good to know#
- Input above 262K tokens bills at 1.5×.
- Retired Line Code ids answer
410 model_retiredand aren't billed. - A new key's secret is shown only once. Clatter Labs stores only a hash, so a lost key can't be recovered.
Learn more#
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.