[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Morph V3 Fast](https://spiral.ai/integrations/openclaw/morph-v3-fast)

# How to Use Morph V3 Fast in OpenClaw

Morph V3 Fast merges proposed code changes into an existing file and returns the complete updated code. It favors quick edits; Morph V3 Large is intended for complex refactors across multiple scopes.

|  |  |
| --- | --- |
| Model | Morph V3 Fast |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.006428 per run at the default inputs. $1.04 per 1M input tokens, $1.56 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Morph V3 Fast in OpenClaw

- Each morning, process new approved code corrections in the connected review queue. Use Morph V3 Fast to merge each supplied edit with its original code and collect the resulting diffs.
- Every weekday, check the connected example correction queue. For each entry containing complete original code and an approved change snippet, use Morph V3 Fast to return the revised code for review.
- Each evening, process approved test assertion updates from the connected task queue. Use Morph V3 Fast to merge each supplied snippet into its original test code and report the diff.
- Every Monday, process approved function signature corrections from the connected review queue. Use Morph V3 Fast to merge each correction, with explicit markers preserving unchanged code, and collect the results.
- Each afternoon, process approved error-handling edits in the connected queue. Use Morph V3 Fast only when the entry supplies complete original code and a proposed edit, then return the complete revised code and diff.

## How to set up Morph V3 Fast in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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 Morph V3 Fast**: 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": "morph/morph-v3-fast",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds Morph V3 Fast on Spiral, shows the price and runs it.

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

## Morph V3 Fast tools and prices

- [Morph: Morph V3 Fast](https://spiral.ai/tools/openrouter/morph/morph-v3-fast) (OpenRouter): Up to $0.006428 per run at the default inputs. $1.04 per 1M input tokens, $1.56 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| stop |  | — |  |
| logprobs |  | — |  |
| max_tokens | 1 to 131072 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |
| top_logprobs | 0 to 20 | — |  |
| response_format |  | — |  |

## What can you do with Morph V3 Fast in OpenClaw?

Process a recurring queue of prepared code corrections into complete revised code. Give Morph V3 Fast each original code sample and its proposed edit, then collect the diffs for review.

### Apply a bug fix

Merge a proposed guard or corrected condition into existing code, then review the complete result.

### Add error handling

Apply a prepared error-handling snippet around an existing operation while marking surrounding code for preservation.

### Update a function signature

Merge proposed parameter or return-type changes into an existing function without asking the planning agent to reproduce the whole file.

### Revise an existing test

Apply prepared assertions or test cases to existing test code and inspect the resulting diff.

### Apply review feedback

Turn an agreed code review correction into a focused edit snippet and merge it into the original code.

### Update a code example

Merge a proposed correction into an existing standalone code example and return the complete revised example.

## Overview

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

## Morph V3 Fast in other agents

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

## More OpenClaw guides

- [Moondream 3.1](https://spiral.ai/integrations/openclaw/moondream-3-1)
- [Morph V3 Fast Batch](https://spiral.ai/integrations/openclaw/morph-v3-fast-batch)
- [Moondream 3 Preview](https://spiral.ai/integrations/openclaw/moondream-3-preview)
- [Morph V3 Large](https://spiral.ai/integrations/openclaw/morph-v3-large)
- [Mixtral 8x22B Instruct](https://spiral.ai/integrations/openclaw/mixtral-8x22b-instruct)
- [Morph V3 Large (batch)](https://spiral.ai/integrations/openclaw/morph-v3-large-batch)

## Questions about Morph V3 Fast in OpenClaw

**Can OpenClaw use Morph V3 Fast?**

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

**How much does Morph V3 Fast cost in OpenClaw?**

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

**Do I need an OpenRouter account to use Morph V3 Fast in OpenClaw?**

No. Spiral runs Morph V3 Fast on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Morph V3 Fast in OpenClaw?**

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

**Does OpenClaw wait while Morph V3 Fast runs?**

Morph V3 Fast runs in the background. OpenClaw starts the run, checks on it and gives you the text, json when it's ready.

**What is Morph V3 good at?**

Applying proposed code changes to existing code. Give it the original file and an edit snippet, and it returns the complete updated file.

**How should I format a Morph V3 prompt?**

Put the change description in <instruction>, the complete original code in <code>, and the proposed changes in <update>. Include enough surrounding code to identify where each change belongs.

**Why does Morph V3 sometimes remove code I wanted to keep?**

Unchanged sections need explicit preservation markers such as // ... existing code .... Omitting those markers can cause deletions, so inspect the resulting diff.

**How large can a Morph V3 Fast result be?**

Morph V3 Fast supports up to 131,072 output tokens and has a 262,144-token context window. Allow room for the complete updated file, even when the requested change is small.

**How does Morph V3 Fast differ from Morph V3 Large?**

Morph V3 Fast favors quick code edits. Morph V3 Large is intended for more difficult edits, including complex refactors across multiple scopes.

