Morph

Morph API

Access Morph instantly with Puter.js, and add AI to any app in a few lines of code without backend or API keys.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain AI like I'm five!", {
    model: "morph/morph-v3-fast"
}).then(response => {
    console.log(response);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain AI like I'm five!", {
            model: "morph/morph-v3-fast"
        }).then(response => {
            console.log(response);
        });
    </script>
</body>
</html>

List of Morph Models

Chat

Morph V3 Fast

morph/morph-v3-fast

Morph V3 Fast is a specialized code-editing model built by Morph, designed to serve as the execution layer in AI-assisted development workflows. Rather than generating code from scratch, it applies edits suggested by frontier reasoning models like Claude or GPT-4o to existing code files. It processes at approximately 10,500 tokens per second with around 96% accuracy on code transformations, making it one of the fastest options for automated code apply tasks. The model supports an 81,920-token context window and up to 38,000 output tokens. Morph V3 Fast is built for high-volume, latency-sensitive pipelines where code edits need to be applied rapidly and cheaply.

Chat

Morph V3 Large

morph/morph-v3-large

Morph V3 Large is Morph's high-accuracy code apply model, optimized for complex and precise code transformations. Like its faster sibling, it acts as the execution layer in agentic coding workflows — taking edit suggestions from reasoning models and merging them into existing code. It achieves approximately 98% accuracy on code transformations at speeds around 4,500 tokens per second. The model supports a 262,144-token context window with up to 131,100 output tokens, allowing it to process entire codebases or large files in a single request. Morph V3 Large is the better choice when edit correctness matters more than raw speed — particularly for production codebases or complex multi-file changes where a 2% accuracy gap can mean hundreds of broken edits at scale.

Frequently Asked Questions

What is this Morph API about?

The Morph API gives you access to models for AI chat. Through Puter.js, you can start using Morph models instantly with zero setup or configuration.

Which Morph models can I use?

Puter.js supports a variety of Morph models, including Morph V3 Fast and Morph V3 Large. Find all AI models supported by Puter.js in the AI model list.

How much does it cost?

With the User-Pays model, users cover their own AI costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.

What is Puter.js?

Puter.js is a JavaScript library that provides access to AI, storage, and other cloud services directly from a single API. It handles authentication, infrastructure, and scaling so you can focus on building your app.

Does this work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Morph API through Puter.js works with any JavaScript framework, Node.js, or plain HTML. Just include the library and start building. See the documentation for more details.