# Palmyra X4 API Pricing

As of October 10, 2026, Palmyra X4 costs $2.50 per 1M input tokens and $10.00 per 1M output tokens on Amazon Bedrock. It has a 128,000-token context window and returns up to 8,192 tokens per response.

- Page: https://models.litellm.ai/models/palmyra-x4
- LiteLLM model name: `writer.palmyra-x4-v1:0`
- Context window: 128,000 tokens
- Max output: 8,192 tokens
- Added to LiteLLM: December 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Amazon Bedrock | `writer.palmyra-x4-v1:0` | $2.50 | $10.00 | – | – | – | 128K |
| Amazon Bedrock (US cross-region) | `us.writer.palmyra-x4-v1:0` | $2.50 | $10.00 | – | – | – | 128K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Amazon Bedrock: $10.00

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Amazon Bedrock: $27.00

## Features

Supported: Function calling, PDF input.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="writer.palmyra-x4-v1:0",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Palmyra X4 cost?

Palmyra X4 costs $2.50 per 1M input tokens and $10.00 per 1M output tokens on Amazon Bedrock.

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

Palmyra X4 has a 128,000-token context window and returns up to 8,192 tokens per response.

### Which providers offer Palmyra X4?

Palmyra X4 is available from Amazon Bedrock through LiteLLM, using the model name writer.palmyra-x4-v1:0.

### How do I call Palmyra X4 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="writer.palmyra-x4-v1:0", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Palmyra X4 support?

Palmyra X4 supports function calling and PDF input.

### When did LiteLLM add Palmyra X4?

Palmyra X4 was added to LiteLLM's model price file in December 2025.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
