Sonar
Sonar is a text model from
Vercel AI Gateway with a context window of 127K tokens and max output of 8K tokens. Pricing starts at 1.00 per million input tokens and 1.00 per million output tokens (cheapest at Perplexity).
Capabilities
✗ Vision✗ Function Calling✗ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Specifications
| Model Key | vercel_ai_gateway/perplexity/sonar |
| Provider | |
| Provider ID | vercel_ai_gateway |
| Mode | Text |
| Canonical Name | sonar |
| Context Window | 127K tokens |
| Max Output | 8K tokens |
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | 0.0010 | 1.00 |
| Output Tokens | 0.0010 | 1.00 |
Price Comparison by Provider
Compare prices for Sonar across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price, $ | Output Price, $ |
|---|---|---|---|
| vercel_ai_gateway/perplexity/sonar | 1.00 | 1.00 | |
| perplexity/sonar | 1.00 | 1.00 |
All Variants
All available versions, regions, and API endpoints for Sonar.
Model Key | Provider | Mode | Input Price, $ | Output Price, $ | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| perplexity/perplexity/sonar | Other | N/A | N/A | N/A | N/A | no | yes | |
| perplexity/sonar | Text | 1.00 | 1.00 | 128K | N/A | no | no | |
| perplexity/sonar-pro | Text | 3.00 | 15.00 | 200K | 8K | no | no | |
| vercel_ai_gateway/perplexity/sonar | Text | 1.00 | 1.00 | 127K | 8K | no | no | |
| vercel_ai_gateway/perplexity/sonar-pro | Text | 3.00 | 15.00 | 200K | 8K | no | no |