---
title: "Morph ❤️ Continue"
url: "https://www.morphllm.com/blog/morph-continue"
description: "How Morph powers lightning-fast code edits in Continue"
date: "2025-05-28"
author: "Tejas Bhakta"
---
# Morph ❤️ Continue

# Stop fighting with AI code edits

Claude refactors your auth logic and hands back 80 lines of clean code. Great. Those 80 lines still have to end up in a file that already has code in it, and that is the annoying part.

Nobody puts this in the demo. You paste, then scroll around hunting for where each chunk belongs, and at some point the indentation has quietly come apart on you. Every time, it pulls you out of whatever you were in the middle of.

## What breaks when you apply

Here's what Claude gives you:

```python
# Claude gives you this:
def authenticate_user(email, password):
    """Updated authentication with rate limiting and better security"""
    # Beautiful, complete implementation...
    token = await auth.verify_user(email, password)
    return token
```

From here it's all manual. Find the original function first, assuming you still remember which file it's in. Line up the exact rows, paste, keep the indentation intact. An import drops somewhere in there, and the error is how you find out. Maybe one in seven of these hand-merges breaks. The clean ones aren't free either, because by the time the code sits where it should you've usually lost track of what you were going to do next.

![Morph Apply in action](/apply.jpg)

## Morph and Continue

Continue is an open source coding assistant, and it now uses Morph to apply edits. So take that scenario and run it through Continue instead. Claude writes the same 80 lines. Continue ships them to Morph together with your file, Morph puts them in the right place, and what comes back is a file that already has the change in it. Nothing to paste. No diff staring at you.

I'd been living with the old trade for years. Rewrite the file and wait out 30 seconds, or trust a diff that was wrong a quarter of the time and clean up after it. Morph turns that into about a second of nothing. And a second is short enough that it drops out of your attention completely.

## The latency threshold

There's a threshold where a tool stops being a tool you notice. Below some latency you're aware of the edit, waiting on it, mentally bookmarking where you were. Above it you just keep going, and the code stays the only thing in your head. Morph Apply runs at 1800+ tokens per second, which puts even a large refactor under that threshold. It arrives about as fast as you can read it.

## How it works

Tell Continue what you want changed. Claude writes ordinary code, no forced diff format, nothing you have to massage. Morph takes that and merges it into the file, and you're already onto the next thing.

The reason it holds up is the model underneath: speculative decoding we built specifically for merging code, trained on how real edits get applied rather than on generic text. That gets the failure rate down near 1%. For comparison, applying edits as traditional diffs fails 25% of the time and up.

## Get started

```yaml
# Add to your Continue config:
models:
  - uses: morphllm/morph-v3-fast
    with:
      MORPH_API_KEY: ${{ secrets.MORPH_API_KEY }}
```

[Get your free Morph API key →](/api-keys)

---

Every second you spend fixing a broken apply is a second the real problem sits there unsolved. Continue plus Morph keeps you in the part of the work where the good ideas show up.

[Start with Continue + Morph today.](/api-keys)
