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

# Models API

> REST reference for GET /v1/models: list the text-to-speech model IDs your KugelAudio requests can use, and the fields of each returned model object.

## List Models

Get the TTS model IDs accepted for generation. This catalog is public and is
filtered to models whose engine deployment is currently wired. The response
also gives the public back-office model, its eligibility and its token rates
in the top-level `back_office` object. See
[back-office pricing](/speech-to-speech/back-office#pricing).

```http
GET /v1/models
```

<RequestExample>

```bash cURL
curl -X GET "https://api.elbic.com/v1/models" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```python Python
from kugelaudio import KugelAudio

client = KugelAudio(api_key="YOUR_API_KEY")

models = client.models.list()

for model in models:
    print(f"{model.id}: {model.name}")
```

```typescript JavaScript
import { KugelAudio } from 'kugelaudio';

const client = new KugelAudio({ apiKey: 'YOUR_API_KEY' });

const models = await client.models.list();

for (const model of models) {
  console.log(`${model.id}: ${model.name}`);
}
```

</RequestExample>

<ResponseExample>

```json
{
  "models": [
    {
      "id": "kugel-3",
      "model_id": "kugel-3",
      "name": "Kugel 3",
      "description": "Most Natural",
      "parameters": null,
      "max_input_length": 10000,
      "sample_rate": 24000
    },
    {
      "id": "kugel-3.5",
      "model_id": "kugel-3.5",
      "name": "Kugel 3.5",
      "description": "Most Natural",
      "parameters": null,
      "max_input_length": 10000,
      "sample_rate": 24000
    }
  ],
  "back_office": {
    "id": "kugel-llm-1",
    "name": "Kugel back-office model",
    "availability": "Without wallet credit, the Kugel back-office model is your default. Welcome and promotional credits can pay for it. With wallet credit, you can choose other supported models at their published prices. Pass-through prices apply only where KugelAudio adds no margin.",
    "prices_eur_per_million_tokens": {
      "input": 2.16,
      "cached_input": 2.16,
      "output": 6.60
    }
  }
}
```

</ResponseExample>

### Response

<Note>
  The catalog lists only current models. The [legacy IDs](/models#legacy-model-ids) remain accepted for backwards compatibility. They may route through the current production model, but billing and Dashboard usage keep the requested model ID. New integrations should use `kugel-3` or `kugel-3.5`.
</Note>

---

## Model Object

### Fields

The top-level response field `models` is an array of the model objects below.

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Model identifier accepted in API calls |
| `model_id` | string | Same as `id` (backward compat) |
| `name` | string | Human-readable name |
| `description` | string \| null | Model description |
| `parameters` | string \| null | `null` for current models |
| `max_input_length` | integer | Maximum input text length in characters |
| `sample_rate` | integer | Native model sample rate in Hz; generation endpoints can resample output |

For what each model is for, its input limit, and legacy IDs, see
[Models](/models). Concurrency limits are plan-dependent; see
[pricing](/pricing).
