Agent API Effort Levels, Pinning, Overrides, and Sonar Migration
How effort levels bundle models, tools, and step budgets on the Agent API, when to pick each tier, and how to pin, override, or migrate from Sonar.
This page summarizes Perplexity documentation on effort levels for the Agent API: named, maintained bundles you pass on POST /v1/agent so you do not assemble model, web_search, max_steps, and system prompts yourself for every call.
Effort levels are pre-configured setups optimized for specific use cases. Each effort level bundles a model, search config, reasoning steps, system prompt, and available tools.
Effort levels provide optimized defaults for specific use cases.
— Perplexity, Agent API quickstart
That is separate from reasoning.effort, which controls the selected model’s reasoning depth—not which preset runs the job.
effort parameter: how to call an effort level on the Agent API
Section titled “effort parameter: how to call an effort level on the Agent API”Set the effort field on client.responses.create (Python or TypeScript SDK) or in the JSON body to https://api.perplexity.ai/v1/agent. You typically supply input (and optionally instructions); the preset supplies the rest.
curl https://api.perplexity.ai/v1/agent \ -H "Authorization: Bearer $PERPLEXITY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"effort":"low","input":"Summarize the core findings of the Attention paper."}'Call an effort level by name with the effort parameter — Perplexity manages the underlying configuration, so you pick up future improvements with no code changes.
— Perplexity, Effort
With the OpenAI-compatible client, pass effort through extra_body on the same endpoint; the native Perplexity SDK accepts effort="low" directly.
Choosing an effort level: depth, latency, and tools
Section titled “Choosing an effort level: depth, latency, and tools”Each name trades research depth, source coverage, and latency. Use the table when you know the job shape but not which preset fits.
| Effort level | Good at | Use when |
|---|---|---|
fast |
Single-fact lookups, definitions, quick summaries with citations | One fact or short summary; latency matters; no multi-step research |
low |
Everyday research, light multi-step lookups with current information | Current information with light tool use |
medium |
Multi-hop browsing, wide aggregation across sources | Chaining evidence across several search rounds |
high |
Expert reasoning, exhaustive source coverage | Deep, source-heavy work where completeness beats latency |
xhigh |
Open-ended agentic work: sandbox code, long tool loops, many sources | Tasks that run code or orchestrate many tool rounds |
ultra-preview |
Broad research where coverage matters most | You want maximum coverage and accept long runs |
Set effort to fast, low, medium, high, xhigh, or ultra-preview to choose the Agent API’s configuration.
— Perplexity, Effort
Concrete bundles change over time; see Current effort level values in the same doc. Examples from that reference include fast at max_steps: 1 with web_search only, low at five steps with web_search and fetch_url, and xhigh with up to 300 steps plus sandbox and finance_search.
For deep research workflows, Perplexity often starts with medium for comprehensive questions without hand-picking model and tools. For expert deep research at lower cost than legacy Sonar Deep Research, benchmarks point to high or xhigh.
Sonar to Agent API effort level mapping
Section titled “Sonar to Agent API effort level mapping”If you still call Sonar chat models, Perplexity publishes a starting map—not a guarantee for your traffic:
| Sonar (legacy) | Agent API effort |
Best for |
|---|---|---|
| Sonar | fast |
Single-fact lookups, definitions, quick summaries |
| Sonar Pro | fast |
Everyday research, light multi-step lookups |
| Sonar Reasoning Pro | low |
Multi-hop browsing, wide aggregation |
| Sonar Deep Research | high |
Expert reasoning, exhaustive source coverage |
On the benchmarks we run, Agent API effort levels deliver more quality per dollar than Sonar: the effort level curve sits above every Sonar model.
— Perplexity, Agent API vs Sonar benchmarks
For the strongest deep-research tier in that lineup, Perplexity recommends xhigh. Confirm against your own queries and cost targets.
Dynamic effort, version pinning, and frozen configuration
Section titled “Dynamic effort, version pinning, and frozen configuration”Effort levels support three stabilization strategies:
| Mode | How you call it | What you get |
|---|---|---|
| Dynamic (recommended) | effort: "low" |
Latest Perplexity-tuned bundle for that name; updates without code changes |
| Pinned version | effort: "fast@2026-10-16.0" or copy response.effort from a prior run |
Exact released configuration after the active version moves on |
| Frozen configuration | Copy public API fields from Current effort level values and omit effort |
Fixed fields you inline; may miss undocumented effort-only settings |
Dynamic effort level (recommended) — call an effort level by name (e.g., effort=“low”) to opt in to the latest Perplexity-optimized configuration.
— Perplexity, Effort
Responses include an effort field such as fast@2026-10-16.0. Send that string back to pin the same version. Unknown names, versions, or malformed values return HTTP 400.
When Perplexity updates a dynamic effort level, documentation states intent to keep cost and latency bands similar while improving quality. To avoid surprise model or tool changes, pin a version or freeze a copy of current values.
preset was renamed to effort (alias still accepted per changelog). The undocumented ultra name was removed; use ultra-preview for wide-coverage research. max_steps on requests can go up to 500 where the API allows overrides.
Customizing effort levels: field overrides and tool merging
Section titled “Customizing effort levels: field overrides and tool merging”Any request field alongside effort overrides that preset’s default except tools: listed tools merge per tool type rather than replacing the whole set.
tools are the one exception: they merge per tool instead of replacing the whole set. Listing one tool overrides only that tool’s options and leaves the effort level’s other tools enabled.
— Perplexity, Effort
Typical patterns from Customizing Effort Levels and Define the run:
- Top-level override — e.g.
max_steps=8oneffort="low"for more reasoning room without losing other defaults. - Tool partial — e.g. tighten
web_searchwithsearch_domain_filterwhilefetch_urlstays enabled when the prompt needs URLs. - Model override —
modelormodels(fallback chain up to five) replaces the effort default model;modelstakes precedence overmodel.
If the prompt names a URL, fetch_url may run even when you only adjusted web_search; check response.usage.tool_calls_details to see what actually ran.
instructions is the agent system prompt. With an effort level set, new instructions replace the effort’s tuned prompt—they do not append. Omit instructions to keep the preset prompt. Keep custom instructions lean; tokens are re-read each loop step (Prompt Guide).
max_steps caps tool-calling turns. If the cap is hit on a turn that still called tools, the API adds one answer-only turn with tools disabled (Define the run). Effort levels ship their own step budgets unless you override, subject to each level’s ceiling.
effort levels vs profiles and when not to mix them
Section titled “effort levels vs profiles and when not to mix them”An effort level is Perplexity-maintained; a profile is your organization-owned, versioned configuration referenced by profile.id (Profiles). A single request uses either effort or profile, not both. Profiles suit standardized internal defaults; effort levels suit Perplexity-optimized bundles that evolve with evals.
Common mistakes
Section titled “Common mistakes”- Confusing
effort(whole run preset) withreasoning.effort(model reasoning mode on that run). - Setting long
instructionsonlow/medium/highand unknowingly wiping citation and search discipline baked into the effort prompt. - Assuming a
toolsarray replaced the preset tool set instead of merging one entry. - Using
max_steps: 1when the task needs search, then fetch, then another search (Define the run). - Calling removed effort names (
ultra) after October 2026 effort updates. - Trusting cost estimates without reading
response.usage.costandtool_calls_detailson production prompts (Customizing Effort Levels).
How to check this on your site
Section titled “How to check this on your site”-
Send a minimal call with your chosen
effortand a fixedinputusing the Agent API quickstart pattern; confirmstatusiscompletedand noteresponse.effortfor pinning. -
Log
response.model,response.usage.tool_calls_details, andresponse.usage.cost.total_costas in Inspect what actually ran so overrides match observed behavior. -
Repeat the same
inputwith dynamiceffort: "low"and with a pinnedeffortcopied from step 1; compare model, tools, and cost using Pinning an effort level version. -
If migrating from Sonar, run paired queries mapped in Agent API vs Sonar benchmarks and adjust effort upward only when quality or multi-hop coverage falls short.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match the linked Perplexity documentation or your live API behavior, email yimasynthetic@gmail.com with the page URL and the exact statement you want clarified.