We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Writer: Palmyra X5

writer/palmyra-x5
TextInput: text1MAdded Jan 21, 2026

Try Writer: Palmyra X5 now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Writer: Palmyra X5 at a glance

  • Input price is 33% higher than the median of 434 Text models.
  • Context window of 1,040,000 tokens, enough for long documents and multi-turn conversations.
  • A typical request (1,000 input / 500 output tokens) costs about $0.01.

About Writer: Palmyra X5

Writer: Palmyra X5 is a text model from Writer, listed on api14 under the model id writer/palmyra-x5. Writer describes it as its most advanced model, purpose-built for building and scaling AI agents across the enterprise. It sits in the text category, so it is aimed at language work rather than image, audio or other modalities.

The model takes text in and returns text out. Its context window is 1,040,000 tokens, which is just over a million tokens, and the maximum output is 8,192 tokens. Writer's own description highlights industry-leading speed and efficiency on context windows up to 1 million tokens, so the large window is a deliberate part of the design rather than an incidental figure. There is no vision or audio input here; everything you send must be text.

That combination of a very large context window and a modest output ceiling shapes the practical use cases. Long documents, large codebases, extended transcripts and multi-document sets can be supplied in a single request without chunking, which suits retrieval-heavy agent workflows, summarisation over long sources, question answering grounded in big reference material, and extraction tasks where the answer is short but the evidence is spread across many pages. Because the output is capped at 8,192 tokens, it fits best when you need a focused response rather than a long generated document.

You call it through api14's OpenAI-compatible API using the model id writer/palmyra-x5, so existing OpenAI client libraries and request shapes work without special handling. The supported request parameters are max_tokens, stop, temperature, top_k and top_p. Use max_tokens to bound the response within the 8,192 output ceiling, stop to define where generation should halt, and temperature, top_k and top_p to control sampling. No other parameters are listed as supported, so keep requests to this set.

The main constraint to plan around is the output limit of 8,192 tokens. If your task is to produce a long report, a full file or an extended piece of prose in one pass, this model will truncate before you are done, and a model with a larger output allowance may fit better. Palmyra X5 is strongest when the input is large and the required answer is comparatively small.

How to call the Writer: Palmyra X5 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "writer/palmyra-x5".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "writer/palmyra-x5",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

max_tokensstoptemperaturetop_ktop_p

Specifications

Context length
1,040,000
Max output
8,192
Input
text
Output
text

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

Writer: Palmyra X5: frequently asked questions

How much does the Writer: Palmyra X5 API cost?
Writer: Palmyra X5 costs Input $2.10 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Writer: Palmyra X5?
Writer: Palmyra X5 reads up to 1,040,000 tokens per request: prompt, history and documents together. It writes up to 8,192 output tokens per response.
What can Writer: Palmyra X5 do?
Writer: Palmyra X5 accepts text and returns text.
How do I call Writer: Palmyra X5 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "writer/palmyra-x5". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Writer: Palmyra X5?
Comparable Text models at a similar price: OpenAI: GPT-4o (batch), OpenAI: GPT-5.6 Terra Pro (batch), OpenAI: GPT-5.6 Terra (batch). Each runs through the same API key, so switching is one string.

Writer: Palmyra X5 community

New topic

This community has no topics yet. Open the first one about Writer: Palmyra X5.