whichAI
BlogPerplexity Sonar API Pricing 2026: Real Costs Explained

Perplexity Sonar API Pricing 2026: Real Costs Explained

Sonar API pricing is not just token pricing. The real bill combines input/output tokens with search context request fees, and new integrations should also understand Perplexity's Agent API direction.

Published July 17, 2026·8 min read·whichai.fyi

Perplexity Sonar API is useful when your product needs web-grounded answers with citations. That makes it different from a generic chat model. You are not just paying for text generation; you are paying for search context, citation-backed answers, and in some modes multi-step search behavior.

Quick answer

Use Sonar when web search and citations are central to the product. Use a cheaper general LLM when you only need summarization, classification, or offline chat. For new Perplexity integrations, evaluate the Agent API first because Perplexity now describes Sonar API as maintenance mode.

Perplexity Sonar pricing structure

The key detail is that Sonar API cost is not just input tokens plus output tokens. Perplexity's official pricing page describes Sonar API cost as token costs plus a request fee that varies by search context size for Sonar, Sonar Pro, and Sonar Reasoning Pro.

ModelInputOutputExtra cost to watch
Sonar$1 / 1M tokens$1 / 1M tokensSearch context request fee
Sonar Pro$3 / 1M tokens$15 / 1M tokensSearch context request fee; optional Pro Search
Sonar Reasoning Pro$2 / 1M tokens$8 / 1M tokensSearch context request fee
Sonar Deep Research$2 / 1M tokens$8 / 1M tokensCitation, reasoning, and search-query charges

Search context fees are the part people miss

Search context controls how much web information is retrieved. Perplexity lists three request-fee levels for Sonar, Sonar Pro, and Sonar Reasoning Pro: low, medium, and high. Low is fastest and cheapest. High retrieves more context and is better for research, but it costs more per thousand requests.

ModelLow contextMedium contextHigh context
Sonar$5 / 1K requests$8 / 1K requests$12 / 1K requests
Sonar Pro$6 / 1K requests$10 / 1K requests$14 / 1K requests
Sonar Reasoning Pro$6 / 1K requests$10 / 1K requests$14 / 1K requests

This is why Sonar can look cheaper than it is if you only compare token rates. A short answer with web grounding still has the request fee. A deep research answer can be worth it, but it should not be compared like a plain text-only model.

Sonar vs Sonar Pro

Use Sonar for straightforward web-grounded answers where you need citations but do not need the most exhaustive research. Use Sonar Pro when the question is more complex, the answer needs more source coverage, or the product experience is closer to research than quick Q&A.

Sonar Pro can also use Pro Search. Perplexity describes Pro Search as automated tool usage and multi-step reasoning for complex queries. The request fee is higher than the standard fast mode, while token pricing remains the same as Sonar Pro.

Agent API changes the decision

Perplexity's Sonar quickstart now says the Sonar API is in maintenance mode and recommends the Agent API as the default for new integrations. That matters because Agent API covers web search, streaming, and structured outputs while adding third-party models, presets, and tools.

If you already use Sonar through OpenAI-compatible chat completions, you can keep that path. If you are starting fresh, compare Agent API first, especially if your app needs tools such as web search, URL fetch, people search, finance search, or sandboxed code execution.

When Sonar is worth it

  • Good fit: research assistants, citation-backed Q&A, market/news monitoring, current-events answers, source-aware support, and knowledge products where web grounding is part of the value.
  • Weak fit: cheap classification, offline summarization, translation, code completion, generic chat, or high-volume tasks where citations are not needed.
  • Watch carefully: high-context and Pro Search usage. These modes can be valuable, but the request fee is part of the real cost.

Compare the monthly cost

The WhichAI API pricing calculator includes Sonar and Sonar Pro token pricing in the model table and marks Perplexity as a research/RAG-oriented API. For production estimates, remember that token-only calculators understate Perplexity costs unless they also account for search context request fees.

If you are comparing this against a consumer subscription, also read Perplexity Pro vs ChatGPT Plus. The API and subscription are different products: the API is for application builders, while the subscription is for interactive personal use.

Source and verification

Pricing and product notes were checked against Perplexity's official API pricing, Sonar quickstart, Sonar model documentation, and changelog on July 17, 2026. Verify the official Perplexity API pricing page before production use because search context pricing, Agent API features, and model availability can change.

Frequently asked questions

How much does the Perplexity Sonar API cost?

Sonar is listed at $1 per million input tokens and $1 per million output tokens. Sonar Pro is listed at $3 per million input tokens and $15 per million output tokens. Sonar, Sonar Pro, and Sonar Reasoning Pro also have search context request fees.

Is Perplexity Sonar cheaper than OpenAI or Claude?

It depends on whether you need web search and citations. Sonar can be cost-effective for source-grounded answers, but it is not always cheaper for generic text tasks because request fees are part of the bill.

Should new apps use Sonar API or Agent API?

Perplexity recommends Agent API as the default for new integrations. Sonar API remains useful, especially for OpenAI-compatible web-grounded chat completions, but it is now described as maintenance mode.

Find your perfect AI stack

Tell us your use cases and budget. Get a personalized recommendation in 2 minutes.

Try the AI Optimizer →
← Back to all articles