writer/palmyra-x4Closed APIEnterprise language model for workflow automation, coding, data analysis, and tool use
Benchmark Pricing$2.50 / 1M in$10.00 / 1M out
Context: 128,000 tokens•Max Output: 4,096 tokens•Released: 2024-10-09
TECHNICAL SPECIFICATIONS
Context Window128,000128K tokens
Max Output4,0964.1K tokens
LicenseProprietaryCloud API only
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema
MODEL CONTEXT PROTOCOL (MCP) READINESS
✓ Palmyra X4 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.
MCP Context Window Recommendations
With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.
API CALL INVOCATION EXAMPLE
// Example: Calling Palmyra X4 via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.WRITER_API_KEY,
});
const response = await client.chat.completions.create({
model: "writer/palmyra-x4",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Merge Gatewaywriter/palmyra-x4
$2.50 / $10.00
Amazon Bedrockwriter.palmyra-x4-v1:0
$2.50 / $10.00
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Writer
Alternative and family models from the same lab