Sonar API Cost Calculator
Estimate your monthly API costs for Sonar from Perplexity.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Sonar Deep Research Perplexity | $2.00 | $8.00 |
| Sonar Reasoning Pro Perplexity | $2.00 | $8.00 |
| Sonar Pro Perplexity | $3.00 | $15.00 |
| Sonar Pro Search Perplexity | $3.00 | $15.00 |
| CodeLLaMa 7B Instruct Solidity Alfredpros | $0.8000 | $1.20 |
Frequently Asked Questions
How much does Sonar cost per token?
Sonar is priced at $1.00 per 1M input tokens and $1.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Sonar?
Sonar has a context window of 127.1K tokens (127,072 tokens).
Does Sonar support image inputs (vision)?
Yes, Sonar supports vision/image inputs. You can send images as part of your prompts.
How does Sonar compare to similar models?
Sonar costs $1.00 input and $1.00 output per 1M tokens. Sonar is competitively priced compared to CodeLLaMa 7B Instruct Solidity ($0.8000 input / $1.20 output per 1M tokens). See the "Compare with Similar Models" table above, or visit the CodeLLaMa 7B Instruct Solidity page at /tools/cost-calculator/alfredpros/codellama-7b-instruct-solidity.