morph
Morph: Morph V3 Fast
Morph's fastest apply model for code edits. ~10,500 tokens/sec with 96% accuracy for rapid code transformations. The model requires the prompt to be in the following format: <instruction>{instruction}</instruction> <code>{initial_code}</code> <update>{edit_snippet}</update>...
Context
82k tokens
Input / 1M tokens
$0.80
Output / 1M tokens
$1.20
Benchmark
—
Pricing
Input tokens$0.80 per 1M tokens
Output tokens$1.20 per 1M tokens
Technical details
Model IDmorph/morph-v3-fast
Context window82k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens38,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'morph/morph-v3-fast',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Morph: Morph V3 Fast?
Get an API key and start making requests in minutes.
Get an API key