Back to All Models
Perplexity · Reasoning

Sonar Reasoning Pro

perplexity/sonar-reasoning-pro
Use Model Now

Note: Sonar Pro pricing includes Perplexity search pricing.

Input Price / 1M Tokens
$2.44
Output Price / 1M Tokens
$9.76
Context Window
128K
VisionReasoning
Python Example — perplexity/sonar-reasoning-pro
from openai import OpenAI

client = OpenAI(
    base_url="https://relaystack-ai.vercel.app/v1",
    api_key="sk-rs-your-key-here",
)

response = client.chat.completions.create(
    model="perplexity/sonar-reasoning-pro",
    messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)