Models / Perplexity
Perplexity
Sonar Pro
perplexity/sonar-pro
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...
Input
$3.9 / 1M tokens
Output
$19.5 / 1M tokens
Context
200K tokens
Capabilities
✓ Streaming○ Tool / function calling○ JSON / structured output✓ Vision (image input)
Call this model
Pass perplexity/sonar-pro as the model. Change only the base URL from your existing OpenAI SDK setup.
quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
-H "Authorization: Bearer $MDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "perplexity/sonar-pro",
"messages": [{"role":"user","content":"Hello!"}]
}'
Prices are final — the routing margin is already included. See the full pricing table or the API docs.