Perplexity Sonar API: migration, pricing and fit
Category: Model APIs and platforms
The Perplexity Sonar API was Perplexity’s search-grounded chat-completions API. Perplexity’s official documentation now says Sonar Chat Completions support ended on 27 September 2026, and recommends moving existing usage, and building all new projects, on the Agent API. Synchronous and streaming Sonar requests keep working because Perplexity is reformulating them as Agent API requests, rolling out model by model. Asynchronous Sonar requests are not reformulated; the docs say to move them to background mode.
What the Agent API is
The Agent API is one interface for agent applications. It can call Perplexity’s own Sonar model as well as models from other providers (the docs list OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI and NVIDIA families). It also has built-in tools: web search, URL fetching, image, people and finance search, and a code sandbox. You can attach custom functions and MCP servers. Requests take an input and return a typed output array, one item per step, including the answer and its search results; Sonar used a messages array and returned choices. On the pricing page the token-billed product is now labelled the Orchestrator API.
Pricing (official pricing docs, 17 November 2026; re-checked 27 November 2026, unchanged)
- Model tokens: billed per token at each model’s published rate, with no per-request fee. Cache reads use the model’s discounted cache-read rate, reasoning tokens bill at the output rate, and you pay the requested model’s rate however the request is served. Per-model rates are on Perplexity’s models page and are not restated here. Some models offer 0.5x and 2x service tiers that change token rates.
- Built-in tools (billed on top of tokens): web_search $0.0025 per call ($2.50 per 1,000), or $0.001 with Fast Search; image_search $0.0025 per successful call; fetch_url $0.0005 per call; people_search and finance_search $0.005 per call; sandbox $0.03 per session. A session is a 20-minute billing window, not a runtime cap, and searches made inside the sandbox cost $0.0025 each.
- Search API (ranked web results as JSON, no model and no token billing): $5.00 per 1,000 successful requests, or $1.00 per 1,000 with Fast Search. A single request can carry up to five queries and still counts as one unit. Perplexity’s own example: 10,000 standard requests in a month cost $50.
- Monitor API: $0.001 per succeeded search run or counted fetched URL.
API credits can also be bought through AWS Marketplace, and Perplexity takes enterprise pricing inquiries.
Who it fits
Developers who need web-grounded answers with citations, or a raw web search API for their own agents, and who want one bill for several model families plus search tools.
Who should look elsewhere
If you only need a plain LLM without search, a direct model provider may be simpler and cheaper. Teams with old asynchronous Sonar jobs have to migrate them, so read the official migration guide first.
Limits of this overview
This is desk research from Perplexity’s official API pricing page and its “Migrate from Sonar” guide, checked on 17 November 2026 (Asia/Colombo). It is not an integration test. Prices are in USD as printed and can change. Corrections: [email protected].
Related: