Per MillionLLM API prices, tracked daily

sonar-medium-chat API Pricing

sonar-medium-chat on Perplexity costs $0.60 per 1M input tokens and $1.80 per 1M output tokens (as of ).

sonar-medium-chat API Pricing. Source: the LiteLLM price list (MIT License)
Input$0.60 / 1M tokens
Output$1.80 / 1M tokens
Cached input (read)—
Cache write—
Batch input / output—
Above 200K tokens (input / output)—
Context window16K tokens
Max output16K tokens
Supports—
Deprecation dateNone listed
API model idsonar-medium-chat
In our records since

What it costs for common jobs

Estimated from the list price above (no caching or batch discount).

What it costs for common jobs. Source: the LiteLLM price list (MIT License)
JobEstimated cost
1,000 chat replies (2,000 tokens in, 500 out each)$2.10
Summarising 100 long documents (50,000 in, 1,000 out each)$3.18
1 million classification calls (300 in, 5 out each)$189.00

Try your own numbers in the LLM API cost calculator.

Price history

No price change recorded since .

Similarly priced models

Sort:

Similarly priced models. Source: the LiteLLM price list (MIT License)
ModelProviderInput / 1MOutput / 1MCached input / 1MContext
llama-3.1-70b-instructPerplexity$1.00$1.00—131K
sonarPerplexity$1.00$1.00—128K
pplx-70b-onlinePerplexity—$2.80—4K
codellama-34b-instructPerplexity$0.35$1.40—16K
codellama-70b-instructPerplexity$0.70$2.80—16K
llama-2-70b-chatPerplexity$0.70$2.80—4K
pplx-70b-chatPerplexity$0.70$2.80—4K
sonar-medium-onlinePerplexity—$1.80—12K