Perplexity-Sonar-Pro

Perplexity-Sonar-Pro

Provider: Perplexity
Category: Research & Search
Endpoint: POST /v1/search
Context window: 200K
Served from:

Search-grounded model with double the citations and a larger context window, tuned for complex queries needing in-depth, nuanced answers.

At a glance

FieldValue
Model idperplexity-sonar-pro
Input modalitiestext
Output modalitiestext
Context window200K
Region
Featuresweb_search
NewNo
Native inferenceNo

Pricing

ChargeSpecRate
Base Fee (Low Context)per request$0.014
Base Fee (Medium Context)per request$0.024
Base Fee (High Context)per request$0.034
Input Tokensper 1k tokens$0.0072
Output Tokensper 1k tokens$0.036

Example request

$curl https://api.empiriolabs.ai/v1/search \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "perplexity-sonar-pro", "query": "latest LLM benchmarks 2026"}'

Parameters

ParameterTypeRequiredDefaultDescription
search_context_sizeenumno"medium"low: cheaper + faster, fewer sources. medium: balanced. high: more sources, deeper context. · Allowed: low, medium, high
search_modeenumno"default"Filter source type. default: all sources. academic: peer-reviewed/academic only. sec: SEC filings only. · Allowed: default, academic, sec
search_recency_filterenumno"none"Restrict to results from the last N. Use ‘none’ to disable. · Allowed: none, day, week, month, year
search_after_datestringnoPublication date filter (MM/DD/YYYY).
search_before_datestringnoPublication date filter (MM/DD/YYYY).
last_updated_after_filterstringnoLast-modified filter (MM/DD/YYYY).
last_updated_before_filterstringnoLast-modified filter (MM/DD/YYYY).
search_language_filterstringnoComma-separated ISO-639-1 language codes (max 10).
search_domain_filterstringnoComma-separated allowlist. Prefix with - to deny (e.g. -reddit.com).
countrystringnoISO alpha-2 country for user-location bias.
regionstringnoRegion/state for user-location bias.
citystringnoCity for user-location bias.
latitudenumbernoLatitude for user-location bias.
longitudenumbernoLongitude for user-location bias.
return_imagesbooleannofalseInclude image results.
image_domain_filterstringnoComma-separated domains to allow images from. Only when return_images=true.
image_format_filterenumnoRestrict image formats. Only when return_images=true. · Allowed: gif, jpg, png, webp
return_videosbooleannofalseInclude video results.
return_citationsbooleannotrueInclude citations array on response.
return_related_questionsbooleannofalseInclude suggested follow-up questions.
temperaturenumberno0.2Sampling temperature. · Range: 0 – 2
top_pnumberno0.9Nucleus sampling. · Range: 0 – 1
max_tokensnumberno4096Max output tokens. · Range: 1 – 32768
disable_formattingbooleannofalseReturn raw upstream response.

Live machine-readable schema is also available at GET https://api.empiriolabs.ai/v1/models/perplexity-sonar-pro.