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.
Prompts to try with DeepSeek V3 in Grok
Copy an example into Grok, or ask in your own words.
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
- 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.
https://api.spiral.ai/mcp
- 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.
- 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
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run DeepSeek V3
One request; the result comes back by polling or a webhook.
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.
DeepSeek V3 providers and prices
Spiral runs DeepSeek V3 through OpenRouter. Open a card for today's price, with every fee included.
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
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Min p | 0 to 1 | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 16384 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of DeepSeek: DeepSeek V3 is on its tool page: open its card above.
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.
More on DeepSeek V3 and Grok
Overview
DeepSeek V3 in other agents
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.
Start using DeepSeek V3 in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


