Perplexity API pricing calculator
Sonar Pricing Calculator: Input and Output Token Costs
Estimate prompt, response, cached input, and volume costs for Sonar. Pricing verified 2026-06-25 from the provider source.
Quick estimate
No API key needed. Pick a model, paste your question, choose the answer length, and get a close cost estimate.
3. How long will the AI answer be?
Your estimate will appear here.
Paste a prompt, choose an answer length, and calculate.
Pricing table
Input: $1 per 1M tokens
Output: $1 per 1M tokens
Cached input: $0 per 1M tokens
Context window: 127,000 tokens
Source: https://docs.perplexity.ai/docs/getting-started/pricing
Example prompt costs
A 2,000 token prompt and 1,000 token answer costs about $0.003000 before tool add-ons.
Web-search model with search-context request fees.
How much does Sonar cost per 1M input tokens?
Sonar is seeded at $1 per 1M input tokens for the standard tier.
How much does Sonar cost per 1M output tokens?
Sonar is seeded at $1 per 1M output tokens.
Does Sonar support cached input pricing?
No cached input price is active in this MVP seed.