# Writer models

2 models · one OpenAI-compatible API

2 Writer models are on OpenCheap, each at its own price per 1M tokens. The cheapest to call is Palmyra Vision 7B, at $0.0015 per 1M input tokens and $0.006 per 1M output tokens. The largest context is Palmyra X5's, 1M tokens. Prices are per 1M input / output tokens, as of 2026-12-04 11:48 UTC.

## Every Writer model

Price per 1M tokens, input / output

- [Palmyra Vision 7B](https://opencheap.si/models/palmyra-vision-7b): palmyra-vision-7b $0.0015 / $0.006 · 4K context · 2 providers
- [Palmyra X5](https://opencheap.si/models/palmyra-x5): palmyra-x5 $0.63 / $6.30 · 1M context · 1 provider

## Call any Writer model

Every model from Writer is called the same way: point the OpenAI SDK at `https://api.opencheap.si/v1` with your OpenCheap key and pass the model id, for example [opencheap/palmyra-vision-7b](https://opencheap.si/models/palmyra-vision-7b). Each request goes to the cheapest healthy provider of that model, and every answer reports what it cost in `usage.cost`. You pay per token from one prepaid balance, and credits never expire.

```
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/palmyra-vision-7b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

---

Source: https://opencheap.si/models/lab/writer · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
