Model API quick reference
Base URL https://api.gateway.clatterlabs.xyz/v1
Headers Authorization: Bearer clsk_... · X-Clatter-Account: CL-... · Content-Type: application/json
| Endpoint | Purpose | Key |
|---|---|---|
GET /v1/models | List ids with prices | Not needed |
GET /v1/models/{id} | One model | Not needed |
POST /v1/chat/completions | Chat completion | models:invoke |
| Model id | Input / 1M | Output / 1M | Max output |
|---|---|---|---|
supercosmos-flash | $1.60 | $3.40 | 32,768 |
supercosmos-max | $1.80 | $3.80 | 32,768 |
supercosmos-heavy | $2.00 | $4.40 | 49,152 |
Prompt over 262K tokens: whole input billed at 1.5×. Context window 1M tokens (1,048,576).
Limits 10 / 30 / 60 / 120 requests per minute per key · 3 MB and 800 messages per request · 64 tools · up to 4 stop sequences · 25 keys per account.
Errors 400 invalid_request invalid_json unsupported_content unsupported_parameter invalid_effort · 401 invalid_api_key expired_api_key missing_account_id account_mismatch · 402 out_of_credits · 403 insufficient_scope account_suspended · 404 model_not_found not_supported · 410 model_retired · 413 request_too_large · 429 rate_limited · 5xx model_overloaded model_unavailable model_timeout empty_response stream_error.
Docs: Model API overview · Model API reference.
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.