writer
Writer: Palmyra X5
Palmyra X5 is Writer's most advanced model, purpose-built for building and scaling AI agents across the enterprise. It delivers industry-leading speed and efficiency on context windows up to 1 million...
Context
1M tokens
Input / 1M tokens
$0.60
Output / 1M tokens
$6
Benchmark
—
Pricing
Input tokens$0.60 per 1M tokens
Output tokens$6 per 1M tokens
Technical details
Model IDwriter/palmyra-x5
Context window1M tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens8,192
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: 'writer/palmyra-x5',
messages: [{ role: 'user', content: 'Hello!' }],
})