Anthropic
palmyra-x5
writer/palmyra-x5
Price per million tokens
- Input
- $0.760
- Output
- $7.596
- Cache write
- not offered
- Cache read
- not offered
What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.
Limits
- Context window
- 1,040,000 tokens
- Max output
- 8,192 tokens
- Images
- text only
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0046 | $4.56 |
| Long document summary | 50,000 | 2,000 | $0.0532 | $53.17 |
| Agent step with tools | 20,000 | 1,500 | $0.0266 | $26.59 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $8.3556 | $8355.60 |
Calling it
const res = await client.chat.completions.create({ model: "writer/palmyra-x5", messages: [{ role: "user", content: "Hello" }], });