Palmyra X5
About this model
Palmyra X5 is an AI model from Writer, made available through the API on January 21, 2026. It can read up to 1,040,000 tokens in one request, roughly 1,950 pages of text, and write up to 8,192 tokens in a single answer.
Through the API it costs $0.60 per million input tokens and $6 per million output tokens. Its pricing sits in the middle of the market.
Quality scores
Rankings →Not rated yet. Independent test results usually appear a few weeks after a model is released.
Where to use it
Companies that serve this model through an API: 1. Prices per million tokens, cheapest first.
Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.
Use it in your code
Call Palmyra X5 through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "writer/palmyra-x5", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
reply = client.chat.completions.create(
model="writer/palmyra-x5",
messages=[{"role": "user", "content": "Hello! What can you do?"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://openrouter.ai/api/v1", apiKey: process.env.OPENROUTER_API_KEY });
const reply = await client.chat.completions.create({
model: "writer/palmyra-x5",
messages: [{ role: "user", content: "Hello! What can you do?" }],
});
console.log(reply.choices[0].message.content);The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.
What it costs in practice
- 1,000 chat replies$2.10
- Summarise a 100-page document$0.036
- An app with 10,000 requests a day for a month$900
Similar-priced alternatives
| Model | Inputi | Outputi | Contexti | |
|---|---|---|---|---|
Nemotron 3 UltraNVIDIA | $0.60 | $2.40 | 256K | Compare with ⇄ |
GLM 5Z.ai (Zhipu) | $0.60 | $1.92 | 200K | Compare with ⇄ |
Kimi K2.6Moonshot AI | $0.65 | $3.41 | 256K | Compare with ⇄ |
Qwen3.5 397B A17BAlibaba Qwen | $0.55 | $3.50 | 256K | Compare with ⇄ |
DeepSeek V4 Pro 0813DeepSeek | $0.66 | $1.98 | 1M | Compare with ⇄ |
Aion 3.5 MiniAion Labs | $0.70 | $1.40 | 256K | Compare with ⇄ |
Frequently asked questions
- How much does Palmyra X5 cost?
- Palmyra X5 costs $0.60 per million input tokens and $6 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $2.10.
- What is the context window of Palmyra X5?
- Palmyra X5 can read up to 1,040,000 tokens in one request, about 1,950 pages of text. It can write up to 8,192 tokens in a single answer.
- Is Palmyra X5 open source?
- No. Palmyra X5 is a closed model: its weights are not published, so you use it through Writer’s own apps and API, or through cloud providers.
- Who makes Palmyra X5?
- Palmyra X5 is made by Writer. It became available through the API on January 21, 2026.
- Can Palmyra X5 read images?
- No. Palmyra X5 only accepts text as input.
- What are the alternatives to Palmyra X5?
- Models with a similar price from other companies include Nemotron 3 Ultra, GLM 5 and Kimi K2.6. You can compare them side by side on this page.