# Perplexity: Sonar Pro API

Perplexity's Perplexity: Sonar Pro, through an OpenAI-compatible API. Providers quote it on an open exchange, and each request goes to the offer with the lowest estimated charge that meets your rules.

- Providers compete for each request. The exchange ranks the offers that meet your rules by estimated charge. It fixes your maximum charge before the first token, and you pay for the tokens that the model uses.
- The OpenAI and Anthropic APIs. Use the OpenAI or Anthropic SDK that you have. Set the base URL and your key, and send perplexity-sonar-pro as the model.
- Your data rules. Send x-liquid-retention: none and only offers whose provider does not keep your content compete for the request.

## Facts

- Model name: perplexity-sonar-pro
- Maker: Perplexity
- Context window: 919.3K tokens
- Input price: $7.200 per million tokens
- Output price: $36.000 per million tokens
- Providers: 1 independent provider
- Regions: global

## Providers

- [EmpirioLabs AI](https://liquidinference.ai/providers/4f49f07c-0d26-44bd-88a8-34f3f5fbd3b7.md): global, $7.200 input and $36.000 output per million tokens, $7.200 cache read per million tokens, $0.024 fee for each request, 919.3K tokens of context

## Scores

- HLE: 6.6, #186 of 273
- GPQA: 57.8, #188 of 250
- LiveCodeBench: 27.5, #97 of 130
- MMLU-Pro: 75.5, #66 of 133
- SimpleQA Verified: 47.0, #33 of 126

Scores: Artificial Analysis (https://artificialanalysis.ai/)

Scores: Epoch AI, 'Capabilities & Benchmarking' (https://epoch.ai/benchmarks)

## Request

```sh
curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity-sonar-pro",
    "messages": [{"role":"user","content":"Say hello."}]
  }'
```

## Questions

### What is Perplexity: Sonar Pro?

Perplexity: Sonar Pro is a model from Perplexity.

### How much does Perplexity: Sonar Pro cost?

Offers now ask $7.200 per million input tokens and $36.000 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.

### What is the context length of Perplexity: Sonar Pro?

The largest offer takes 919,328 input tokens. One job can generate up to 32,768 tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.

### What can Perplexity: Sonar Pro do?

Its providers list Documents, Vision, Text.

### What inputs and outputs does Perplexity: Sonar Pro support?

Text · Files · Images → Text.

### Which providers serve Perplexity: Sonar Pro?

1 independent provider quote it now, with 1 offer. The table above ranks them by the cost of a typical job.

### How do I call Perplexity: Sonar Pro?

Send "perplexity-sonar-pro" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.

### When was Perplexity: Sonar Pro listed?

The exchange first listed it on 10/17/2026. This is not its release date.

## Related pages

- [This page in a browser](https://liquidinference.ai/models/perplexity-sonar-pro)
- [Perplexity Sonar](https://liquidinference.ai/models/perplexity-sonar.md)
- [Perplexity: Sonar Reasoning Pro](https://liquidinference.ai/models/perplexity-sonar-reasoning-pro.md)
- [Set up a client](https://liquidinference.ai/connect/perplexity-sonar-pro)
- [All models](https://liquidinference.ai/models)
- [Providers](https://liquidinference.ai/providers.md)
- [Discover the best model for your budget](https://liquidinference.ai/discover)
- [Quickstart](https://liquidinference.ai/docs/quickstart.md)
- [llms.txt: the index of every page, as Markdown](https://liquidinference.ai/llms.txt)
- [llms-full.txt: every page in one file](https://liquidinference.ai/llms-full.txt)
