modelparams.dev
API GitHub
Perplexity 12 params

Perplexity Sonar Reasoning Pro parameters

These are the parameters modelparams.dev tracks for Perplexity Sonar Reasoning Pro. 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.

Parameter Type Default Description Condition
Length · 1 param
Max tokens
max_tokens
integer (1…128000) Maximum number of output tokens the model may generate.
Sampling · 2 params
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
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.
This model as JSON All Perplexity models Parameter glossary Full catalog

Other Perplexity models

How to use

Building with an AI agent? Hit Copy to grab this whole guide as Markdown and paste it in — or point your agent straight at /llms.txt.

modelparams.dev is an open, community-maintained catalog of LLM model parameters. Each entry shows the knobs you can turn — type, default, range, and the conditions that gate it.

The same model accessed via an API key and via a subscription usually exposes a different set of parameters. We list both as separate entries so the data stays honest.

Catalog API

The full catalog is static JSON, CORS-enabled, served from the edge.

curl https://modelparams.dev/api/v1/models.json

Each entry is keyed by provider/model for API-key variants; subscription variants append -subscription.

Single model

curl https://modelparams.dev/api/v1/models/anthropic/claude-opus-4-7.json
curl https://modelparams.dev/api/v1/models/anthropic/claude-opus-4-7-subscription.json

JSON Schema

Every entry validates against a JSON Schema you can use in your editor or pipeline.

curl https://modelparams.dev/api/v1/schema.json

Add this header to any YAML you author for autocomplete in VS Code:

# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json

Logos

Provider logos are available at /assets/logos/{provider}.svg where {provider} is the provider slug. They use currentColor so they inherit your text color.

curl https://modelparams.dev/assets/logos/anthropic.svg

Logos are sourced from the models.dev repo (MIT) and used under nominative fair use.

Contribute

The data lives in YAML under models/{provider}/{model}-{auth}.yaml in the GitHub repo. Open a PR; CI validates against the schema and rebuilds.

Edit on GitHub MIT licensed