In short.
Perplexity’s Decisions API quickstart teaches developers to turn text and images into structured decisions, but it does not establish how accurate those decisions will be for their work. It covers probability outputs, rubric scores, text extraction, web grounding and integration through Python, TypeScript or HTTP. Important catches include model-dependent grouping and billing, changing model aliases, retrieval failures that still produce answers, and a conflicting description of Flash billing.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected documentation page at [https://docs.perplexity.ai/docs/decisions/quickstart.md], including its examples, model variants, pricing, grouping, grounding, privacy notice, limits and failures. The documentation index, API reference, pricing page, cookbook, changelog and other linked destinations are excluded. No behavior was executed or independently tested; task accuracy, calibration, workload cost, service reliability and unstated rights remain unknown.
The overview
Identity
This is Perplexity’s documentation guide for the Decisions API at [https://docs.perplexity.ai/docs/decisions/quickstart.md]. The documented service returns structured decisions rather than generated replies, code or reasoning explanations. The resource is a guide to that service, not a downloadable model or standalone application.
Assessment
The guide is useful when software needs a label, score or matching text span that it can process directly. Its request examples, response definitions and failure descriptions provide concrete integration guidance. Applications still need suitable criteria, decision thresholds and handling for uncertain results.
Task accuracy, probability calibration and operational reliability are not established by this page. Perplexity recommends comparing models on your own labeled examples at the thresholds you intend to use. No requests were executed, so the examples and performance claims have not been independently verified.
Users
The intended readers are developers building features such as support-ticket routing, review classification, rubric-based grading and entity extraction. Beginners receive examples in Python, TypeScript and cURL; experienced developers receive details about grouping several questions in one request, confidence calculations, limits, errors and billing.
The service suits applications that can act on numeric outputs. Someone who needs a conversational answer or an explanation of each decision would need another component, because the decision models do not supply those outputs.
Capabilities
There are four question types. The unusually named noul type returns a yes probability from 0 to 1. Choice returns probabilities for 1 to 255 user-defined options and the most likely option. Score returns a distribution over an ordered rubric of up to 10 levels and a probability-weighted score using zero-based level indices.
Locate returns matching text with Unicode-character start and end offsets and a score for each span. It requires a v1.3 model and a string state, accepts at most 128 questions in the request, and cannot be combined with images or web grounding. An empty spans array means no match was returned.
Other question types can use text, JSON objects or arrays, and supported image parts within state. Optional web grounding adds search evidence. With mode set to web_grounding, the API can fetch a page when the text in state is only a single http, https or www URL; a URL mixed with other text is searched rather than fetched. Image parts may stay in place.
Using it
Requirements
Access requires a Perplexity API key, obtainable through [https://console.perplexity.ai/project/keys]. The guide specifies the Python library perplexityai version 0.44.0 or later, or the TypeScript SDK version 0.39.0 or later. Any HTTP client can instead send JSON directly.
Requests need a model, non-null state and at least one question with a non-empty name. The state, its images and each question together must be under 256K tokens. On v1.3 models and v1.2 standard, questions that do not fit together are answered in separate groups. If the state plus a single question goes over the limit, the request returns 400. Grounding evidence and fetched page text also count toward this limit. The request body limit is 32 MiB. Grounded requests allow at most 100 questions; requests containing locate allow at most 128.
The default organization limit is 10 requests per second across all decision models. Each standard model has limits of 15 million tokens per minute and 900 million per hour; each Flash model has limits of 4 million per minute and 240 million per hour. Token windows roll over time.
Mechanism
A request supplies shared content as state and a map of named questions. Each question supplies a type, instructions and any applicable criteria. Answers use the same names. On v1.3, each question sees state and its own question text, while v1.2 standard exposes all questions to one another. Flash v1.2 processes questions separately. The page warns that grouping can affect outputs even on v1.3.
Web grounding turns each question into a search query and adds retrieved evidence before answering. Identical queries share a search. Queries include question text and the beginning of state, so enabling grounding sends some submitted content to the Perplexity Search API. Responses expose search_results and, when a page fetch succeeds, fetched_results.
A failed search does not necessarily fail the request: the model can answer using remaining evidence or state alone. A failed page fetch leaves the original URL as state. The max_staleness setting limits the age since the fetched page’s last crawl; it does not filter search results or guarantee that the page’s claims are current.
Setup
Set PERPLEXITY_API_KEY, install the chosen SDK if needed, and send POST requests to [https://api.perplexity.ai/v1/decisions]. Authentication uses Authorization: Bearer followed by the key. The page says x-api-key authentication is not accepted, and a trailing slash changes the endpoint into an invalid path.
Start with a model name, representative state and explicit criteria. The page’s SDK examples use a 30-second client timeout, but timeout settings should reflect input size. Its documented SDK versions lack typed fields for web-grounding controls and search results, so the examples pass additional request-body fields and read the returned fields through dictionaries or type extensions.
Check HTTP status before parsing JSON because some errors have empty or HTML bodies. For rate-limit responses, follow Retry-After; for server failures, use backoff. Log x-request-id when present, while allowing for its documented absence on 401, 404 and 504 responses.
Example
The guide uses a headphone review that praises sound quality but reports a battery failure after two weeks. One request asks whether it reports a defect, whether sentiment is positive, mixed or negative, and how severe the problem is across three ordered levels.
Its illustrative response assigns about 0.94 to the defect question, chooses mixed sentiment with about 0.95 probability, and returns a severity score of about 1.78 on a 0-to-2 scale. That last value is an average between rubric levels, not a new category. The page labels these numbers as an example whose exact probabilities depend on the serving model; they are not measured results from this report.
Assessment & evidence
Limitations
Images must be PNG, JPEG or WebP data URLs; ordinary web image URLs are rejected. The limit is eight images per question and 2,048 tiles of 32 by 32 pixels per image. The page warns that oversized images can wait about a minute and return 504 rather than being rejected immediately. Images also consume the input-token allowance.
Locate was trained on inputs up to 8K tokens and evaluated up to 32K tokens. Longer inputs are accepted, but the page says their span quality is unmeasured. The earlier v1.2 models do not support locate.
Large requests may be split into consecutive question groups, increasing latency and repeated input charges. A model timeout can return 504 after about a minute. Grounding may provide incomplete or no search evidence, and fetched page text is limited to 40,000 characters. These behaviors require explicit application handling.
Interpreting decisions
The models return decision values without reasoning explanations. Application code must decide what probability is sufficient to route, accept, reject or request further review. The guide notes small numerical variation in earlier-model tests and recommends margins around thresholds.
Confidence is a calculated measure of the returned distribution, not demonstrated real-world accuracy. For choice, it rescales the highest probability relative to a uniform distribution over the options. For score, it measures probability-weighted distance from the most likely level against an unweighted baseline, with a floor of zero.
A one-option choice or one-level score has confidence 1 by definition, despite offering no meaningful decision. Keep model choice, criteria and question grouping fixed when comparing results, and validate thresholds against labeled examples rather than treating confidence as proof of correctness.
Alternatives
Within the service, the page recommends standard v1.3 as the starting point for nuanced judgments and Flash v1.3 for high-volume work with clear criteria, provided it meets the application’s accuracy requirements. Both support text, images and locate; Flash has half the listed input-token price. No comparative accuracy results are supplied.
The page positions the API as a replacement for asking a chat model for a label and parsing its reply. Its decision models do not write replies or explanations. It also points to Perplexity’s Agent API for web-grounded answers with citations and tools, and its Orchestrator API for access to open-weight models through compatible endpoints. Those linked guides are outside the evidence, so their detailed capabilities, costs and relative suitability are not assessed.
Evidence
The evidence is the complete Perplexity Decisions API quickstart at [https://docs.perplexity.ai/docs/decisions/quickstart.md]. It contains request and response examples, model specifications, operating limits, pricing and provider-reported timing observations. These are first-party documentation claims rather than independent measurements.
For tests dated November 12, 2026, Perplexity reports approximately 16 seconds for standard v1.3 and 5 seconds for Flash v1.3 on an input of about 243,000 tokens. The page does not provide enough methodology to treat those observations as a general performance guarantee. No code, SDK commands or API requests were run.
Access & freshness
Costs
The page lists $0.02 per million billed input tokens for standard v1.3 and v1.2 models, and $0.01 for their Flash counterparts. Output tokens are free and there is no per-request fee. Usage is billed to the organization owning the API key.
Web searches and successful URL fetches each add $0.001. Failed URL fetches are not billed. Retrieved evidence and fetched page text also count as input tokens. Exact search-billing qualifications are referred to a linked pricing page whose contents are not included here.
Grouping affects cost. The detailed model section says v1.3 standard, v1.3 Flash and v1.2 standard bill shared state once per group, repeating it when input limits force multiple groups. Flash v1.2 repeats state for each question. However, the quickstart introduction broadly says Flash bills state per question, contradicting its detailed v1.3 description. Confirm billing for the chosen version before estimating multi-question workloads.
A total workload price cannot be determined without input sizes, grouping and retrieval usage. Reported usage.input_tokens provides the documented basis for calculating token charges after a response.
Rights
The page does not establish licensing or redistribution permissions for its documentation, code examples, SDKs or model weights. API availability and published prices do not establish those rights.
Service terms, output ownership, data retention, training use, deletion commitments and data residency are not stated in this evidence. The page does disclose that grounded queries send question text and the beginning of state to the Perplexity Search API. Suitability for confidential or regulated content therefore remains unknown.
Freshness
The supplied page was captured on November 13, 2026. It maps pplx-decider-latest to pplx-decider-v1.3 and pplx-decider-flash-latest to pplx-decider-flash-v1.3, while documenting continued availability of v1.2 models. These mappings and prices are established only for this snapshot.
Aliases can move to newer versions, and retired version names can route to replacements. The response model field echoes the requested name rather than identifying the resolved version. Revalidate thresholds when model routing changes; a versioned name does not guarantee unchanged behavior indefinitely.
Practical next steps
Define the decision and criteria, then assemble representative labeled examples, including ambiguous cases. Compare standard and Flash models at the thresholds the application would actually use. Keep question grouping fixed and measure errors, uncertain cases, latency and billed usage before choosing a model.
For an integration, handle missing search evidence, invalid inputs, rate limits and timeouts explicitly. Resize images before submission, inspect extraction offsets and use locate within its documented constraints. Confirm current grouping charges and applicable data terms before relying on the service for a substantial or sensitive workload.
