Perplexity: Sonar
stableSonar is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
sonarsonarreleased Jan 1, 2024
Context
128K
tokens
Max output
4.1K
tokens
Input
$1.00
per 1M
Output
$1.00
per 1M
Activity
Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.
Providers
ProviderContextInput /MOutput /M
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $1.00 | per 1M tokens |
| Output | $1.00 | per 1M tokens |
Performance
Reliability
Compare
Compare usage and performance
Place this model beside up to three other catalog models.
Capabilities
Capabilities
Modalities
Input
Output
Details
- Model ID
- sonar
- Family
- sonar
- Status
- stable
- Knowledge
- -
- Released
- Jan 1, 2024
Gateway Config
- API
- 2024-01-01
- Auth
- PERPLEXITY_API_KEY
- Discovery
- static
- Provider type
- static
Quick Start
index.ts
Endpoint
Base URL
https://api.perplexity.aiChat completions
https://api.perplexity.ai/chat/completionsModel
sonarAuth env
PERPLEXITY_API_KEYSonar FAQ
How much does the Sonar API cost?
Through Perplexity, Sonar costs $1.00 per 1M input tokens and $1.00 per 1M output tokens.
What is the context window of Sonar?
Sonar accepts up to 128K tokens of context and returns up to 4.1K output tokens on Perplexity.
What can Sonar do?
Sonar supports chat. It accepts text input.
How do I call Sonar through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @perplexity/sonar. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
