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

# AI models

> Choose the AI model that writes your agent's replies and see what each one costs per conversation.

Each text agent writes its replies with the AI model you choose. A new agent starts with the default model, which is right for almost every agent. Change it only if you have a reason, and test the agent after you do.

## How it works

You choose the model in **AI model**, inside **Advanced settings**. It's there in two places: under the brief when you create an agent with AI, and in **Agent instructions** afterwards. The header of **Advanced settings** shows the current model and timezone without opening it.

The list shows the models available today:

* If your account pays from a wallet, each model shows an estimate of what one conversation costs from it, followed by "/conversation". A [conversation](https://docs.newlead.ai/guide/billing/usage.md#conversations) is one lead in one billing period. The estimate is rougher for models that reason more.
* A model that will be retired shows **Obsolete from** and a date. Switch to another model before then.
* If the agent uses a model that's no longer offered, it stays in the list, without a price, until you change it.

The model you choose writes the agent's replies. Background work, such as conversation summaries, follow-up decisions and reading custom fields, uses the platform's own model and doesn't change with your choice.

## Change the model

**1. Open the instructions**

On the agent's page, select **Agent instructions**.

**2. Open Advanced settings**

Select **Advanced settings** below the instructions.

**3. Pick a model**

Choose one in **AI model**.

**4. Save and test**

Select **Save changes**, then try a few messages in the test chat.

## Good to know

* The new model is used from the next reply on.
* If the subaccount has a [custom OpenAI key](https://docs.newlead.ai/guide/getting-started/settings.md#what-each-panel-is-for), the agent's replies are paid with that key instead of your wallet.
* Voice agents have their own list of models. See [Voice agents](https://docs.newlead.ai/guide/voice/voice-agents.md).

## Related

* [Agent instructions](https://docs.newlead.ai/guide/agents/instructions.md)
* [How the agent replies](https://docs.newlead.ai/guide/agents/how-the-agent-replies.md)
* [Test your agent](https://docs.newlead.ai/guide/agents/test-your-agent.md)


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