Clatter LabsHelp Center

How do I rotate a Model API key without downtime?

How-toUpdated

Run both keys side by side for a moment:

  1. Create a new key with the same permission and rate limit.
  2. Deploy it to your app (secret manager or environment variable).
  3. Watch Console › Logs until requests come from the new key and errors stay at zero.
  4. Revoke the old key.

Because each key has its own per-minute limit, traffic split across two keys during the change won't hit a lower limit. If a key leaked, skip the waiting: revoke at once.

Good to know#

  • Model ids: supercosmos-flash, supercosmos-max, supercosmos-heavy (SuperCosmos 1.1). Which to call
  • New accounts get $5 of free credit; top up from $1 to $800 per purchase in Console › Billing › Credits. Billing
  • If calls fail unexpectedly, check status.clatterlabs.com before debugging further.

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.