[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [DeepSeek V3](https://spiral.ai/integrations/grok/deepseek-v3)

# How to Use DeepSeek V3 in Grok

DeepSeek V3 is a practical choice for coding, math, and drafting from supplied text. Its published 128K context supports working through long passages and code excerpts in one conversation.

|  |  |
| --- | --- |
| Model | DeepSeek V3 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.00549 per run at the default inputs. $0.33462 per 1M input tokens, $1.33731 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DeepSeek V3 in Grok

- Use DeepSeek V3 with temperature set to zero to explain the code pasted above. Trace one normal input and one edge case, then suggest three tests.
- Use DeepSeek V3 to compare the two passages above in a table. For each disagreement, quote the relevant text and explain what remains unresolved.
- Use DeepSeek V3 to translate the message above into Simplified Chinese for a customer support reply. Preserve product names, numbers, and the supplied glossary; flag ambiguous wording.
- Use DeepSeek V3 with temperature set to zero to check the calculation above. Show the units, state assumptions, and verify the result using a second method.
- Use DeepSeek V3 to role-play a customer who cannot finish checkout. Answer one question at a time, reveal details only when asked, and after six exchanges critique my diagnostic questions.

## How to set up DeepSeek V3 in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run DeepSeek V3**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "openrouter",
    "model": "deepseek/deepseek-chat",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Grok finds DeepSeek V3 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## DeepSeek V3 tools and prices

- [DeepSeek: DeepSeek V3](https://spiral.ai/tools/openrouter/deepseek/deepseek-chat) (OpenRouter): Up to $0.00549 per run at the default inputs. $0.33462 per 1M input tokens, $1.33731 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with DeepSeek V3 in Grok?

Work through code, calculations, and English or Chinese drafts in conversation with DeepSeek V3. Supply the source text and define the answer's scope, format, and length.

### Explain unfamiliar code

Ask DeepSeek V3 to trace a function's inputs, branches, and outputs, then identify assumptions that deserve tests.

### Draft a bug fix

Give DeepSeek V3 the failing behavior, relevant code, and expected result. Request a small patch and a regression test for review.

### Check a quantitative argument

Use DeepSeek V3 to work through a calculation with units, explicit assumptions, and an independent check of the result.

### Compare long reference passages

Supply labeled passages to DeepSeek V3 and request a comparison with supporting excerpts and unresolved questions.

### Extract structured records

Have DeepSeek V3 turn supplied text into JSON using an example object. Require null for missing information and validate each result.

### Prepare English and Chinese drafts

Ask DeepSeek V3 to translate supplied text between English and Chinese while preserving a glossary, names, and numerical details.

### Practice a difficult conversation

Use DeepSeek V3 to role-play a customer interview or support exchange, then review which questions uncovered useful information.

### Draft short fiction

Give DeepSeek V3 a character, conflict, and word limit. Request a complete scene, then revise it against specific editorial constraints.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Grok guides](https://spiral.ai/integrations/grok)

## DeepSeek V3 in other agents

- [Amp](https://spiral.ai/integrations/amp/deepseek-v3)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/deepseek-v3)
- [Claude](https://spiral.ai/integrations/claude-desktop/deepseek-v3)
- [Claude Code](https://spiral.ai/integrations/claude-code/deepseek-v3)
- [Cline](https://spiral.ai/integrations/cline/deepseek-v3)
- [Codex](https://spiral.ai/integrations/codex/deepseek-v3)
- [Cursor](https://spiral.ai/integrations/cursor/deepseek-v3)
- [Devin](https://spiral.ai/integrations/devin/deepseek-v3)
- [dots](https://spiral.ai/integrations/dots/deepseek-v3)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/deepseek-v3)
- [Gemini](https://spiral.ai/integrations/gemini/deepseek-v3)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/deepseek-v3)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/deepseek-v3)
- [goose](https://spiral.ai/integrations/goose/deepseek-v3)
- [Grok Build](https://spiral.ai/integrations/grok-build/deepseek-v3)
- [Hermes](https://spiral.ai/integrations/hermes/deepseek-v3)
- [Instinct](https://spiral.ai/integrations/instinct/deepseek-v3)
- [Manus](https://spiral.ai/integrations/manus/deepseek-v3)
- [Muse](https://spiral.ai/integrations/muse/deepseek-v3)
- [Muse Code](https://spiral.ai/integrations/muse-code/deepseek-v3)
- [n8n](https://spiral.ai/integrations/n8n/deepseek-v3)
- [Notion](https://spiral.ai/integrations/notion/deepseek-v3)
- [OpenClaw](https://spiral.ai/integrations/openclaw/deepseek-v3)
- [opencode](https://spiral.ai/integrations/opencode/deepseek-v3)
- [Perplexity](https://spiral.ai/integrations/perplexity/deepseek-v3)
- [Raycast](https://spiral.ai/integrations/raycast/deepseek-v3)
- [VS Code](https://spiral.ai/integrations/vscode/deepseek-v3)
- [Windsurf](https://spiral.ai/integrations/windsurf/deepseek-v3)
- [Zapier](https://spiral.ai/integrations/zapier/deepseek-v3)

## More Grok guides

- [DeepSeek R1 0528](https://spiral.ai/integrations/grok/deepseek-r1-0528)
- [DeepSeek V3 0324](https://spiral.ai/integrations/grok/deepseek-v3-0324)
- [DeepSeek Pro Latest](https://spiral.ai/integrations/grok/deepseek-pro-latest)
- [DeepSeek V3.1](https://spiral.ai/integrations/grok/deepseek-v3-1)
- [DeepSeek Flash Latest](https://spiral.ai/integrations/grok/deepseek-flash-latest)
- [DeepSeek V3.1 Terminus](https://spiral.ai/integrations/grok/deepseek-v3-1-terminus)

## Questions about DeepSeek V3 in Grok

**Can Grok use DeepSeek V3?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run DeepSeek V3 like any built-in tool.

**How much does DeepSeek V3 cost in Grok?**

Up to $0.00549 per run at the default inputs. $0.33462 per 1M input tokens, $1.33731 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an OpenRouter account to use DeepSeek V3 in Grok?**

No. Spiral runs DeepSeek V3 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up DeepSeek V3 in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while DeepSeek V3 runs?**

DeepSeek V3 runs in the background. Grok starts the run, checks on it and gives you the text, json when it's ready.

**What is DeepSeek V3 good at?**

Coding and math stand out in DeepSeek's reported evaluations. Practical uses include explaining code, proposing fixes, and working through quantitative problems with explicit assumptions.

**How much context can DeepSeek V3 handle?**

DeepSeek's original model documentation reports a 128K-token context and retrieval tests through that length. Use that as the published model reference, and request a focused answer when supplying long material.

**Which languages does DeepSeek V3 support?**

DeepSeek V3 was trained on multilingual text, with English and Chinese making up the majority. For translation work, specify the target language, audience, and terms that must stay unchanged.

**Can I trust DeepSeek V3's factual answers?**

Verify factual answers against source material. DeepSeek reports a 24.9 score on SimpleQA, so a fluent answer alone is insufficient evidence; supply references and ask it to identify unsupported claims.

**How should I prompt DeepSeek V3 for JSON?**

Explicitly request JSON and include an example of the required structure. Keep each extraction task small enough to return a complete object, and validate the result before using it.

