Writer: Palmyra X4
Enterprise language model for workflow automation, coding, data analysis, and tool use
- Model lab
- Writer
- Model family
- palmyra
Quickstart
Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to writer/palmyra-x4.
import os
import requests
base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "writer/palmyra-x4"
response = requests.post(
f"{base_url}/chat/completions",
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": model_id,
"messages": [{"role": "user", "content": "Hello!"}],
"stream": False,
},
timeout=60,
)
response.raise_for_status()
print(response.json())Use the familiar OpenAI-style chat request format to make model integration easier.
Palmyra X4 API Pricing
| Type | Price information |
|---|---|
| Input · Context ≤ 122880 tokens · Maximum output 8192 tokens | USD 2 / 1M tokens |
| Output · Context ≤ 122880 tokens · Maximum output 8192 tokens | USD 8 / 1M tokens |
Performance
Performance trends
Availability
Palmyra X4 Compare models
| Model | Input price | Output price | Context window | Capabilities |
|---|---|---|---|---|
| Palmyra X4This page | USD 2 / 1M tokens · Context ≤ 122880 tokens · Maximum output 8192 tokens | USD 8 / 1M tokens · Context ≤ 122880 tokens · Maximum output 8192 tokens | 128,000 | Text output · Reasoning · Tool calling |
| Palmyra X5 | USD 0.48 / 1M tokens | USD 4.8 / 1M tokens | 1,000,000 | Text output · Reasoning · Tool calling |
| Beam 1.0 501B A23B | USD 0.2 / 1M tokens | USD 0.8 / 1M tokens | 1,048,576 | Text output · Reasoning · Tool calling |
| Ling 3.1 Flash | USD 0.06 / 1M tokens | USD 0.176 / 1M tokens | 262,144 | Text output · Reasoning · Tool calling |
| Schematron V2 Small | USD 0.04 / 1M tokens | USD 0.184 / 1M tokens | 128,000 | Text output |
Model specifications
- Input
- text
- Output
- text
- Context window
- 128,000
- Maximum output
- 4,096
- Release date
- 2024-10-09
- Attachments
- No
- Reasoning
- Yes
- Tool calling
- Yes
- Temperature setting
- Yes
- Open weights
- No
Frequently asked questions
What is Palmyra X4 for?
Enterprise language model for workflow automation, coding, data analysis, and tool use
What inputs and outputs does Palmyra X4 support?
Recorded inputs: text; outputs: text.
How is Palmyra X4 priced?
The pricing table shows the current recorded Moduck price. For example: Input · Context ≤ 122880 tokens · Maximum output 8192 tokens USD 2 / 1M tokens; Output · Context ≤ 122880 tokens · Maximum output 8192 tokens USD 8 / 1M tokens. See the pricing table for all units, variants, and conditions.
What specifications are recorded for Palmyra X4?
Current model records list Context window 128,000 tokens; Maximum output 4,096 tokens.
What model parameter does the Quickstart use?
The example uses writer/palmyra-x4. This value comes from the page identifier and is not confirmed as a callable Moduck public ID.
Can I call this model through the Moduck API now?
This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.
Related models
No related catalog models are recorded for this model family.