# Palmyra X5

> Palmyra X5 is Writer's flagship model for building and scaling enterprise AI agents. It is tuned for fast, efficient processing over very long contexts of up to one million tokens.

**ID**: `writer/palmyra-x5`  
**Creator**: writer  
**Category**: text  
**Context**: 1M tokens  
**Pricing**: $0.60 / $6.00 per 1M · billed by your provider (BYOK)  
**Released**: 2026-01-21  
**Web page**: https://anyrouter.dev/model/writer/palmyra-x5

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming

**Supported parameters**: max_tokens, stop, temperature, top_k, top_p

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "writer/palmyra-x5",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openrouter-byok | $0.60/M (list) | $6.00/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.
