Perplexity / perplexity/sonar
Sonar - access through LLMTR
Provides fast, cost-effective web-grounded answers with live search. The most practical Perplexity entry point for current information, quick summaries, and straightforward Q&A.
Technical specifications
| Canonical ID | perplexity/sonar |
|---|---|
| Provider | Perplexity |
| Context window | 128,000 tokens |
| Operations | CHAT_COMPLETIONS |
| Modalities | low, medium, high, text |
Pricing
A 6% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| CHAT_COMPLETIONS | INPUT_TEXT | PER_1M_TOKENS | $1.00 |
| CHAT_COMPLETIONS | OUTPUT_TEXT | PER_1M_TOKENS | $1.00 |
| CHAT_COMPLETIONS | REQUEST | PER_1K_CALLS | $5.00 |
| CHAT_COMPLETIONS | REQUEST | PER_1K_CALLS | $8.00 |
| CHAT_COMPLETIONS | REQUEST | PER_1K_CALLS | $12.00 |
Example usage
With existing OpenAI SDK flows, change only the base URL and model identifier.
curl https://llmtr.com/v1/chat/completions \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{"model":"perplexity/sonar","messages":[{"role":"user","content":"Hello"}]}'
Related models
- Sonar Pro perplexity/sonar-pro
- Sonar Reasoning Pro perplexity/sonar-reasoning-pro
- Sonar Deep Research perplexity/sonar-deep-research
- PPLX Embed v1 0.6B perplexity/pplx-embed-v1-0.6b
- PPLX Embed v1 4B perplexity/pplx-embed-v1-4b
- PPLX Embed Context v1 0.6B perplexity/pplx-embed-context-v1-0.6b
- PPLX Embed Context v1 4B perplexity/pplx-embed-context-v1-4b
- Gemma 4 llmtr/gemma-4