Models and pricing
| Model ID | Input / 1M tokens | Output / 1M tokens | Cache read / 1M tokens | Cache write / 1M tokens |
|---|---|---|---|---|
| perplexity/sonar | $1 | $1 | — | $0.0625 |
Enterprise pricing
Enterprise pricing
| Model ID | Availability |
|---|---|
| anthropic/claude-haiku-4-5 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-opus-4-5 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-opus-4-6 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-opus-4-7 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-opus-4-8 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-sonnet-4-5 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-sonnet-4-6 | Pricing for this model is available on enterprise plans only. |
| anthropic/claude-sonnet-5 | Pricing for this model is available on enterprise plans only. |
| google/gemini-3-flash-preview | Pricing for this model is available on enterprise plans only. |
| google/gemini-3.1-flash-lite | Pricing for this model is available on enterprise plans only. |
| google/gemini-3.1-pro-preview | Pricing for this model is available on enterprise plans only. |
| google/gemini-3.5-flash | Pricing for this model is available on enterprise plans only. |
| google/gemini-3.5-flash-lite | Pricing for this model is available on enterprise plans only. |
| google/gemini-3.6-flash | Pricing for this model is available on enterprise plans only. |
| nvidia/nemotron-3-super-120b-a12b | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5 | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5-mini | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.1 | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.2 | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.4 | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.4-mini | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.4-nano | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.5 | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.6-luna | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.6-sol | Pricing for this model is available on enterprise plans only. |
| openai/gpt-5.6-terra | Pricing for this model is available on enterprise plans only. |
| perplexity/glm-5.2 | Pricing for this model is available on enterprise plans only. |
| perplexity/kimi-k2.7-code | Pricing for this model is available on enterprise plans only. |
| xai/grok-4.20-multi-agent | Pricing for this model is available on enterprise plans only. |
| xai/grok-4.20-non-reasoning | Pricing for this model is available on enterprise plans only. |
| xai/grok-4.20-reasoning | Pricing for this model is available on enterprise plans only. |
| xai/grok-4.3 | Pricing for this model is available on enterprise plans only. |
| xai/grok-4.5 | Pricing for this model is available on enterprise plans only. |
curl --request GET \
--url 'https://api.narev.ai/v1/prices?provider_id=perplexity&model_id=perplexity%2Fsonar'
{
"model_id": "perplexity/sonar",
"provider_id": "perplexity",
"pricing": {
"prompt": 0.000001,
"completion": 0.000001,
"discount": 0,
"request": 0,
"web_search": 0.005,
"input_cache_read": 0,
"input_cache_write": 6.25e-8,
"image": 0,
"image_output": 0,
"audio": 0,
"audio_output": 0,
"input_audio_cache": 0,
"internal_reasoning": 0
}
}
Provider details
| Property | Value |
|---|---|
| Headquarters | US |
| SDK package | @ai-sdk/perplexity |
| Environment variables | [“PERPLEXITY_API_KEY”] |
Data policies
| Policy | Value |
|---|---|
| Uses data for training | No |
| Retains prompts | No |
| Can publish data | No |