perplexityVision

Perplexity: Sonar Pro Search

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...

Context
200k tokens
Input / 1M tokens
$3
Output / 1M tokens
$15
Benchmark

Pricing

Input tokens$3 per 1M tokens
Output tokens$15 per 1M tokens

Technical details

Model IDperplexity/sonar-pro-search
Context window200k tokens
Input modalitiestext, image
Output modalitiestext
TokenizerOther
Max output tokens8,000

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'perplexity/sonar-pro-search',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Perplexity: Sonar Pro Search?

Get an API key and start making requests in minutes.

Get an API key