Skip to main content

Select a model for GPT functions in Sheets

GPT for Sheets supports a range of models that you can use with the 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.

The available models depend on:

As a general rule, OpenAI models are more reliable and less likely to decline prompts than models from other providers.

The following table lists our recommended models available without an API key.

Use caseRecommended modelAlternative model

General purpose

gpt-5.4-mini

gpt-5.4-nano

Translation

claude-4.6-sonnet

gpt-5.4-mini

Content creation

claude-4.6-sonnet

tip

For information about recommended models when working with web search and images, see:

To learn more about a model, hover over the model info icon in the model switcher. A tooltip opens with detailed information about the model.

Model tooltip in the model switcher

Select a model without an API key

  1. Open a Google spreadsheet.

  2. In the menu bar, select Extensions > GPT for Sheets and Docs > Open.

    Launch GPT for Sheets
  3. In the sidebar, select GPT functions.

  4. Expand Model settings and open the model switcher.

    Open the model switcher
  5. Under No API key needed, select a model.

    Select a model

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

info

Select a model with an API key

Prerequisites

You have set an API key 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 and Docs > Open.

    Launch GPT for Sheets
  3. In the sidebar, select GPT functions.

  4. Expand Model settings and open the model switcher.

    Open the model switcher
  5. Under Use your API key or endpoints, select a model with a key icon.

    Select a model

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

info

What's next

Learn more about models: