Skip to content
OpenKey

Sonar Pro Search

PerplexityReleased Oct 30, 2025

Exclusively available on the OpenRouter API, Sonar Pro's new Pro Search mode is Perplexity's most advanced agentic search system. It is designed for deeper reasoning and analysis. Pricing is based...

Try in playground
Context window
200K tokens
Max output
8K tokens
Input
text, image
Output
text
Tokenizer
Other
Released
Oct 30, 2025
Reasoning
always on

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$3.00$0.090$3.09
Output$15.00$0.450$15.45

Supported parameters

  • frequency_penalty
  • include_reasoning
  • max_tokens
  • presence_penalty
  • reasoning
  • structured_outputs
  • 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-pro-search.

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-pro-search",
    "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-pro-search",
    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-pro-search",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

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

More from Perplexity

All Perplexity models →