Perplexity: Sonar
Perplexity
perplexity/sonarAbout this model
Sonar is lightweight, affordable, fast, and simple to use — now featuring citations and the ability to customize sources. It is designed for companies seeking to integrate lightweight question-and-answer features...
Make a request
OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.
curl https://promptix.tn/api/v1/chat/completions \ -H "Authorization: Bearer $PROMPTIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "perplexity/sonar", "messages": [ {"role": "user", "content": "Hello! What can you do?"} ] }'Pricing
In TND per 1M tokens. VAT and the platform fee are added at top-up.
Input tokens
3.323 TNDper 1M tokens
Output tokens
3.323 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 4.984 TND.
Specifications
- Provider
- Perplexity
- Context window
- 127,072 tokens
- Input modality
- Text
- Added
- Jan 27, 2025
- Supported parameters
frequency_penaltymax_tokenspresence_penaltytemperaturetop_ktop_pweb_search_options