LiteLLMModels

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.

Model ID writer.palmyra-x4-v1:0Prices updated Checked
Input
$2.50 / 1M tokens
Output
$10.00 / 1M tokens
Context window
128,000 tokens
Max output
8,192 tokens
Providers
1
Added to LiteLLM
December 2025

Palmyra X4 pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Amazon Bedrockwriter.palmyra-x4-v1:0$2.50$10.00128K
Amazon BedrockUS cross-regionus.writer.palmyra-x4-v1:0$2.50$10.00128K

What Palmyra X4 costs in practice

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

Palmyra X4 features

Use Palmyra X4 with LiteLLM

Call Palmyra X4 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="writer.palmyra-x4-v1:0",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: palmyra-x4
    litellm_params:
      model: writer.palmyra-x4-v1:0
      aws_region_name: os.environ/AWS_REGION_NAME
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "palmyra-x4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Palmyra X4 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.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Amazon Bedrock.

Provider pages: Amazon Bedrock.