# Sonar API pricing

The official API price of Sonar is $1 per 1M input tokens and $1 per 1M output tokens (as of 2026-11-12). Context window: 128K tokens, up to 4.1K output tokens per request. 9 providers sell it, none below the official price. This model is marked as deprecated.

- Type: Text
- Context: 128K
- Max output: 4.1K
- Released: 2024-01-01
- Open weights: No

## Price by provider (USD per 1M tokens)

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [Perplexity](https://docs.perplexity.ai) | sonar | $1 | $1 | — | Official, Deprecated |
| [AI/ML API](https://docs.aimlapi.com) | perplexity/sonar | $1 | $1 | — |  |
| [Eden AI](https://docs.edenai.co) | perplexityai/sonar | $1 | $1 | — |  |
| [Helicone](https://helicone.ai/models) | sonar | $1 | $1 | — |  |
| [Opper](https://opper.ai/models) | sonar | $1 | $1 | — |  |
| [SAP AI Core](https://help.sap.com/docs/sap-ai-core) | sonar | $1 | $1 | — |  |
| [DevPass (LLM Gateway)](https://llmgateway.io/docs) | sonar | $0.25 | $2.5 | — |  |
| [LLM Gateway](https://llmgateway.io/docs) | perplexity/sonar | $0.25 | $2.5 | — |  |
| [Perplexity Agent](https://docs.perplexity.ai/docs/agent-api/models) | perplexity/sonar | $0.25 | $2.5 | $0.0625 |  |

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.

https://apibook.ai/models/perplexity/sonar/
