[Integrations](https://spiral.ai/integrations) › [Amp](https://spiral.ai/integrations/amp) › [DeepSeek V4 Flash 0731 (batch)](https://spiral.ai/integrations/amp/deepseek-v4-flash-0731-batch)

# How to Use DeepSeek V4 Flash 0731 (batch) in Amp

DeepSeek V4 Flash 0731 suits coding, tool use, and reasoning across long text. It replaces DeepSeek V4 Flash Preview with stronger agent capabilities.

|  |  |
| --- | --- |
| Model | DeepSeek V4 Flash 0731 (batch) |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.00077 per run at the default inputs. $0.0624 per 1M input tokens, $0.1872 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DeepSeek V4 Flash 0731 (batch) in Amp

- Use DeepSeek V4 Flash 0731 with high reasoning effort to investigate the failing tests in this project. Reproduce the failure, trace the relevant code, make a focused fix, and report the checks you ran.
- Use DeepSeek V4 Flash 0731 to map the authentication flow in this repository. Cite file paths for each step and identify where validation, session creation, and expiration happen.
- Use DeepSeek V4 Flash 0731 with max reasoning effort to compare this project's dependency usage with its migration guide. Produce an ordered migration plan with affected files and a verification step for each change.
- Use DeepSeek V4 Flash 0731 to implement the feature described in the project issue. Inspect the existing patterns first, cover the acceptance criteria, and explain any unresolved requirements.
- Use DeepSeek V4 Flash 0731 to review the current diff for logic errors. For each finding, provide the affected code, a concrete failure scenario, and a proposed regression test.

## How to set up DeepSeek V4 Flash 0731 (batch) in Amp

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

### Use Spiral's MCP server

1. **Add the server**: No header and no client ID or secret: Amp registers itself with Spiral.

```bash
amp mcp add spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `amp`. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
amp mcp doctor
```

### Use the Spiral skill

1. **Send Amp 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 Flash 0731 (batch)**: 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-flash-0731:batch",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Amp finds DeepSeek V4 Flash 0731 (batch) on Spiral, shows the price and runs it.

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

## DeepSeek V4 Flash 0731 (batch) tools and prices

- [DeepSeek: DeepSeek V4 Flash 0731 (batch)](https://spiral.ai/tools/openrouter/deepseek/deepseek-v4-flash-0731%3Abatch) (OpenRouter): Up to $0.00077 per run at the default inputs. $0.0624 per 1M input tokens, $0.1872 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 Flash 0731 (batch) in Amp?

DeepSeek V4 Flash 0731 can help turn repository context into fixes, migration plans, and feature drafts. Give it a reproducible problem and clear acceptance criteria so the agent can check its work.

### Investigate a failing test

Use DeepSeek V4 Flash 0731 to connect a failure log with the relevant code, propose a cause, and draft a focused fix with a regression check.

### Plan a code migration

Ask DeepSeek V4 Flash 0731 to compare current code with a migration guide, identify affected interfaces, and order the changes by dependency.

### Draft a feature across application layers

Give DeepSeek V4 Flash 0731 written requirements for a feature and request coordinated changes to validation, application logic, and tests.

### Compare lengthy specifications

Have DeepSeek V4 Flash 0731 compare labeled specification texts and produce a table of changed requirements with supporting section references.

### Build an incident review draft

Supply DeepSeek V4 Flash 0731 with timestamped log text and incident notes. Request a timeline that separates observations, hypotheses, and unanswered questions.

### Plan a task with tool results

Ask DeepSeek V4 Flash 0731 to break a task into steps, use available tools to gather evidence, and report which conclusions the results support.

## Overview

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

## DeepSeek V4 Flash 0731 (batch) in other agents

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

## More Amp guides

- [DeepSeek V4 Flash 0731](https://spiral.ai/integrations/amp/deepseek-v4-flash-0731)
- [DeepSeek V4 Flash Latest](https://spiral.ai/integrations/amp/deepseek-v4-flash-latest)
- [DeepSeek V4 Flash 0423](https://spiral.ai/integrations/amp/deepseek-v4-flash-0423)
- [DeepSeek V4 Flash Vision Exp](https://spiral.ai/integrations/amp/deepseek-v4-flash-vision-exp)
- [DeepSeek V3.2 Exp](https://spiral.ai/integrations/amp/deepseek-v3-2-exp)
- [DeepSeek V4 Pro 0423](https://spiral.ai/integrations/amp/deepseek-v4-pro-0423)

## Questions about DeepSeek V4 Flash 0731 (batch) in Amp

**Can Amp use DeepSeek V4 Flash 0731 (batch)?**

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run DeepSeek V4 Flash 0731 (batch) like any built-in tool.

**How much does DeepSeek V4 Flash 0731 (batch) cost in Amp?**

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

**Do I need an OpenRouter account to use DeepSeek V4 Flash 0731 (batch) in Amp?**

No. Spiral runs DeepSeek V4 Flash 0731 (batch) 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 Flash 0731 (batch) in Amp?**

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

**Does Amp wait while DeepSeek V4 Flash 0731 (batch) runs?**

DeepSeek V4 Flash 0731 (batch) runs in the background. Amp starts the run, checks on it and gives you the text, json when it's ready.

**What is DeepSeek V4 Flash 0731 good at?**

Its documented uses include coding, reasoning, long text, and agent workflows. Consider it for debugging, comparing specifications, or planning tasks that require several steps.

**How does 0731 differ from DeepSeek V4 Flash Preview?**

0731 is the official Flash release that replaces the preview. Its main documented improvement is stronger agent capabilities.

**Can DeepSeek V4 Flash 0731 interpret screenshots?**

Its documented input is text. For screenshot-based debugging, provide extracted text, error messages, and a written description of the layout.

**How much context can DeepSeek V4 Flash handle?**

DeepSeek documents a one-million-token context length. Use that capacity for related source material, and ask for references to specific sections when comparing long documents.

**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 and reserve max for problems with several interacting constraints.

