Spiral gives your agent every tool with one account. Browse the tools →

Grok Build · LLMReleased 2024-12-26

How to Use DeepSeek V3 in Grok Build

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 Build

Copy an example into Grok Build, or ask in your own words.

Use DeepSeek V3 at temperature 0 to inspect the failing test and the code it exercises. Explain the cause, propose the smallest patch, and add a regression test.

DeepSeek V3Grok Build
Try asking
  • Use DeepSeek V3 to trace the request handler in this project from input validation to response. List each failure path and cite the relevant file and function.

  • Use DeepSeek V3 at temperature 0 to review the project's pagination logic. Check empty results, duplicate sort values, and the final page; propose tests for any uncovered cases.

  • Use DeepSeek V3 to compare the implementation with the project's API documentation. Report mismatches with code references and suggest precise documentation edits.

  • Use DeepSeek V3 to extract the public functions from the supplied source files into JSON. Use this structure: {"functions":[{"name":"parseDate","purpose":"Parse a date string","assumptions":[]}]}. Include only functions actually present.

How to set up DeepSeek V3 in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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.

    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.

    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 Build 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.

OpenRouterLLM
DeepSeek: DeepSeek V3
deepseek/deepseek-chat

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Max tokens1 to 16384

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 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 Build?

Turn project code into explanations, proposed patches, and focused test cases with DeepSeek V3. Give it the relevant files, observed failure, and expected behavior so you can evaluate the result.

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.

Questions about DeepSeek V3 in Grok Build

Can Grok Build use DeepSeek V3?

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

How much does DeepSeek V3 cost in Grok Build?

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 Build plan is separate.

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

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 Build?

About two minutes: add the server, then sign in, then check it.

Does Grok Build wait while DeepSeek V3 runs?

DeepSeek V3 runs in the background. Grok Build 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.

Get started

Start using DeepSeek V3 in Grok Build

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok Build:

Set up Grok Build

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options