← All models
Perplexity
Sonar Pro
Online LLM with live citations.
chatsearchcitations
Input price
$3.60
per 1M tokens (with markup)
Output price
$18.00
per 1M tokens (with markup)
Context window
200,000
tokens max input
About Sonar Pro
Perplexity Sonar Pro — a chat model with live web search and inline source citations.
Capabilities
✓Streaming
—Tool calling / function calls
—Vision input
—JSON mode
Use it through OneAPIKey
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ONEAPIKEY_API_KEY,
baseURL: "https://oneapikey.app/v1",
});
const res = await client.chat.completions.create({
model: "sonar-pro",
messages: [{ role: "user", content: "Hello!" }],
});