We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Perplexity: Sonar Reasoning Pro
perplexity/sonar-reasoning-proTry Perplexity: Sonar Reasoning Pro now
Runs on your balance at the prices above. New accounts start with free usage.
One API. Every model.
Session cost $0.00
Settings
Advanced parameters
Perplexity: Sonar Reasoning Pro at a glance
- Input price is 344% higher than the median of 434 Text models.
- Context window of 128,000 tokens, enough for long documents and multi-turn conversations.
- Supports reasoning effort control.
- Accepts images as input (vision).
- A typical request (1,000 input / 500 output tokens) costs about $0.02.
About Perplexity: Sonar Reasoning Pro
Perplexity: Sonar Reasoning Pro is a text generation model from Perplexity, released by the provider on 7 March 2025. It sits in the text category and is built as a premier reasoning model powered by DeepSeek R1 with Chain of Thought. If you already route other Perplexity models through your stack, this one comes from the same provider and follows the same general access pattern.
The model accepts text and image inputs and returns text. Its context window is 128,000 tokens, and the maximum output is 115,200 tokens, so long inputs and long answers are both viable within a single request. Because it is a reasoning model with Chain of Thought, it can expose its reasoning process, which you control through the reasoning and include_reasoning parameters. That combination of a large context, image input and explicit reasoning output makes it suited to tasks where the answer benefits from intermediate steps rather than a single direct response.
Practical uses follow from those traits. You can send a document, a screenshot or a diagram alongside a question and ask for an analysis that walks through the logic. Multi step problems, structured comparisons, and questions that require weighing several pieces of evidence are natural fits, since the model can reason before producing the final text. The web_search_options parameter also lets you attach search behaviour to a request, which helps when the answer depends on current information rather than only what is in the prompt. With a 128,000 token context you can supply large source material and still leave room for a detailed answer.
You call it through api14's OpenAI-compatible API using the model id "perplexity/sonar-reasoning-pro". The supported request parameters are frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, temperature, top_k, top_p and web_search_options. If you are porting existing OpenAI-style code, the request shape stays the same and you only change the model id and add the parameters you need.
Keep the output ceiling in mind: max_tokens can go up to 115,200, but reasoning tokens and the final answer both draw on that budget, so leave headroom when you want a long response. If your task is simple text generation with no need for Chain of Thought, image input or search, a lighter text model may be a better fit.
How to call the Perplexity: Sonar Reasoning Pro API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "perplexity/sonar-reasoning-pro".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "perplexity/sonar-reasoning-pro",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Supported parameters
frequency_penaltyinclude_reasoningmax_tokenspresence_penaltyreasoningtemperaturetop_ktop_pweb_search_optionsSpecifications
- Context length
- 128,000
- Max output
- 115,200
- Input
- text, image
- Output
- text
Requests on api14 · last 7 days
Perplexity: Sonar Reasoning Pro: frequently asked questions
- How much does the Perplexity: Sonar Reasoning Pro API cost?
- Perplexity: Sonar Reasoning Pro costs Input $7.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Perplexity: Sonar Reasoning Pro?
- Perplexity: Sonar Reasoning Pro reads up to 128,000 tokens per request: prompt, history and documents together. It writes up to 115,200 output tokens per response.
- What can Perplexity: Sonar Reasoning Pro do?
- Perplexity: Sonar Reasoning Pro accepts text, image and returns text. It supports reasoning effort control.
- How do I call Perplexity: Sonar Reasoning Pro from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "perplexity/sonar-reasoning-pro". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Perplexity: Sonar Reasoning Pro?
- Comparable Text models at a similar price: Pareto 26.9, OpenAI: o3, OpenAI: GPT-4.1. Each runs through the same API key, so switching is one string.
Perplexity: Sonar Reasoning Pro community
New topicThis community has no topics yet. Open the first one about Perplexity: Sonar Reasoning Pro.