# Writer: Palmyra X5

Palmyra X5 is a language model from Writer. It reads and writes text.

- **Model id:** `opencheap/palmyra-x5`
- **Price per 1M tokens:** $0.63 input / $6.30 output
- **Context:** 1M tokens, 8.1K max output

## Providers

1 provider. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Amazon Bedrock · quantization unknown | $0.63 | $0.63* | $6.30 | 0.35 s | 79 tok/s | 100 % | 1M | 8.1K |

\* No cache discount from this provider: cached tokens cost the input price.

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Amazon Bedrock:** `temperature`, `top_p`, `top_k`, `stop` (tools not confirmed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/palmyra-x5#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/palmyra-x5`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/palmyra-x5", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/palmyra-x5",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/palmyra-x5",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Palmyra X5

Palmyra X5 costs from $0.63 per 1M input tokens and $6.30 per 1M output tokens on OpenCheap. Its list price is $0.60 per 1M input tokens and $6.00 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.013, and 1,000 such requests about $12.60. Prices as of 2026-12-04 12:01 UTC.

One provider serves Palmyra X5 on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 1M tokens (1,040,000), room for roughly 780,000 words of English in one request.

Palmyra X5 is one of [2 Writer models](https://opencheap.si/models/lab/writer) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Palmyra X5 API cost per 1M tokens?

Palmyra X5 costs from $0.63 per 1M input tokens and $6.30 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 12:01 UTC.

### What does one Palmyra X5 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.013, and 1,000 such requests about $12.60. Every answer reports its own cost in usage.cost.

### Is Palmyra X5 cheaper on OpenCheap than its list price?

Its list price is $0.60 per 1M input tokens and $6.00 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here.

### Which providers serve Palmyra X5?

One provider serves Palmyra X5 on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Palmyra X5?

Its context window is 1M tokens (1,040,000), room for roughly 780,000 words of English in one request.

### How do I call the Palmyra X5 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/palmyra-x5. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Writer

- [Palmyra Vision 7B](https://opencheap.si/models/palmyra-vision-7b) (`palmyra-vision-7b`): $0.0015 / $0.006 per 1M · 4K context

[All 2 Writer models](https://opencheap.si/models/lab/writer)

## Similar models

- [Claude Sonnet 5](https://opencheap.si/models/claude-sonnet-5): Anthropic · 1M context · $1.00 / $5.00 per 1M, 18 % cheaper · [Compare with Palmyra X5](https://opencheap.si/compare/palmyra-x5-vs-claude-sonnet-5)
- [GPT 5.4](https://opencheap.si/models/gpt-5.4): OpenAI · 1M context · $1.00 / $6.00 per 1M · [Compare with Palmyra X5](https://opencheap.si/compare/palmyra-x5-vs-gpt-5.4)
- [Grok 4.7](https://opencheap.si/models/grok-4.7): xAI · 500K context · $1.26 / $5.03 per 1M, 16 % cheaper · [Compare with Palmyra X5](https://opencheap.si/compare/palmyra-x5-vs-grok-4.7)
- [Qwen3.8 Max](https://opencheap.si/models/qwen3.8-max): Qwen · 1M context · $1.80 / $5.41 per 1M, 8 % cheaper · [Compare with Palmyra X5](https://opencheap.si/compare/palmyra-x5-vs-qwen3.8-max)
- [Fugu Max](https://opencheap.si/models/fugu-max): Sakana AI · 1M context · $1.88 / $5.64 per 1M · [Compare with Palmyra X5](https://opencheap.si/compare/palmyra-x5-vs-fugu-max)
- [Claude Opus 5.5](https://opencheap.si/models/claude-opus-5.5): Anthropic · 1M context · $2.16 / $10.80 per 1M · [Compare with Palmyra X5](https://opencheap.si/compare/palmyra-x5-vs-claude-opus-5.5)

[Compare Palmyra X5 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/palmyra-x5 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
