sonar API Pricing
sonar on Perplexity costs $1.00 per 1M input tokens and $1.00 per 1M output tokens (as of ).
| Input | $1.00 / 1M tokens |
|---|---|
| Output | $1.00 / 1M tokens |
| Cached input (read) | — |
| Cache write | — |
| Batch input / output | — |
| Above 200K tokens (input / output) | — |
| Context window | 128K tokens |
| Max output | — tokens |
| Supports | — |
| Deprecation date | None listed |
| API model id | sonar |
| In our records since |
What it costs for common jobs
Estimated from the list price above (no caching or batch discount).
| Job | Estimated cost |
|---|---|
| 1,000 chat replies (2,000 tokens in, 500 out each) | $2.50 |
| Summarising 100 long documents (50,000 in, 1,000 out each) | $5.10 |
| 1 million classification calls (300 in, 5 out each) | $305.00 |
Try your own numbers in the LLM API cost calculator.
Price history
No price change recorded since .
Similarly priced models
| Model | Provider | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
| llama-3.1-70b-instruct | Perplexity | $1.00 | $1.00 | — | 131K |
| sonar-medium-chat | Perplexity | $0.60 | $1.80 | — | 16K |
| codellama-70b-instruct | Perplexity | $0.70 | $2.80 | — | 16K |
| llama-2-70b-chat | Perplexity | $0.70 | $2.80 | — | 4K |
| pplx-70b-chat | Perplexity | $0.70 | $2.80 | — | 4K |
| pplx-70b-online | Perplexity | — | $2.80 | — | 4K |
| codellama-34b-instruct | Perplexity | $0.35 | $1.40 | — | 16K |
| sonar-medium-online | Perplexity | — | $1.80 | — | 12K |