# Perplexity models

7 models · one OpenAI-compatible API

7 Perplexity models are on OpenCheap, each at its own price per 1M tokens. The cheapest to call is Sonar, at $1.05 per 1M input tokens and $1.05 per 1M output tokens. The largest context is Decider Flash V1.2's, 262K tokens. Prices are per 1M input / output tokens, as of 2026-12-04 11:48 UTC.

## Every Perplexity model

Price per 1M tokens, input / output

- [Decider Flash V1.2](https://opencheap.si/models/pplx-decider-flash-v1.2): pplx-decider-flash-v1.2 $0.012 per 1M input · 262K context · 1 provider
- [Decider V1.2](https://opencheap.si/models/pplx-decider-v1.2): pplx-decider-v1.2 $0.023 per 1M input · 262K context · 1 provider
- [Sonar](https://opencheap.si/models/sonar): sonar $1.05 / $1.05 · 127K context · 1 provider
- [Sonar Deep Research](https://opencheap.si/models/sonar-deep-research): sonar-deep-research $2.10 / $8.40 · 128K context · 1 provider
- [Sonar Pro](https://opencheap.si/models/sonar-pro): sonar-pro $3.15 / $15.75 · 200K context · 1 provider
- [Sonar Pro Search](https://opencheap.si/models/sonar-pro:search): sonar-pro:search $3.15 / $15.75 · 200K context · 1 provider
- [Sonar Reasoning Pro](https://opencheap.si/models/sonar-reasoning-pro): sonar-reasoning-pro $2.10 / $8.40 · 128K context · 1 provider

## Call any Perplexity model

Every model from Perplexity 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/sonar](https://opencheap.si/models/sonar). 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/sonar",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

---

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