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

# How to Use DeepSeek V3 in Devin

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 Devin

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

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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: Devin finds DeepSeek V3 on Spiral, shows the price and runs it.

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

## 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 Devin?

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.

## Overview

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

## 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)
- [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](https://spiral.ai/integrations/grok/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 Devin guides

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

## Questions about DeepSeek V3 in Devin

**Can Devin use DeepSeek V3?**

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

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

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

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

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 Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

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

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

