Perplexity API pricing
Official20 language models
As of Oct 14, 2026, Perplexity lists 20 language models through its API. Its cheapest language model is Pplx 7B Online at $0 input / $0.28 output per million tokens.
Language models (20)
Prices per million tokens.
perplexity/codellama-34b-instruct
- Input
- $0.35
- Output
- $1.40
- Context
- 16K
perplexity/codellama-70b-instruct
- Input
- $0.70
- Output
- $2.80
- Context
- 16K
perplexity/llama-2-70b-chat
- Input
- $0.70
- Output
- $2.80
- Context
- 4K
perplexity/llama-3.1-8b-instruct
- Input
- $0.20
- Output
- $0.20
- Context
- 131K
perplexity/llama-3.1-70b-instruct
- Input
- $1.00
- Output
- $1.00
- Context
- 131K
perplexity/mistral-7b-instruct
- Input
- $0.07
- Output
- $0.28
- Context
- 4K
perplexity/mixtral-8x7b-instruct
- Input
- $0.07
- Output
- $0.28
- Context
- 4K
perplexity/pplx-7b-chat
- Input
- $0.07
- Output
- $0.28
- Context
- 8K
perplexity/pplx-7b-online
- Input
- $0
- Output
- $0.28
- Context
- 4K
perplexity/pplx-70b-chat
- Input
- $0.70
- Output
- $2.80
- Context
- 4K
perplexity/pplx-70b-online
- Input
- $0
- Output
- $2.80
- Context
- 4K
perplexity/sonar
- Input
- $1.00
- Output
- $1.00
- Context
- 128K
perplexity/sonar-deep-research
- Input
- $2.00
- Output
- $8.00
- Context
- 128K
perplexity/sonar-medium-chat
- Input
- $0.60
- Output
- $1.80
- Context
- 16K
perplexity/sonar-medium-online
- Input
- $0
- Output
- $1.80
- Context
- 12K
perplexity/sonar-pro
- Input
- $3.00
- Output
- $15.00
- Context
- 200K
perplexity/sonar-reasoning
- Input
- $1.00
- Output
- $5.00
- Context
- 128K
perplexity/sonar-reasoning-pro
- Input
- $2.00
- Output
- $8.00
- Context
- 128K
perplexity/sonar-small-chat
- Input
- $0.07
- Output
- $0.28
- Context
- 16K
perplexity/sonar-small-online
- Input
- $0
- Output
- $0.28
- Context
- 12K
Prices in USD from LiteLLM and models.dev, checked daily; confirm on Perplexity's pricing page before you rely on a number.