LiteLLMLiteLLM/ MODELS

Perplexity Sonar API Pricing

1 providerempiriolabs/perplexity-sonarCompare
Input / output
$2.40 / $2.40 per 1M tokens
Context
919K tokens

As of November 7, 2026, Perplexity Sonar costs $2.40 per 1M input tokens and $2.40 per 1M output tokens on EmpirioLabs AI. It has a 919,327-token context window.

Prices updated Checked

Perplexity Sonar pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Perplexity Sonar prices by provider in US dollars, token prices per 1M tokens, as of November 7, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
EmpirioLabs AIempiriolabs/perplexity-sonar$2.40$2.40919K

What Perplexity Sonar costs in practice

1,000 requests with 2,000 input and 500 output tokens each

EmpirioLabs AI$6.00

100 long-document requests with 100,000 input and 2,000 output tokens each

EmpirioLabs AI$24.48

Perplexity Sonar cost calculator

At EmpirioLabs AI's price ($2.40 input, $2.40 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $36.00 a day, about $1,080 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.0036
Per day
$36.00
Per month (30 days)
$1,080

Perplexity Sonar features

Input: text, image. Output: text.

Use Perplexity Sonar with LiteLLM

Call Perplexity Sonar through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="empiriolabs/perplexity-sonar",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: perplexity-sonar
    litellm_params:
      model: empiriolabs/perplexity-sonar
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "perplexity-sonar",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Perplexity Sonar FAQ

How much does Perplexity Sonar cost?

Perplexity Sonar costs $2.40 per 1M input tokens and $2.40 per 1M output tokens on EmpirioLabs AI.

What is the context window of Perplexity Sonar?

Perplexity Sonar has a 919,327-token context window.

Which providers offer Perplexity Sonar?

Perplexity Sonar is available from EmpirioLabs AI through LiteLLM, using the model name empiriolabs/perplexity-sonar.

How do I call Perplexity Sonar with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="empiriolabs/perplexity-sonar", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Perplexity Sonar support?

Perplexity Sonar supports image input, reasoning and web search.

When did LiteLLM add Perplexity Sonar?

Perplexity Sonar was added to LiteLLM's model price file on November 4, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: EmpirioLabs AI.

Provider pages: EmpirioLabs AI.