Skip to main content

Select a model for GPT functions in Excel

GPT for Excel 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 Microsoft Excel workbook.

  2. On the ribbon, select Home > GPT for Excel Word.

    GPT for Excel Word on the Home ribbon
    info

    If GPT for Excel Word is not visible on the ribbon, or if it's grayed out, select Home > Add-ins > My Add-ins > GPT for Excel Word. Learn more.

  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 Excel 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.

  • If you want to use an Azure model or an OpenAI-compatible model from an API endpoint, you have set up the correct endpoint.

  1. Open a Microsoft Excel workbook.

  2. On the ribbon, select Home > GPT for Excel Word.

    GPT for Excel Word on the Home ribbon
    info

    If GPT for Excel Word is not visible on the ribbon, or if it's grayed out, select Home > Add-ins > My Add-ins > GPT for Excel Word. Learn more.

  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 endpoint, select a model with a key icon.

    Select a model

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

info

What's next

Learn more about models: