DzRouter

Palmyra X5

Tool use

Writer's most capable enterprise model with enhanced reasoning, analysis, and content generation capabilities.

Model id — paste this in your code
writer/palmyra-x5

Pricing · per 1M tokens

Show prices in
Input180 DA$0.72
Output1,800 DA$7.20
Cached input180 DA$0.72
Context window1MMax output: 8K

Capabilities

  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create an account, top up in dinars and call it with your key:

from openai import OpenAI

client = OpenAI(
    base_url="https://dzrouter.com/v1",
    api_key="sk-dz-…",
)

reply = client.chat.completions.create(
    model="writer/palmyra-x5",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account