Skip to content
OpenKey

Sonar Reasoning Pro

PerplexityReleased Mar 7, 2025

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) Sonar Reasoning Pro is a premier reasoning model powered by DeepSeek R1 with Chain of Thought (CoT). Designed for...

Try in playground
Context window
128K tokens
Input
text, image
Output
text
Tokenizer
Other
Released
Mar 7, 2025
Reasoning
optional

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$2.00$0.060$2.06
Output$8.00$0.240$8.24

Supported parameters

  • frequency_penalty
  • include_reasoning
  • max_tokens
  • presence_penalty
  • reasoning
  • temperature
  • top_k
  • top_p
  • web_search_options

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model perplexity/sonar-reasoning-pro.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity/sonar-reasoning-pro",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

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

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "perplexity/sonar-reasoning-pro",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Sonar Reasoning Pro cost via API?
Through OpenKey, Sonar Reasoning Pro costs $2.06 per 1M input tokens and $8.24 per 1M output tokens. That is the provider price ($2.00 / $8.00) plus a flat 3% fee — nothing else.
What is Sonar Reasoning Pro's context window?
Sonar Reasoning Pro accepts up to 128K tokens of context.
Is Sonar Reasoning Pro OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "perplexity/sonar-reasoning-pro" using any OpenAI SDK — only the base URL and API key change.
What inputs does Sonar Reasoning Pro support?
Sonar Reasoning Pro accepts text, image input and produces text output.

More from Perplexity

All Perplexity models →