Back to Models

Sonar Pro

perplexityperplexity/sonar-pro

Perplexity's advanced search-augmented model. Returns grounded answers with citations.

Context Length
200K
Max Output
8K
Input Price
$3.60/ 1M tokens
Output Price
$18.00/ 1M tokens

Modalities

texttext

Pricing Breakdown

TypeRate
Input$3.60 / 1M tokens
Output$18.00 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_pstop

API Usage Examples

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "perplexity/sonar-pro",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'