How to Use Morph V3 Large in Perplexity
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.
Prompts to try with Morph V3 Large in Perplexity
Copy an example into Perplexity, or ask in your own words.
Use Morph V3 Large to merge the TypeScript code and approved update pasted above. Include the complete original code, describe the intended change explicitly, and return the complete merged code.
Prepare an update adding type hints to the Python code in this conversation without changing its behavior. Use Morph V3 Large to merge the proposed signatures with the complete original code, marking unchanged sections.
Combine the three approved changes to the JavaScript module above into one update. Use Morph V3 Large for the merge and return the complete updated module for review.
Use Morph V3 Large to apply the proposed Go refactor above. Keep the original code complete, describe the helper extraction in the instruction, and mark all unchanged sections in the update.
The previous merge dropped a function that should stay. Prepare a corrected update with explicit markers for unchanged sections, then use Morph V3 Large with the original code pasted in this conversation.
How to set up Morph V3 Large in Perplexity
Pick the way that suits you. Each takes about two minutes.
Use the Perplexity connector
- Add a remote connector
In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Perplexity this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Morph V3 Large
One request; the result comes back by polling or a webhook.
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: Perplexity finds Morph V3 Large on Spiral, shows the price and runs it.
Morph V3 Large providers and prices
Spiral runs Morph V3 Large through OpenRouter. Open a card for today's price, with every fee included.
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
Ask Perplexity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Logprobs | on or off | ||
| Max tokens | 1 to 131072 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 |
Every API field of Morph: Morph V3 Large is on its tool page: open its card above.
What can you do with Morph V3 Large in Perplexity?
Turn code and proposed changes pasted into a conversation into complete updated code with Morph V3 Large. The chat app can prepare a specific merge instruction and keep unchanged sections explicit.
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.
More on Morph V3 Large and Perplexity
Overview
Morph V3 Large in other agents
More Perplexity guides
Questions about Morph V3 Large in Perplexity
Can Perplexity use Morph V3 Large?
Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Morph V3 Large like any built-in tool.
How much does Morph V3 Large cost in Perplexity?
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 Perplexity plan is separate.
Do I need an OpenRouter account to use Morph V3 Large in Perplexity?
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 Perplexity?
About two minutes: add a remote connector, then sign in to Spiral and approve.
Does Perplexity wait while Morph V3 Large runs?
Morph V3 Large runs in the background. Perplexity 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.
Start using Morph V3 Large in Perplexity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Perplexity:
set up https://spiral.ai/SKILL.md


