Perplexity: Sonar

Deprecatedperplexity/sonar

Perplexity Sonar API pricing

Sonar costs $0.400 per million input tokens and $0.400 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $1.00 input and $1.00 output). Web search is billed on top, at $7.20 per 1K searches. It accepts text, images and files and returns text.

Lightweight search-grounded model for quick factual answers with citations. The cheapest Sonar tier.

ModalitiesTextImageFileText
Price$0.400 / $0.400 per 1M tokens in / out
Web search$7.20 per 1K searches

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderInput /MOutput /MCache read /MLatencyThroughput
Perplexity$0.400$0.400—20.81s—

Capabilities (8)

StreamingStructured outputSystem promptWeb searchCitationsVisionFile InputLanguage Preference

Supported parameters (17)

streammax_tokenstemperaturetop_ptop_kpresence_penaltyfrequency_penaltyresponse_formatsearch_modesearch_domainsearch_domain_filtersearch_recency_filtersearch_after_date_filtersearch_before_date_filterreturn_related_questionsreturn_imagesweb_search_options

A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Input price
$0.400
per 1M input tokens · standard price $1.00
Output price
$0.400
per 1M output tokens · standard price $1.00
RateStandard priceChargedUnit
Input$1.00$0.400per 1M input tokens
Output$1.00$0.400per 1M output tokens
Web search$18.00$7.20per 1K searches

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

UTC

Specifications

Model ID
sonar
Developer
Perplexity
Type
Text
Input
Text, images and files
Output
Text
Series
Sonar
Image input
Up to 20 MB each
File input
Up to 100 MB each
Endpoint
/v1/chat/completions
Status
Deprecated (Sep 27, 2026)

Best for

Search groundedCitationsWeb searchRealtime

Quickstart

Call sonar with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.chat.completions.create(
    model="sonar",
    messages=[
        {"role": "user", "content": "Explain unified AI APIs in one sentence."},
    ],
)
print(response.choices[0].message.content)

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.

Throughput
—tok/s
P50, streaming requests
Latency
20.81s
P50, end to end
UTC

Throughput

P99—
P95—
P50—

Latency

P5019.8s
P7528.7s
P9539.5s
P9945.8s

Time to first token

P50—
P95—

Cache hit rate

0.00%
Share of input tokens served from the prompt cache over the window.

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Success rate (30 days)
76.20%
over 10,245 completed requests
Days with traffic
28
of the last 30 days

Days are UTC days. Days with no completed requests are omitted rather than drawn at 100% — no traffic is not evidence of availability.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

  1. 1.ReelHaat 5.2K tokens

Activity

Token volume and request traffic to this model over time. Daily totals, UTC.

Prompt12.7M
Completion11.1M

Prompt tokens measure input size. Completion tokens reflect total output length. Reasoning is not priced separately for this model, so it is not itemised here.

Frequently asked questions

What is Sonar?
Lightweight search-grounded model for quick factual answers with citations. The cheapest Sonar tier.
How much does Sonar cost?
Sonar costs $0.400 per million input tokens and $0.400 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $1.00 input and $1.00 output). Web search is billed on top, at $7.20 per 1K searches. You pay per request, with no subscription.
Does Sonar support tool calling and structured outputs?
Sonar supports structured outputs. Tool calling is not listed among its capabilities.
What inputs and outputs does Sonar support?
Sonar accepts text, images and files as input and returns text.
Which API endpoint does Sonar use?
Send a POST request to https://api.oxyy.ai/v1/chat/completions with "model": "sonar", authenticated with your Oxyy API key. It is also served on /v1/responses (Responses API).

Alternatives to Sonar

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models