Hormouz AIHormouzSign in

Writer: Palmyra X5: AI model

Palmyra X5 is Writer’s flagship model for building and scaling enterprise agents, with a context window up to 1 million tokens. Reachable from inside Iran through Hormouz.

Context window:
1,040,000 tokens
Input:
$0.6/1M tokens
Output:
$6/1M tokens
Type:
text
  • Streaming
  • Long context

Palmyra X5 is Writer’s most advanced model, purpose-built for building and scaling AI agents across the enterprise. With a context window of up to one million tokens, it can take in large volumes of enterprise data, long documents and conversation history in a single request.

The model relies on hybrid attention mechanisms that combine fast inference with expanded memory, which makes it a strong fit for data pipelines, autonomous assistants and high-throughput applications. Palmyra X5 supports tool calling and is served through Hormouz behind an OpenAI-compatible API.

Pricing is usage-based: up to $0.60 per million input tokens and $6.00 per million output tokens. Hormouz provides stable access to the model from inside Iran, with no foreign credit card required.

Palmyra X5 is Writer's most advanced model, purpose-built for building and scaling AI agents across the enterprise. It delivers industry-leading speed and efficiency on context windows up to 1 million...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "writer/palmyra-x5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorWriter
TypeText
Context window1,040,000 tokens
Pricing$0.60/M in · $6.00/M out
APIChat Completions
CapabilitiesStreaming

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "writer/palmyra-x5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="writer/palmyra-x5",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "writer/palmyra-x5",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the Writer: Palmyra X5 API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Writer: Palmyra X5 and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does Palmyra X5 cost?
Billing is usage-based: up to $0.60 per million input tokens and $6.00 per million output tokens. You pay only for what you use.
How do I access Palmyra X5 from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to the model from inside Iran, with no foreign credit card or circumvention tooling required.
Is Palmyra X5 compatible with OpenAI code?
Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing SDKs and code run without a rewrite.
What is the context window of Palmyra X5?
The model supports a context window of up to one million tokens, which makes it well-suited to very long documents and large volumes of enterprise data.
What is Palmyra X5 good for?
It is built for creating and scaling enterprise agents, autonomous assistants, data pipelines and applications that need a large context memory paired with fast inference.

Updated 2026-10-13