Clatter LabsHelp Center

Where do I get ready-made Model API code?

How-toUpdated
  1. Open Models in the Console.
  2. In the Model API card, pick Python, JavaScript or cURL.
  3. Copy the code. It uses https://api.gateway.clatterlabs.xyz/v1, a models:invoke key and the X-Clatter-Account header.
  4. 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_retired and 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?#

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.