Model: Perplexity: Sonar Pro, Context: 200000, Cost: $3 per 1M input tokens, $15 per 1M output tokens
Note: Calculation is approximate based on public data. Prices may change, check official websites.
Calculate the cost of using Perplexity's Sonar Pro model with a context window of 200,000 tokens. This tool helps estimate expenses based on input and output token usage.
Key Features:
- Model: Perplexity Sonar Pro
- Context Window: 200,000 tokens
- Input Cost: $3 per 1 million tokens
- Output Cost: $15 per 1 million tokens
Formula:
Total Cost = (Number of Input Tokens / 1,000,000) * $3 + (Number of Output Tokens / 1,000,000) * $15
Example:
If you use 50,000 input tokens and 10,000 output tokens in a single request:
Calculation:
- Input Cost: (50,000 / 1,000,000) * $3 = $0.15
- Output Cost: (10,000 / 1,000,000) * $15 = $0.15
- Total Cost = $0.15 + $0.15 = $0.30
Result: The estimated cost for this usage would be $0.30.