Today › AI API prices › Providers
Perplexity API prices: 20 models
Models20
Cheapest input$0
Median input$0.475all $0.55
Median output$1.60
Longest context200K
Cheapest first (3:1 input:output blend)
$0.07
$0.07
$0.1225
$0.1225
$0.1225
$0.1225
$0.2
$0.45
$0.6125
$0.7
$0.9
$1.00
$1.00
$1.23
$1.23
| Model | Input/1M | Output/1M | Context |
|---|---|---|---|
| pplx-7b-online | $0 | $0.28 | 4K |
| sonar-small-online | $0 | $0.28 | 12K |
| mistral-7b-instruct | $0.07 | $0.28 | 4K |
| mixtral-8x7b-instruct | $0.07 | $0.28 | 4K |
| pplx-7b-chat | $0.07 | $0.28 | 8K |
| sonar-small-chat | $0.07 | $0.28 | 16K |
| llama-3.1-8b-instruct | $0.2 | $0.2 | 131K |
| sonar-medium-online | $0 | $1.80 | 12K |
| codellama-34b-instruct | $0.35 | $1.40 | 16K |
| pplx-70b-online | $0 | $2.80 | 4K |
| sonar-medium-chat | $0.6 | $1.80 | 16K |
| llama-3.1-70b-instruct | $1.00 | $1.00 | 131K |
| sonar | $1.00 | $1.00 | 128K |
| codellama-70b-instruct | $0.7 | $2.80 | 16K |
| llama-2-70b-chat | $0.7 | $2.80 | 4K |
| pplx-70b-chat | $0.7 | $2.80 | 4K |
| sonar-reasoning | $1.00 | $5.00 | 128K |
| sonar-deep-research | $2.00 | $8.00 | 128K |
| sonar-reasoning-pro | $2.00 | $8.00 | 128K |
| sonar-pro | $3.00 | $15.00 | 200K |
- AI21 Labs
- Alibaba DashScope (Qwen)
- Anthropic
- Cerebras
- Cohere
- DeepSeek
- Fireworks AI
- Google Gemini
- Groq
- Mistral AI
- Moonshot AI
- OpenAI
- Perplexity
- Together AI
- Z.ai
- xAI
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.