Sonar
Perplexityperplexity/sonarClosed APIFast web-grounded Sonar for current answers, citations, and lightweight retrieval
Benchmark Pricing$1.00 / 1M in$1.00 / 1M out
Context: 128,000 tokens•Max Output: 4,096 tokens•Knowledge: 2025-09-01•Released: 2024-01-01
TECHNICAL SPECIFICATIONS
Context Window128,000128K tokens
Max Output4,0964.1K tokens
LicenseProprietaryCloud API only
Input Modalities
Text
Function / Tool CallingNot Supported
Structured OutputsPrompt Based
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ Sonar does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.
MCP Context Window Recommendations
With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.
STANDARDIZED BENCHMARKS & EVALS
SciCodepercent correct
22.9API CALL INVOCATION EXAMPLE
// Example: Calling Sonar via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.PERPLEXITY_API_KEY,
});
const response = await client.chat.completions.create({
model: "perplexity/sonar",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Perplexitysonar
$1.00 / $1.00
SAP AI Coresonar-deep-research
$2.00 / $8.00
LLM Gatewayperplexity/sonar
$0.25 / $2.50
AI/ML APIperplexity/sonar
$1.30 / $1.30
LLMTRperplexity/sonar-deep-research
$2.00 / $8.00
Vercel AI Gatewayperplexity/sonar
$0.25 / $2.50
Eden AIperplexityai/sonar-reasoning-pro
$2.00 / $8.00
Kilo Gatewayperplexity/sonar-reasoning-pro
$2.00 / $8.00
DevPass (LLM Gateway)sonar
$0.25 / $2.50
Oppersonar-reasoning-pro
$2.00 / $8.00
Perplexity Agentperplexity/sonar
$0.25 / $2.50$0.06 cache
Heliconesonar-reasoning-pro
$2.00 / $8.00
OpenRouterperplexity/sonar-reasoning-pro
$2.00 / $8.00
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Perplexity
Alternative and family models from the same lab
Sonar Pro
perplexity/sonar-pro•Perplexity
Deeper Sonar search model with broader retrieval and stronger synthesis
8.2K out maxVisionSciCode: 22.6 percent correct
In: $3.00 • Out: $15.00
PerplexitySonar Reasoning Pro
perplexity/sonar-reasoning-pro•Perplexity
Web-grounded Sonar for multi-step research questions that need cited reasoning
4.1K out maxVision
In: $2.00 • Out: $8.00
PerplexitySonar Deep Research
perplexity/sonar-deep-research•Perplexity
Sonar search model for autonomous research and citation-backed long-form reports
32.8K out max
In: $2.00 • Out: $8.00
Perplexity