=DEEPSEEK() — use DeepSeek in Google Sheets
=DEEPSEEK() runs DeepSeek models from a cell in Google Sheets. DeepSeek’s API pricing is among the lowest of any capable model, which makes it attractive for very large bulk runs on your own key.
Syntax
=DEEPSEEK(prompt, [value])
| Parameter | Required | Description |
|---|---|---|
prompt |
yes | The instruction for DeepSeek. |
value |
no | Extra input appended to the prompt, usually a cell reference. |
Requirements
Like =GROK(), this is a bring-your-own-key function:
- A User Pro or Business plan of GPT for Sheets.
- A DeepSeek API key from platform.deepseek.com.
Add it via Extensions → GPT for Sheets → Set Up API Key → DeepSeek. Requests are billed by DeepSeek on your key.
Model options
| Model | When to use |
|---|---|
deepseek-chat (default) |
Writing, extraction, classification and everyday spreadsheet text tasks. |
deepseek-reasoner |
Logic, math, planning and multi-step prompts — slower but more careful. |
Examples
Summarize feedback in A2:
=DEEPSEEK("Summarize in one sentence, keep the customer's main complaint", A2)
Extract fields from messy text in A2:
=DEEPSEEK("Extract the email address. Return only the email or 'none'.", A2)
Bulk-translate descriptions in A2:
=DEEPSEEK("Translate to German, return only the translation", A2)
Tips
deepseek-chatcovers most spreadsheet tasks; switch todeepseek-reasoneronly when rows need multi-step logic — it is slower.- For bulk runs, freeze results with Replace all GPT formulas with results when done.
- No key and no paid plan? The built-in
=GPT(),=CLAUDE(),=GEMINI()and=MISTRAL()need no configuration.
Related functions
- =GROK() — the other bring-your-own-key model function
- =MISTRAL() — built-in fast, low-cost option
- =GPT() — built-in default
Try it
Install GPT for Sheets. See also: can DeepSeek edit Google Sheets?