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

# LLMs

> Choose the LLM that generates agent responses.

Cartesia manages the model integration, so you do not need a provider account or API key.

<Tip icon="gift">
  **Free LLM usage until October 1, 2026.**
</Tip>

## Choose an LLM

[`GET /v1/agents/models`](/api-reference/agents/models/list) returns the models available to your account. Each entry includes its provider, average latency, and token prices.

Set the model by ID:

```json theme={null}
{
  "config": {
    "model": { "id": "gpt-5.4-mini" }
  }
}
```

Changing the model creates a new agent [version](/agents/versions). You can easily switch models in the Playground or through the API to compare candidates.

## Generation settings

`config.model` also accepts two optional settings. Set either to `null` to use the model's default.

* `temperature` ranges from `0` to `1`. Lower values produce more consistent responses; higher values produce more varied responses.
* `max_output_tokens` limits the number of tokens in a response. It ranges from `1` to `4096`.

```json theme={null}
{
  "config": {
    "model": {
      "id": "gpt-5.4-mini",
      "temperature": 0.3,
      "max_output_tokens": 1024
    }
  }
}
```
