Palmyra X4 API Pricing
- Input / output
- $2.50 / $10.00 per 1M tokens
- Context
- 128K tokens
- Max output
- 8K tokens
As of November 24, 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.
writer.palmyra-x4-v1:0.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.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Amazon Bedrock | writer.palmyra-x4-v1:0 | $2.50 | $10.00 | 128K |
| Amazon BedrockUS cross-region | us.writer.palmyra-x4-v1:0 | $2.50 | $10.00 | 128K |
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 cost calculator
At Amazon Bedrock's price ($2.50 input, $10.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $75.00 a day, about $2,250 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0075
- Per day
- $75.00
- Per month (30 days)
- $2,250
Palmyra X4 features
Input: text, pdf. Output: text.
- Function calling
- PDF input
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.
from litellm import completion
response = completion(
model="writer.palmyra-x4-v1:0",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: palmyra-x4
litellm_params:
model: writer.palmyra-x4-v1:0
aws_region_name: os.environ/AWS_REGION_NAMEcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-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.
Is Palmyra X4 being deprecated?
Amazon Bedrock lists a deprecation date of March 9, 2027 for writer.palmyra-x4-v1:0.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: Amazon Bedrock.
Provider pages: Amazon Bedrock.