Back to Models
P

Sonar Pro

Sonar
by Perplexity

Online model with real-time web search. Returns cited answers with up-to-date information.

Feb 14, 2025

Specifications

Context Length
200K
200,000 tokens
Input Price
$3.00
per 1M tokens
Output Price
$15.00
per 1M tokens
Modalities
1
text→text

Capabilities

text generationchatweb search

API Usage

1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:

perplexity/sonar-pro
cURL
curl https://api.1router.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity/sonar-pro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'