Perplexity
12 params
Perplexity Sonar Reasoning Pro API parameters
These are the API parameters modelparams.dev tracks for Perplexity Sonar Reasoning Pro — the settings you send in a request. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
After the parameter count instead — how many weights Sonar Reasoning Pro has? That's a different number, and we don't track it. Here's the difference.
Length
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max tokens
max_tokens
|
integer (1…128000) | — | Maximum number of output tokens the model may generate. | — |
Sampling
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Temperature
temperature
|
number (0…2 step 0.1) | — | Controls randomness. Lower values make outputs more focused; higher values make them more varied. | — |
|
Top P
top_p
|
number (0…1 step 0.01) | — | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. | — |
Metadata
9 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Search mode
search_mode
|
enum (web | academic | sec) | — | Selects the corpus the model searches when grounding its answer. | — |
|
Search recency filter
search_recency_filter
|
enum (hour | day | week | month | year) | — | Restricts web search results to a recent time window. | — |
|
Search domain filter
search_domain_filter
|
string | — | Limits search to, or excludes, specific domains. | — |
|
Search after date
search_after_date_filter
|
string | — | Restricts search results to content published after this date (MM/DD/YYYY). | — |
|
Search before date
search_before_date_filter
|
string | — | Restricts search results to content published before this date (MM/DD/YYYY). | — |
|
Search context size
web_search_options.search_context_size
|
enum (low | medium | high) | "low" | Controls how much web search context is retrieved before generating the answer. | — |
|
Return images
return_images
|
boolean | false | Controls whether the response may include related images from the search. | — |
|
Return related questions
return_related_questions
|
boolean | false | Controls whether the response includes suggested follow-up questions. | — |
|
Disable search
disable_search
|
boolean | false | Turns off web search so the model answers from its own knowledge only. | — |
Perplexity Sonar Reasoning Pro API parameters in brief
Perplexity Sonar Reasoning Pro documents 12 API parameters, grouped by what they control:
-
Length:
max_tokensrange 1–128000. -
Sampling:
temperaturerange 0–2;top_prange 0–1. -
Metadata:
search_modeaccepts "web", "academic", "sec";search_recency_filteraccepts "hour", "day", "week", "month", "year";search_domain_filter;search_after_date_filter;search_before_date_filter;web_search_options.search_context_sizedefaults to "low", accepts "low", "medium", "high";return_imagesdefaults to false;return_related_questionsdefaults to false;disable_searchdefaults to false.
Frequently asked questions
- Which API parameters does Perplexity Sonar Reasoning Pro support?
- Perplexity Sonar Reasoning Pro accepts 12 API parameters in the request body: max_tokens, temperature, top_p, search_mode, search_recency_filter, search_domain_filter, and more.