> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tess.im/llms.txt
> Use this file to discover all available pages before exploring further.

# Model slugs

> Technical identifiers for AI models in the Tess API (OpenAI-compatible model field and related configuration).

# Model slugs

> Use the **API Slug** — not the display name — whenever you select a model programmatically.

In Tess, every AI model has:

* a **display name** (what you see in the UI, e.g. `Claude 4.5 Haiku`)
* an **API Slug** (the stable technical id, e.g. `claude-4.5-haiku`)

APIs and JSON configs expect the slug.

## Where slugs appear in the API

The most common place is the OpenAI-compatible Chat Completions endpoint. Pass the slug in the `model` field:

```bash theme={null}
curl --request POST \
  --url 'https://api.tess.im/agents/{id}/openai/chat/completions' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'x-workspace-id: YOUR_WORKSPACE_ID' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "tess-5",
    "messages": [{ "role": "user", "content": "hello!" }],
    "stream": true
  }'
```

See [Execute OpenAI Compatible](/en/open-ai-compat) for parameters and SDK examples.

<Warning>
  The slug must be available for the **target agent** (its configured model list). An unknown or unavailable slug is rejected or ignored depending on the endpoint.
</Warning>

## Full slug catalog

For the complete list of models with costs **and** API Slugs, use:

* [Models and Costs](/en/models-and-cost) — authoritative table (text, image, video, and more)

## Cowork / Digital Employees

When importing a Digital Employee pack (JSON), the same slug goes in `model_override`. Guide and examples:

* [Model slugs (Cowork)](/en/cowork/digital-employees/configuracao-detalhada/model-slugs)

## Example slugs

| Display name     | API Slug           |
| ---------------- | ------------------ |
| Tess 5           | `tess-5`           |
| Claude 4.5 Haiku | `claude-4.5-haiku` |
| ChatGPT 5.4      | `gpt-5.4`          |
| ChatGPT 5.4 Mini | `gpt-5.4-mini`     |

Prefer the [Models and Costs](/en/models-and-cost) table for the up-to-date catalog.
