> ## 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](https://docs.tess.im/en/open-ai-compat.md) 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.

## Full slug catalog

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

* [Models and Costs](https://docs.tess.im/en/models-and-cost.md) — 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)](https://docs.tess.im/en/cowork/digital-employees/configuracao-detalhada/model-slugs.md)

## Example slugs

| Display name | API Slug |
| - | - |
| GPT-6 Astra High | `gpt-6-astra-high` |
| Gemini 3.8 Flash Medium | `gemini-3.8-flash-medium` |
| Claude Fable 5.1 | `claude-fable-5-1` |
| Tess 6 | `tess-6` |

Prefer the [Models and Costs](https://docs.tess.im/en/models-and-cost.md) table for the up-to-date catalog.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.