Skip to main content
Deprecation notice: Palmyra X4 (palmyra-x4) will be deprecated on November 18, 2026.Migration path: Use Palmyra X5 (palmyra-x5) or Palmyra X6 (palmyra-x6) instead. Palmyra X5 and X6 have a 1M token context window (Palmyra X4 is 128k). On Amazon Bedrock, use us.writer.palmyra-x5-v1:0. See pricing for cost details and the deprecation policy for more information.
Whether you use no-code, Agent Builder, or APIs, you need to choose a model. Here is an overview of the Palmyra models and their capabilities.

Model comparison

The following table compares the capabilities, context windows, and pricing of the Palmyra X6, X5, and X4 models.
Palmyra X6 is the default model for WRITER Agent. Palmyra X6, X5, and X4 are available via API. Palmyra X5 and X4 are also available in No-code and Agent Builder. To analyze images, use vision capabilities with Palmyra X5.

Model details

Palmyra X6 is Writer’s default agentic model for WRITER Agent and long-horizon enterprise workflows. It was co-developed with the product’s orchestration layer. Capability scores in the Benchmarking tab measure the model in that combined system, which is how customers deploy it.Palmyra X6 can hold a single objective for up to 8 hours without supervision, planning, executing, verifying output, and delivering finished work rather than a draft that needs another pass.Pricing:
  • Input: $2.00 per 1M tokens
  • Output: $8.00 per 1M tokens
Context window: 1MTask economics (median on Writer’s internal evaluation of production customer tasks, n=22):
  • Cost per finished task: $0.12
  • Latency per finished task: 26 seconds
Palmyra X5 is Writer’s general-purpose model for building and scaling AI agents, featuring a 1 million token context window, adaptive reasoning, and strong speed and cost efficiency.Pricing:
  • Input: $0.60 per 1M tokens
  • Output: $6.00 per 1M tokens
Content window: 1M
Deprecation notice: Palmyra X4 (palmyra-x4) will be deprecated on November 18, 2026.Migration path: Use Palmyra X5 (palmyra-x5) or Palmyra X6 (palmyra-x6) instead. Palmyra X5 and X6 have a 1M token context window (Palmyra X4 is 128k). On Amazon Bedrock, use us.writer.palmyra-x5-v1:0. See pricing for cost details and the deprecation policy for more information.
palmyra-x4 is an advanced language model that excels in processing and understanding complex tasks. It’s ideal for workflow automation, coding tasks, and data analysis.Pricing:
  • Input: $2.50 per 1M tokens
  • Output: $10.00 per 1M tokens
Content window: 128k

Using models with the Writer API

To select the Palmyra model you want to use for a chat completion, specify the model ID in the model parameter of the request.Below is an example of specifying the palmyra-x5 model in a chat completion request.
You can also use prebuilt tools within a general-purpose chat completion request:To analyze images, use vision capabilities with Palmyra X5 directly in a chat completion.
Get started with the Writer API by signing up for a free account and following the API quickstart.

Deprecation policy

Timeline for deprecation

  • We’ll announce the deprecation of a model at least three months in advance. This will give customers time to plan for the migration to the new model.
  • We’ll continue to support deprecated models for a period of time after they’re deprecated. This will give customers time to migrate to the new model.
  • We’ll eventually stop supporting deprecated models. The timeline for this will vary depending on the model. We will announce the end of support for a deprecated model at least six months in advance.

Deprecated models

Migration path

  • We’ll provide customers with a migration path to the new model, including detailed documentation and support to help them migrate their applications.
  • We’ll also offer training and consulting services to help customers transition.