Skip to content
No models found
OpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Apps
  • Models
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Announcements
  • CareersHiring
  • Privacy
  • Terms of Service
  • Support
  • State of AI
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • SDK
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for morph

Morph: Morph V3 Large

morph/morph-v3-large

Compare

Morph's high-accuracy apply model for complex code edits. ~4,500 tokens/sec with 98% accuracy for precise code transformations.

The model requires the prompt to be in the following format: <instruction>{instruction}</instruction> <code>{initial_code}</code> <update>{edit_snippet}</update>

Zero Data Retention is enabled for Morph. Learn more about this model in their documentation(opens in new tab)

Modalities

Input Price

$0.90per 1M

Output Price

$1.90per 1M

Context

262K

Weekly Tokens

1.2B

Released

Jul 7, 2025

Overview
Providers
Performance
Pricing
Apps
Activity
Uptime
API

Sample code and API for Morph V3 Large

OpenRouter normalizes requests and responses across providers for you.

1

Get your API key

Create an API key from your OpenRouter dashboard and set it as an environment variable:

2

Make your first request

Use morph/morph-v3-large with the OpenRouter API:

FastApply allows you to apply code edits by providing the original code, the desired changes, and instructions. The model will merge the changes intelligently.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

3

Enable streaming

Add "stream": true to your request body to receive responses as server-sent events:

Endpoint

POSThttps://openrouter.ai/api/v1/chat/completions
AuthorizationBearer $OPENROUTER_API_KEY
Content-Typeapplication/json
HTTP-Refereroptional — your site URL, for rankings
X-Titleoptional — your site name, for rankings
Modelmorph/morph-v3-large

Parameters

NameTypeDefaultDescription
max_tokensinteger—This sets the upper limit for the number of tokens the model can generate in response.
temperaturefloat1This setting influences the variety in the model's responses.
stoparray—Stop generation immediately if the model encounter any token specified in the stop array.