xAI Grok Models in SheetAI
Use Grok 3 and Grok Beta directly in Google Sheets with the SHEETAI function. Grok models are built by xAI and offer strong performance across a variety of tasks.
Available xAI Models
"grok-3"βGrok 3Latest"grok-beta"βGrok Beta / Grok 2Formula Examples
A
1
=SHEETAI("Best practices for SEO in 2024", 1000, 0.4, "grok-3")
2
1. Focus on user intent 2. Optimize page speed 3. Build quality backlinks...
A
1
=SHEETAI("Write a product description for: " & A2, 300, 0.7, "grok-3")
2
Introducing the sleek, all-new wireless earbuds designed for...
A
1
=SHEETAI("Classify this sentiment: " & B5, 50, 0, "grok-beta")
2
Positive
Which Grok model should I use?
Pick based on your needs.
| Use case | Model | Why |
|---|---|---|
| Best quality & latest features | Grok 3 "grok-3" | Latest model, strongest performance |
| General tasks & cost savings | Grok Beta "grok-beta" | Solid performance, more affordable |
Setup in 3 Steps
- Get your xAI API key
Go to console.x.ai and generate an API key from your dashboard.
- Open the SheetAI sidebar
In Google Sheets, go to Extensions β SheetAI β Open Sidebar.
- Paste your API key
Click the gear icon in the sidebar, paste your xAI API key, and save.
Tip: Use =SHEETAI_MODELS() in any cell to see all available models including Grok and their shorthand codes.