SheetMagicSheetMagic
Getting Started

Configuration

Configure SheetMagic settings, models, and preferences

Basic Configuration

SheetMagic settings can be accessed through the sidebar or settings panel in Google Sheets.

Accessing Settings

  1. Go to ExtensionsSheetMagicSettings
  2. Or click the gear icon in the SheetMagic sidebar

Provider Configuration

Selecting a Provider

Choose your preferred AI provider from the dropdown:

ProviderBest For
OpenAIFull-featured: text, images, vision, speech, video
ClaudeLong documents, complex reasoning
GeminiLarge context (1M tokens), free tier
OpenRouterAccess to 100+ models
StraicoAll-in-one with images, video, audio

API Key Setup

Provider: OpenAI
API Key: sk-proj-xxxxxxxxxxxxxxxx

Get your key at platform.openai.com/api-keys

Provider: Claude
API Key: sk-ant-xxxxxxxxxxxxxxxx

Get your key at console.anthropic.com/settings/keys

Provider: Gemini
API Key: AIzaxxxxxxxxxxxxxxxx

Get your key at aistudio.google.com/app/apikey

Provider: OpenRouter
API Key: sk-or-xxxxxxxxxxxxxxxx

Get your key at openrouter.ai/keys

Provider: Straico
API Key: xxxxxxxxxxxxxxxx

Get your key at platform.straico.com/user-settings

Model Selection

Text Generation Models

Select your preferred model for =AITEXT(), =AILIST(), and =AILISTH():

ProviderRecommended Models
OpenAIgpt-5, gpt-4o, gpt-4o-mini (free tier)
Claudeclaude-opus-4-5, claude-sonnet-4-5, claude-haiku-4-5
Geminigemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite (free)
OpenRouteropenai/gpt-4o, anthropic/claude-opus-4.5
Straicoopenai/gpt-5, anthropic/claude-sonnet-4.5

Image Generation Models

Select your preferred model for =AIIMAGE():

ProviderAvailable Models
OpenAIdall-e-3, dall-e-2, gpt-image-1
Geminiimagen-4-ultra, imagen-4, imagen-4-fast
Straicodall-e-3, flux-1.1, ideogram-v3

Video Generation Models

Select your preferred model for =AIVIDEO():

ProviderAvailable Models
OpenAIsora-2-pro, sora-2
Geminiveo-3, veo-3-fast
Straicoveo-2, runway-gen-4-turbo

Advanced Settings

Temperature

Controls the creativity/randomness of AI responses.

ValueBehavior
0Deterministic, consistent responses
0.5Balanced
1Default, moderate creativity
2Highly creative, varied responses

Temperature is not supported for reasoning models (o1, o3, o4). These models use reasoning effort levels instead.

Max Tokens

Controls the maximum length of AI responses. Default is 500 tokens.

  • Short responses: 100-200 tokens
  • Standard responses: 500 tokens (default)
  • Long responses: 1000-2000 tokens
  • Very long responses: 4000+ tokens

Reasoning Effort (Reasoning Models Only)

For models like o1, o3, and o4:

LevelDescription
LowQuick responses, less reasoning
MediumBalanced reasoning (default)
HighDeep reasoning, more thorough

Function-Specific Settings

AITEXT Settings

Model: gpt-4o
Temperature: 1.0
Max Tokens: 500

AIIMAGE Settings

Model: dall-e-3
Size: 1024x1024
Quality: standard

AISPEECH Settings

Model: tts-1-hd
Voice: alloy (default)
Speed: 1.0

GPTV Settings

Model: gpt-4o
Max Tokens: 500
Detail: auto

Best Practices

For Cost Optimization

TaskRecommended Model
Simple queriesgpt-4o-mini, gemini-2.5-flash-lite
Standard contentgpt-4o, claude-sonnet-4.5
Complex analysisgpt-5, claude-opus-4.5
High volumeHaiku models, Flash-Lite

For Quality

TaskRecommended Model
Creative writinggpt-5, claude-opus-4.5
Technical contentgpt-4o, claude-sonnet-4.5
Code generationgpt-5.1-codex, qwen3-coder
Researcho1, deepseek-r1

For Speed

TaskRecommended Model
Quick responsesgpt-4o-mini, claude-haiku-4.5
Batch processinggemini-2.5-flash, grok-4-fast

Troubleshooting Configuration

IssueSolution
API key not workingVerify key is correct and has credits
Model not availableCheck if model is supported by your provider
Slow responsesTry a faster model (mini, flash, haiku)
Responses too shortIncrease Max Tokens setting
Responses too variedLower Temperature setting

Keep your API keys secure. Never share them or commit them to version control.

Multiple Providers

You can switch between providers at any time:

  1. Open SheetMagic Settings
  2. Select a different provider
  3. Enter the new API key
  4. Your formulas will automatically use the new provider

Tip: Use OpenRouter or Straico to access multiple providers with a single API key.