Last refreshed 2026-06-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 3 providers to find the best fit for your use caseInput / 1M
$1.00
Output / 1M
$1.00
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: perplexity/sonarModel ID
perplexity/sonarRequest example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
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 |
| Vercel AI Gateway | — | — |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.00 |
| Output tokens | $1.00 |
Capabilities
Structured Outputs
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).
Get Started
Model Specs
Released2025-01-27
Context127k
ArchitectureDecoder Only