[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [DeepSeek V4 Pro 0813](https://spiral.ai/integrations/factory-droid/deepseek-v4-pro-0813)

# How to Use DeepSeek V4 Pro 0813 in Factory Droid

DeepSeek V4 Pro 0813 suits coding tasks, tool-based workflows, and reasoning over long text. It replaces DeepSeek V4 Pro Preview, with stronger agent results in DeepSeek's published evaluations.

|  |  |
| --- | --- |
| Model | DeepSeek V4 Pro 0813 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.023649 per run at the default inputs. $0.1443 per 1M input tokens, $5.772 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DeepSeek V4 Pro 0813 in Factory Droid

- Use DeepSeek V4 Pro 0813 with high reasoning effort to investigate the failing tests in this project. Reproduce one failure, trace the cause through the relevant files, make the smallest fix, and run the affected tests.
- Use DeepSeek V4 Pro 0813 with max reasoning effort to review this project's retry logic. Check timeouts, duplicate requests, and partial failures; add regression tests for any confirmed bug.
- Use DeepSeek V4 Pro 0813 to implement pagination for the existing list endpoint. Follow the project's conventions, preserve existing response behavior, and test the first, middle, last, and empty pages.
- Use DeepSeek V4 Pro 0813 with high reasoning effort to compare the API documentation with the route handlers in this repository. List confirmed mismatches with file references and propose a focused correction for each.
- Use DeepSeek V4 Pro 0813 to inspect the attached terminal failure and this project's build configuration. Test the most likely explanation first, record the commands you run, and report what the results establish.

## How to set up DeepSeek V4 Pro 0813 in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 V4 Pro 0813**: 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-v4-pro-0813",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds DeepSeek V4 Pro 0813 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## DeepSeek V4 Pro 0813 tools and prices

- [DeepSeek: DeepSeek V4 Pro 0813](https://spiral.ai/tools/openrouter/deepseek/deepseek-v4-pro-0813) (OpenRouter): Up to $0.021148 per run at the default inputs. $1.716 per 1M input tokens, $5.148 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 V4 Pro 0813 in Factory Droid?

Turn a bug report or feature request into code changes and a concrete verification plan with DeepSeek V4 Pro. Give the agent relevant project files, failing output, and acceptance criteria so it can connect the implementation to observable behavior.

### Fix a bug across several files

Give DeepSeek V4 Pro 0813 the failing behavior, relevant code, and test output. Ask for the smallest patch and a regression test that reproduces the original failure.

### Build a feature from acceptance criteria

Turn a written feature request into an implementation plan, code changes, and checks tied to each acceptance criterion. Review the proposed behavior before applying the changes.

### Investigate terminal failures

Supply command output, environment details, and recent changes. Ask for ranked explanations and a command that would confirm or reject each explanation.

### Compare long technical documents

Provide the documents as text and request a comparison of requirements, contradictions, and unanswered questions. Require a section reference for each finding.

### Extract structured records

Convert supplied support messages or operational notes into JSON records. Include an example record and rules for missing information.

### Prepare recurring issue triage

Have an agent supply new issue descriptions and recent diagnostic results. Ask for likely duplicates, reproduction gaps, and the next useful investigation step.

### Evaluate an engineering decision

Supply constraints and candidate designs, then ask for a comparison grounded in those constraints. Request failure scenarios and a test plan for the recommended design.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## DeepSeek V4 Pro 0813 in other agents

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

## More Factory Droid guides

- [DeepSeek V4 Pro 0423](https://spiral.ai/integrations/factory-droid/deepseek-v4-pro-0423)
- [DeepSeek V4.1 Flash](https://spiral.ai/integrations/factory-droid/deepseek-v4-1-flash)
- [DeepSeek V4 Flash Vision Exp](https://spiral.ai/integrations/factory-droid/deepseek-v4-flash-vision-exp)
- [DeepSeek V4.1 Flash 1017](https://spiral.ai/integrations/factory-droid/deepseek-v4-1-flash-1017)
- [DeepSeek V4 Flash Latest](https://spiral.ai/integrations/factory-droid/deepseek-v4-flash-latest)
- [DeepSeek V4.1 Flash 1017 (batch)](https://spiral.ai/integrations/factory-droid/deepseek-v4-1-flash-1017-batch)

## Questions about DeepSeek V4 Pro 0813 in Factory Droid

**Can Factory Droid use DeepSeek V4 Pro 0813?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run DeepSeek V4 Pro 0813 like any built-in tool.

**How much does DeepSeek V4 Pro 0813 cost in Factory Droid?**

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

**Do I need an OpenRouter account to use DeepSeek V4 Pro 0813 in Factory Droid?**

No. Spiral runs DeepSeek V4 Pro 0813 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 V4 Pro 0813 in Factory Droid?**

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

**Does Factory Droid wait while DeepSeek V4 Pro 0813 runs?**

DeepSeek V4 Pro 0813 runs in the background. Factory Droid starts the run, checks on it and gives you the text, json when it's ready.

**What is DeepSeek V4 Pro best suited for?**

Coding, terminal tasks, and workflows that combine reasoning with tools are well-supported use cases in DeepSeek's published evaluations. Use it to propose fixes or work through several dependent steps, then check the result against tests or source material.

**How does DeepSeek V4 Pro 0813 differ from the preview?**

0813 is the official production release that replaces DeepSeek V4 Pro Preview. DeepSeek reports improved agent capabilities and stronger results across the benchmarks listed on its model card.

**How much text can DeepSeek V4 Pro handle?**

DeepSeek publishes a 1M-token context window and a maximum output of 384K tokens. Treat those as capacity limits: ask for a focused answer even when supplying extensive background text.

**Can DeepSeek V4 Pro analyze screenshots or photographs?**

It accepts text and returns text. For a screenshot-based task, supply extracted text or a written description of the relevant details.

**Which reasoning effort should I choose?**

DeepSeek recommends low for simple tasks, high for everyday agent work, and max for complex problems. Start with high for debugging or planning; reserve max for problems with several interacting constraints.

