Clatter Labs
Console

Model API

Retrieve a model

One model id with its price.

GETapi.gateway.clatterlabs.xyz/v1/models/{model}

Returns one model. No key needed.

Path parameters

modelstringrequired

A model id, like supercosmos-max.

Response

200 · application/json

idstring

The model id.

pricingobject

input and output in USD per 1M tokens.

Errors

StatusCodeWhen
404model_not_foundUnknown model id.
410model_retiredA retired model id (Line Code). See Line Code retirement.
curl "https://api.gateway.clatterlabs.xyz/v1/models/MODEL" \
  -H "Authorization: Bearer $CLATTER_API_KEY" \
  -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
import os
import requests

headers = {
    "Authorization": f"Bearer {os.environ['CLATTER_API_KEY']}",
    "X-Clatter-Account": os.environ["CLATTER_ACCOUNT_ID"],
}

r = requests.get("https://api.gateway.clatterlabs.xyz/v1/models/MODEL", headers=headers)
print(r.json())
const headers = {
  Authorization: `Bearer ${process.env.CLATTER_API_KEY}`,
  "X-Clatter-Account": process.env.CLATTER_ACCOUNT_ID,
};

const res = await fetch("https://api.gateway.clatterlabs.xyz/v1/models/MODEL", {
  method: "GET",
  headers,
});
console.log(await res.json());
{
  "id": "supercosmos-max",
  "object": "model",
  "created": 1793232000,
  "owned_by": "clatter-labs",
  "name": "SuperCosmos Max",
  "family": "SuperCosmos",
  "version": "1.1",
  "effort": "max",
  "description": "Plans and builds. Multi-step work, debugging and longer answers.",
  "capabilities": {
    "chat_completions": true,
    "streaming": true,
    "tools": true,
    "reasoning": true,
    "vision": false
  },
  "max_output_tokens": 32768,
  "pricing": {
    "currency": "USD",
    "unit": "1M tokens",
    "input": 1.8,
    "output": 3.8,
    "long_context": "Long-context input above 262K tokens: 1.5x"
  }
}