> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/fabricate/data-agent-tools/data-agent-modes-and-models/selecting-the-models-to-use.md).

# Selecting the models to use

From the Data Agent chat, you can select the specific models to use for different types of tasks, based on the model performance and model cost. For example, for a larger data generation job, you might select a lower-cost model.

You also select the level of effort and the maximum number of tokens for the chat context, both of which also affect the performance and cost.

Your account owner can change both the [default and available models for the account](/fabricate/about-fabricate/fabricate-pricing-and-ai-usage/account-default-available-ai-models.md).

To change the selected model and level of effort:

1. Click the current data generation model and effort selection.

<figure><img src="https://4109733485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmoU4gTR9LxlzHeWmQCUZ%2Fuploads%2FcsISSI54MI549YnDvrpI%2FDataAgent_ModelSelected.png?alt=media&amp;token=9899865a-6b35-4e58-ab90-7dbeed388370" alt=""><figcaption><p>Current model and effort selection for the Data Agent</p></figcaption></figure>

2. On the **Models** panel, under **Model:**

   1. Under **Data Generation**, click the radio button for the model to use to generate date.&#x20;
   2. If [validation is enabled](/fabricate/data-agent-tools/using-the-validation-agent.md), then under **Validation**, click the radio button for the model to use for validation.
   3. Under **Profiling**, click the radio button for the model to use for data profiling.

   The default and recommended option for all three is Sonnet 5.5.\
   \
   Note that if you use your own LLM provider, and are not connected to Azure AI Foundry, then the GPT models are not available.

<figure><img src="https://4109733485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmoU4gTR9LxlzHeWmQCUZ%2Fuploads%2FYDRi9TlbeEVGKymedN17%2FDataAgent_ModelSelection.png?alt=media&amp;token=7d66ebee-407c-4dfe-8b5d-e97a42395927" alt=""><figcaption><p>Models panel with the model and effort selection</p></figcaption></figure>

3. Under **Effort**, click the radio button for the level of effort to use. The default is **High**.
4. Under **Freeform text model**, click the radio button for the category of model to use to generate freeform text. Fabricate uses the model that it currently has mapped to that category.
   * **Economy** - Lowest quality and cost. Medium speed.
   * **Fast** - This is the default and recommended option. This is the fastest option, with high quality and medium cost.
   * **Standard** - Provides higher quality at a higher cost, but with slower speed.
   * **Premium** - Provides the highest quality and the highest cost, but is very slow.
5. From the **Context Window** dropdown list, select the maximum number of tokens for the chat context.\
   \
   The default is 200,000 tokens.
6. Click **Done**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tonic.ai/fabricate/data-agent-tools/data-agent-modes-and-models/selecting-the-models-to-use.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
