← All models
Perplexity · Language model
Sonar Pro
perplexity/sonar-pro- Language
Note: Sonar Pro pricing includes Perplexity search pricing. See [details here](https://docs.perplexity.ai/guides/pricing#detailed-pricing-breakdown-for-sonar-reasoning-pro-and-sonar-pro) For enterprises seeking more advanced capabilities, the Sonar Pro API can handle in-depth, multi-step queries with added extensibility, like...
Specifications
- Context window
- 200,000 tokens
- Max output
- 8,000 tokens
- Input
- text, image
- Output
- text
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- max_tokens
- presence_penalty
- temperature
- top_k
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"perplexity/sonar-pro","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'