In short.
This guide explains Perplexity Orchestrator routing and failover for developers building AI applications, but automatic routing may change the model between conversation turns. It documents custom task routes, compatibility filtering, optional reasoning-effort selection and retries across deployments of the same model. Media requests use the default model, and developers cannot choose the deployment. Numerical prices, measured routing accuracy and reliability results are not established by this page. No requests or examples were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to the complete selected documentation page at [https://docs.perplexity.ai/docs/orchestrator/routing-and-reliability.md], supplied as selected-page.txt and captured on 2026-11-26T06:09:05.403Z. Linked pages, including the documentation index, model catalog and pricing, caching guidance, usage tiers, FAQ and API reference, are excluded. The page includes embedded examples but supplies no standalone library files or explicit licence notice. Routing, compatibility filtering, reasoning effort, provider selection, affinity, billing, rate limits, failover and streaming are addressed as documented behavior. No examples or requests were executed, and accuracy, latency, availability and workload costs were not assessed.
The overview
Identity
Routing & Reliability is a Perplexity Orchestrator API documentation guide at [https://docs.perplexity.ai/docs/orchestrator/routing-and-reliability.md]. It explains two separate decisions: which model answers a request, and which deployment of that model serves it. A deployment is a serving instance of the selected model. The resource is documentation with Python, TypeScript and cURL examples; it is not a downloadable routing library.
Assessment
The guide is useful for developers who want to send different tasks to different models through one API and understand what happens when serving fails. Its strongest practical details are the validation rules, routing headers, default-model behavior and distinction between deployment failover and model selection. It does not demonstrate that routing improves answer quality, saves money or achieves a particular latency or uptime.
Users
The intended readers are developers integrating AI requests into applications. Beginners get examples of routing translations, code reviews and document analysis; experienced developers get details about compatibility checks, caching, error formats and streaming failures. Readers need familiarity with API requests, JSON and authentication. The page is less suitable for someone seeking a graphical tool or a comparison of model quality.
Capabilities
Setting model to perplexity/auto enables model selection on Chat Completions, Responses and Messages. Developers can use the default policy or define one to five routes describing the requests each model should handle. Optional automatic reasoning effort lets the decision model also select low, medium or high effort.
The response model field identifies the model that served the request. Routing headers expose the outcome, matched route, confidence when available and automatic effort when enabled. These headers also appear on streaming responses because routing finishes before streaming starts. Deployment selection and same-model failover operate automatically even when a model is named directly.
Using it
Requirements
The examples require a Perplexity API key and use [https://api.perplexity.ai/orchestrator/v1] as the base URL. The documented default policy uses openai/gpt-6.1-sol as its default and openai/gpt-6-luna for simple tasks; both require at least Tier 1. Tier 0 users must supply custom routes whose default and route models are available at that tier. Naming an inaccessible model rejects the routing configuration.
Custom routing requires a default_model and one to five routes. Each route needs a model, a unique name and a nonempty description. Names allow letters, digits, underscores, hyphens and periods, must be 1–64 characters and cannot be none. Descriptions are limited to 1,000 UTF-8 bytes; the serialized routing object is limited to 16,384 bytes. Unknown keys are rejected, and perplexity/auto cannot itself be a route or default model.
Mechanism
Before classification, the API checks candidate compatibility, including organization model settings, zero data retention and accepted request parameters and content. If the default model is removed, the first remaining route model replaces it. If all routes are removed but the default remains usable, that default serves without a routing decision. If no model remains, the request returns HTTP 400 with reasons.
The decision model reads conversation text and route descriptions, including system instructions, tool-call names and arguments, and text tool results. It does not read route names or model IDs. For long conversations, its view retains system instructions, the first user request and recent turns; the request sent to the answering model is not shortened. A matching route selects its model; none or a routing failure uses the default.
After model selection, deployment routing considers observed errors, capacity and latency. Provider errors, rate limits and timeouts can trigger retries on another deployment of the same model. The guide does not describe automatic failover to a different model when every deployment fails.
Setup
The examples configure an OpenAI SDK client with a Perplexity API key and the Orchestrator base URL. Set model to perplexity/auto, then omit routing or set it to null for the default policy. For custom behavior, provide default_model and route descriptions that clearly describe the tasks to match. The Python example passes routing through extra_body; the TypeScript example notes that routing is absent from the OpenAI SDK types.
Send the full conversation with every request. Inspect response.model and the x-perplexity-autoroute headers to understand each decision. A stable x-session-id header, or prompt_cache_key on Chat Completions and Responses, requests best-effort deployment affinity. It does not keep automatic model selection fixed across turns, and each model maintains its own prompt cache.
Example
The page illustrates a request to translate good morning into French. Its supplied response shows the simple route choosing openai/gpt-6-luna, with route confidence reported as 0.991. This is a documentation example, not an independently observed result or a measurement of routing accuracy.
A custom example uses openai/gpt-6-luna as the default, anthropic/claude-sonnet-5-5 for reviewing, debugging or refactoring code, and openai/gpt-6.1-sol for long-document analysis. A matching code_review decision sends the request to Claude; a none decision uses the default. The examples were not executed.
Assessment & evidence
Limitations
Images, audio, video and files bypass task classification and send the request to the default model. The compatibility check does not cover media or validation performed only by the provider, such as an unsupported JSON schema. The default therefore needs to accept the media being sent. Model routing is unavailable on /messages/count_tokens, /responses/input_tokens and /responses/compact; perplexity/auto is also absent from GET /orchestrator/v1/models.
Developers cannot choose a deployment or configure routing per provider. Deployment affinity is best effort and can change during failover. Invalid requests and prompts exceeding the model’s context window return HTTP 400 without deployment retries. When every deployment fails, the documented result is HTTP 429 with Retry-After; numerical attempt timeouts and availability guarantees are not supplied.
A failure after streamed output begins produces an in-band error, and an unterminated stream must be treated as incomplete. Request limits use a one-second reset interval; clients should inspect rate-limit headers and honor Retry-After on HTTP 429. Actual account limits are not specified on this page. Reported routing confidence has no supplied calibration or accuracy evaluation.
Reasoning effort
Adding reasoning_effort set to auto inside routing asks the decision model to select low, medium or high reasoning effort. The API maps that choice to reasoning_effort on Chat Completions, reasoning.effort on Responses or output_config.effort on Messages. If no effort is selected or the served model does not support it, the model’s default applies and the effort header reports default.
Automatic effort cannot be combined with a request-level effort setting. On Messages, conflicts also include a thinking budget or disabled thinking. Without automatic effort, the explicit request setting passes through; omitting both uses the model default. The page provides no measured relationship between these choices, answer quality, latency or cost.
Alternatives
Within the documented API, naming a catalog model directly gives explicit model selection while retaining automatic deployment routing. The default perplexity/auto policy avoids writing route descriptions but requires its stated model access. Custom routes provide control over candidate models and task descriptions, including a Tier 0 configuration. The evidence does not support a comparison with other routing services, and direct model selection still does not let developers choose a deployment.
Evidence
The evidence consists of the complete supplied Routing & Reliability documentation page at [https://docs.perplexity.ai/docs/orchestrator/routing-and-reliability.md]. It contains configuration examples, sample responses, validation rules, header definitions and descriptions of billing and failure handling. These support an explanation of documented behavior, not independent claims about implementation quality or operational performance. No code, API calls, load tests or failure scenarios were run.
Access & freshness
Costs
The page states that billing follows the served model’s published rates regardless of deployment. The model field and usage block describe that model. Numerical prices and any separate routing charge are not specified here, so total costs and potential savings are unknown. The linked pricing page is outside this report’s scope.
Requests rejected with HTTP 429 are not billed. Requests that fail before producing output are also described as unbilled, while streamed requests are billed for delivered tokens. These rules do not establish the cost of a representative workload or every possible error case.
Rights
The supplied page does not state a licence for its documentation or code examples, redistribution permission, service terms or output-use rights. Those permissions remain unknown. It says the decision model also operates with zero data retention when that setting is enabled for the API organization; this does not establish broader contractual or retention terms.
Freshness
The page was captured on 26 November 2026 at 06:09:05.403 UTC. No publication date, last-updated date or SDK version is supplied in its text. Model names, default policy, tier access and API behavior are therefore documented as of that capture, without evidence of how long they have applied or whether they subsequently changed.
Actions
Before integration, confirm access to every configured model and obtain current numerical rates from the linked catalog at [https://docs.perplexity.ai/docs/orchestrator/models.md]. Choose a default that accepts expected media and request parameters. Use explicit task descriptions and decide whether changing models across turns is acceptable for the application.
For evaluation, record the served model, routing outcome, matched route, reported effort, token usage and observed latency on representative requests. Check ambiguous tasks, media fallback, incompatible parameters and incomplete streams. Implement rate-limit backoff and distinguish failures before output from partial responses. These are recommended next steps; no such evaluation was performed.
