API REFERENCE
Models
List the Gateway's model registry. It is not the list of models your account may call.
GET
/v1/modelsList the model registry.
Auth: Bearer keyLimit
The registry lists the Gateway's legacy and third-party entries. It does not list z1, z1-code, h1 or project-zero, and the entries it does list are not offered to developers and may change or disappear. To see the models your account may call, use the Console Playground; for prices, GET /v1/pricing/families.
LIST MODELS
curl https://api.tessen.ai/v1/models \ -H "Authorization: Bearer $TESSEN_API_KEY"import osimport requests response = requests.get("https://api.tessen.ai/v1/models", headers={"Authorization": f"Bearer {os.environ['TESSEN_API_KEY']}"}, timeout=30)response.raise_for_status()for model in response.json()["data"]: print(model["id"])const response = await fetch("https://api.tessen.ai/v1/models", { headers: { Authorization: `Bearer ${process.env.TESSEN_API_KEY}` },});if (!response.ok) throw new Error(`HTTP ${response.status}`);for (const model of (await response.json()).data) console.log(model.id);Each entry
idstringThe registry id.
objectstringmodel.
createdintegerUnix seconds.
owned_bystringthird_party for hosted third-party entries.
tessen_provenanceobjectcategory, disclosure and ownership: a statement of who owns the underlying weights.
Prices instead
PUBLISHED PRICES
curl https://api.tessen.ai/v1/pricing/familiesimport requests response = requests.get("https://api.tessen.ai/v1/pricing/families", timeout=30)response.raise_for_status()for family in response.json()["families"]: print(family["model_id"], family["uncached_input_usd_per_1m_tokens"], family["output_usd_per_1m_tokens"])const response = await fetch("https://api.tessen.ai/v1/pricing/families");if (!response.ok) throw new Error(`HTTP ${response.status}`);const { families } = await response.json();for (const family of families) { console.log(family.model_id, family.uncached_input_usd_per_1m_tokens, family.output_usd_per_1m_tokens);}