Last refreshed 2026-05-15. Next refresh: weekly.
Why use Sonar on OpenRouter?
OpenRouter offers Sonar with pay-as-you-go pricing at $1.00/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Compare Sonar across 2 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: perplexity/sonarperplexity/sonarRequest example
perplexity/sonar.Gotchas
- Use provider model ID "perplexity/sonar", not the LLMReference slug "sonar".
Compare Sonar Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| OpenRouter | $1.00 | $1.00 |
| Perplexity Labs | $1.00 | $1.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.00 |
| Output tokens | $1.00 |
Capabilities
About Sonar
Lightweight, cost-effective Perplexity search model with grounding and citations. Request fees: $5-$12/1K requests depending on search context depth (Low/Medium/High).
FAQ
What does Sonar cost on OpenRouter?
On OpenRouter, Sonar costs $1 per 1M input tokens and $1 per 1M output tokens.
What is the context window for Sonar on OpenRouter?
Sonar supports a 127,072 token context window on OpenRouter.
How does OpenRouter compare to other Sonar providers?
Sonar is available from 2 providers. The cheapest input pricing is $1/1M tokens from OpenRouter.
What API model ID do I use for Sonar on OpenRouter?
Use the model ID perplexity/sonar when calling OpenRouter's API.
Who created Sonar?
Sonar was created by Perplexity Labs as part of the Sonar model family.
Is Sonar open source?
Sonar's open source status is unknown in the seed data.