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-miniA
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 HaikuFastA
1
=SHEETAI("Summarize this text: " & A1, 1000, 0.4, "c3s")
2
A concise summary powered by Claude 3 Sonnet
"g"→Gemini 2.0 FlashLatestA
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 BetaA
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 ChatA
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 case | Recommended | Why |
|---|---|---|
| General tasks | gpt-4o-mini | Fast, cheap, good enough for most tasks |
| Complex analysis | gpt-4o | Best quality from OpenAI |
| Long-form writing | claude-3-sonnet | Excellent at natural writing |
| Bulk processing (1000+ rows) | gpt-3.5-turbo | Cheapest, highest rate limits |
| Free / budget option | gemini-2.0-flash | Google offers generous free tier |
| Code generation | deepseek-chat | Strong 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.