[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [Morph V3 Large](https://spiral.ai/integrations/notion/morph-v3-large)

# How to Use Morph V3 Large in Notion

Morph V3 Large merges proposed code edits into existing source and returns the complete updated code. Compared with Morph V3 Fast, it targets complex refactors where merge accuracy matters more than speed.

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

## Prompts to try with Morph V3 Large in Notion

- Every morning, use Morph V3 Large to merge approved bug fixes from the incoming code-change queue. Require complete current source and a specific update for each item, then send the merged code through the existing validation workflow.
- Each night, collect approved edits targeting the same code module in the maintenance feed. Combine them into one update, use Morph V3 Large to merge it with the supplied current code, and retain the result for review.
- Every weekday, process the approved type-annotation changes in the incoming queue with Morph V3 Large. Preserve unchanged code through explicit markers and submit the complete merged results to the type checker.
- Once a week, use Morph V3 Large to merge the prepared refactors in the review queue. Process each complete source-and-update pair separately, then run the designated checks before accepting a result.
- Every evening, inspect queued updates for omitted markers around code that should remain. Correct those updates using their approved instructions, then use Morph V3 Large to merge them with the supplied originals.

## How to set up Morph V3 Large in Notion

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

### Use the Spiral skill

1. **Send Notion 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. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run Morph V3 Large in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Morph V3 Large, prices it and runs it each time the step fires.

### 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 Large**: 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-large",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Morph V3 Large tools and prices

- [Morph: Morph V3 Large](https://spiral.ai/tools/openrouter/morph/morph-v3-large) (OpenRouter): Up to $0.010159 per run at the default inputs. $1.17 per 1M input tokens, $2.47 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 Large in Notion?

Process queued code changes on a schedule with Morph V3 Large as the merge step. The scheduled agent can pair each approved update with current source and send the result through validation.

### Apply a reviewed bug fix

Give Morph V3 Large the current source and a prepared fix, such as a null check before session creation. Return the complete updated code for review.

### Merge a complex refactor

Apply a prepared refactor that changes several functions in one module. State the intended change explicitly and mark the sections that should stay.

### Add type annotations

Merge proposed TypeScript annotations or Python type hints into existing code. Supply the intended signatures in the update rather than asking the merge step to design them.

### Apply several review comments together

Combine prepared changes to the same source into one update. Review the merged result as a single change instead of applying each suggestion separately.

### Process a maintenance queue

Have an agent prepare maintenance edits, then use Morph V3 Large to merge each update with its corresponding current source. Validate the results before accepting them.

### Merge edits during a language migration

Apply prepared signature and call-site changes in languages such as Java, Go, or Rust. Keep the migration decisions in the planning agent and send specific updates for merging.

## Overview

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

## Morph V3 Large in other agents

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

## More Notion guides

- [Morph V3 Fast Batch](https://spiral.ai/integrations/notion/morph-v3-fast-batch)
- [Morph V3 Large (batch)](https://spiral.ai/integrations/notion/morph-v3-large-batch)
- [Morph V3 Fast](https://spiral.ai/integrations/notion/morph-v3-fast)
- [Motif 3](https://spiral.ai/integrations/notion/motif-3)
- [Moondream 3.1](https://spiral.ai/integrations/notion/moondream-3-1)
- [Muse Ember](https://spiral.ai/integrations/notion/muse-ember)

## Questions about Morph V3 Large in Notion

**Can Notion use Morph V3 Large?**

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

**How much does Morph V3 Large cost in Notion?**

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

**Do I need an OpenRouter account to use Morph V3 Large in Notion?**

No. Spiral runs Morph V3 Large 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 Large in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while Morph V3 Large runs?**

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

**What is Morph V3 used for?**

Morph V3 applies proposed code changes to existing source and returns the complete updated code. Have your agent decide what to change and prepare the update before handing off the merge.

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

Morph recommends Morph V3 Large for complex refactors where merge accuracy matters more than speed. Morph V3 Fast targets quicker edit application.

**What should a Morph V3 prompt contain?**

Use <instruction> for the specific change, <code> for the complete original source, and <update> for the proposed edit. Mark unchanged sections with // ... existing code ... rather than silently omitting them.

**Which programming languages can Morph V3 edit?**

Morph documents code merging for Python, TypeScript, JavaScript, Go, Rust, Java, C++, Ruby, PHP, Swift, and Kotlin. Supply the original source and the proposed change in the same language.

**How much code can Morph V3 Large handle?**

Morph V3 Large has a 262,144-token context window and supports up to 131,072 output tokens. Budget for the complete updated source in the response, even when the requested edit is small.

