SheetAI

Supported AI Models

SheetAI supports models from OpenAI, Anthropic, Google, xAI, and DeepSeek. Use shorthand codes or full model names in any SHEETAI function.

How to use a specific model

Pass the model name as the model parameter:

A
1
=SHEETAI("Write a poem", 1000, 0.7, "4o")
2
Using GPT-4o from OpenAI
A
1
=SHEETAI("Write a poem", 1000, 0.7, "c3s")
2
Using Claude 3 Sonnet

Use =SHEETAI_MODELS() in any cell to see all available models.

OpenAI

"4o"GPT-4oPopular
"4o-m"GPT-4o MiniFast & Cheap
"4"GPT-4
"t"GPT-3.5 TurboDefault
"t-16k"GPT-3.5 Turbo 16K
"o1-p"o1-preview
"o1-m"o1-mini
A
1
=SHEETAI_TABLE("Top 5 programming languages", 1000, 0.4, "4o")
2
Python | JavaScript | Java | C++ | Go ...

Anthropic

"c3"Claude 3 Opus
"c3s"Claude 3 SonnetBalanced
"c3h"Claude 3 HaikuFast
A
1
=SHEETAI("Summarize this text: " & A1, 1000, 0.4, "c3s")
2
A concise summary powered by Claude 3 Sonnet

Google

"g"Gemini 2.0 FlashLatest
A
1
=GeminiAI("Explain quantum computing simply", "gemini-2.0-flash")
2
Quantum computing uses quantum bits (qubits)...

xAI

"grok-3"Grok 3New
"grok-beta"Grok Beta
A
1
=SHEETAI("Best practices for SEO", 1000, 0.4, "grok-3")
2
1. Focus on user intent 2. Optimize page speed...

DeepSeek

"deepseek-chat"DeepSeek Chat
A
1
=SHEETAI("Write Python code to sort a list", 1000, 0.2, "deepseek-chat")
2
sorted_list = sorted(my_list)

Which model should I use?

Quick guide to picking the right model for your task.

Use caseRecommendedWhy
General tasksgpt-4o-miniFast, cheap, good enough for most tasks
Complex analysisgpt-4oBest quality from OpenAI
Long-form writingclaude-3-sonnetExcellent at natural writing
Bulk processing (1000+ rows)gpt-3.5-turboCheapest, highest rate limits
Free / budget optiongemini-2.0-flashGoogle offers generous free tier
Code generationdeepseek-chatStrong at code, very affordable

Need an API key?

Each provider requires its own API key. See how to set up your API key or check the full function reference for all shorthand codes.