# Select a model for GPT functions in Sheets

[GPT for Sheets – Autosheet](https://autosheet.com/docs/gpt-for-sheets) supports a [range of models](https://autosheet.com/docs/resources/models/ai-providers-and-models) that you can use with the [GPT functions](https://autosheet.com/docs/gpt-for-sheets/gpt-functions). To help you find the model that offers the best balance of accuracy, speed, and cost for your use case, see our [recommended models](https://autosheet.com/docs/resources/models/recommended-models).

The available models depend on:

- **The API keys set for your current space.** Autosheet gives you access to a default set of built-in models. To access additional models, [set an API key for one or more AI providers](https://autosheet.com/docs/gpt-for-sheets/setup/manage-models/manage-api-keys).
- **The model settings for your current space.** Space owners and admins can [control which models are available in Autosheet](https://autosheet.com/docs/admin/ai-configuration/manage-models?platform=google).

## Recommended models

For information about recommended bulk models, see [Recommended models](https://autosheet.com/docs/resources/models/recommended-models#bulk-models).

## Select a built-in model

1. Open a Google spreadsheet.

2. In the menu bar, select **Extensions > GPT for Sheets – Autosheet > Open**.

   ![Launch GPT for Sheets – Autosheet](https://autosheet.com/docs/article-images/gpt-for-sheets/launch.png)

3. In the sidebar, select **GPT functions**.

4. Expand **Model settings** and open the model switcher.

   ![Open the model switcher](https://autosheet.com/docs/article-images/gpt-for-sheets/model-settings-switcher-functions.png)

5. Under **Built-in models**, select a model.

   ![Select a model](https://autosheet.com/docs/article-images/gpt-for-sheets/model-switcher-tk.png)

GPT for Sheets – Autosheet now uses the selected model to generate responses for GPT functions.

> **Info**
>
> - When [cache](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/manage-gpt-formulas/manage-cache) is enabled, existing GPT formulas will not automatically update to the new model when you re-execute them.
>
>   To re-execute an existing formula with the new model:
>
>   1. [Set the model as a parameter in the formula.](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/reference#temperature-and-model)
>   2. Press Enter to re-execute the formula.
>
> - The [GPT_MATCH](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/reference#gpt_match-function) function uses `text-embedding-ada-002`, not the model you select.
>
> - The [GPT_WEB](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/reference#gpt_web-function) function uses the [web search model set for your space](https://autosheet.com/docs/admin/ai-configuration/manage-models#set-the-default-bulk-models).

## Select a connected model

**Prerequisites**

You have [set an API key](https://autosheet.com/docs/gpt-for-sheets/setup/manage-models/manage-api-keys) for the AI provider whose model you want to use.

1. Open a Google spreadsheet.

2. In the menu bar, select **Extensions > GPT for Sheets – Autosheet > Open**.

   ![Launch GPT for Sheets – Autosheet](https://autosheet.com/docs/article-images/gpt-for-sheets/launch.png)

3. In the sidebar, select **GPT functions**.

4. Expand **Model settings** and open the model switcher.

   ![Open the model switcher](https://autosheet.com/docs/article-images/gpt-for-sheets/model-settings-switcher-functions.png)

5. Under **Connected models**, select a model.

   ![Select a model](https://autosheet.com/docs/article-images/gpt-for-sheets/model-switcher-byok.png)

GPT for Sheets – Autosheet now uses the selected model to generate responses for GPT functions.

> **Info**
>
> - When [cache](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/manage-gpt-formulas/manage-cache) is enabled, existing GPT formulas will not automatically update to the new model when you re-execute them.
>
>   To re-execute an existing formula with the new model:
>
>   1. [Set the model as a parameter in the formula.](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/reference#temperature-and-model)
>   2. Press Enter to re-execute the formula.
>
> - The [GPT_MATCH](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/reference#gpt_match-function) function uses `text-embedding-ada-002`, not the model you select.
>
> - The [GPT_WEB](https://autosheet.com/docs/gpt-for-sheets/gpt-functions/reference#gpt_web-function) function uses the [web search model set for your space](https://autosheet.com/docs/admin/ai-configuration/manage-models#set-the-default-bulk-models).

## What's next

Learn more about models:

- [AI providers and models supported by Autosheet](https://autosheet.com/docs/resources/models/ai-providers-and-models)
- [LiveBench (a good model benchmark)](https://livebench.ai/)
