What is Fast Apply?
The Apply Model intelligently merges your original code with update snippets at 98% accuracy and 10,500+ tokens/second. Companies like Cursor use this method for fast, reliable edits. Methods like search and replace face high error rates and are slower because they need to output negative tokens and positive tokens. Unlike diff-based methods, it preserves code structure, comments, and syntax while understanding context semantically.Try the API Playground
Test the Apply Model instantly with live examples
Why Choose Fast Apply?
- Ultra-fast: 10,500 tokens/sec
- High accuracy: 98% success rate in one pass
- Token efficient: Processes only changed sections
Models
| Model | Speed | Accuracy | Best For |
|---|---|---|---|
| morph-v3-fast | 10,500+ tok/sec | 96% | Real-time edits |
| morph-v3-large | 2500+ tok/sec | 98% | Production systems |
| auto | Variable | ~98% | Automatic selection |
Quick Start
1
Setup Client
Python
2
Apply Changes
Python
Best Practices
Update Snippets: Use// ... existing code ... for unchanged sections:
- ✅ “I will add async/await error handling”
- ❌ “Change this function”