Skip to main content
All models

Perplexity Sonar Pro Search

OpenRouterOpenRouter docs

perplexity/sonar-pro-search

Run Perplexity Sonar Pro Search in a hosted Python Task with web search and file inputs.

Perplexity AI's Sonar Pro with advanced search capabilities via OpenRouter. Features autonomous multi-step reasoning for planning and executing entire research workflows. Combines web search with deep reasoning for complex research tasks.

What Perplexity Sonar Pro Search supports in qbash

  • Web searchSearches the web while it answers.
  • Document inputReads PDF, TEXT, DOC, XLS, RTF and 7 more files.

What is qbash?

qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like Perplexity Sonar Pro Search only at the ones that need judgment, with integrations, memory and files available in the same script.

A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.

Specifications

Context window
200Ktokens
Max output
8,192tokens
Temperature
0 to 2default 1

Use Perplexity Sonar Pro Search in a Python Task

qbash.ai.raw calls Perplexity Sonar Pro Search from a Task and returns its reply as a string.

main.py
notes = qbash.inputs.get("notes")

summary = qbash.ai.raw(
f"Summarize these meeting notes in five bullets:\n\n{notes}",
model="perplexity/sonar-pro-search",
system="You are a concise analyst.",
)

qbash.output({"summary": summary})
Model calls in Tasks

Use Perplexity Sonar Pro Search with web search

Turn on Web Search in an inline prompt's model bar and Perplexity Sonar Pro Search searches the web while it answers. Searches are billed at $18.00 per 1,000.

Perplexity Sonar Pro Search pricing

Input$3.00 per 1M tokens
Output$15.00 per 1M tokens
Web search$18.00 per 1K searches

Standard rates in USD.

Supported file formats

Documents

  • PDF
  • TEXT
  • DOC
  • XLS
  • RTF
  • DOCX
  • XLSX
  • PPTX
  • PPT
  • ODT
  • ODP
  • ODS

Automate Perplexity Sonar Pro Search with qbash