Per MillionLLM API prices, tracked daily

llama-2-70b-chat API Pricing

llama-2-70b-chat on Perplexity costs $0.70 per 1M input tokens and $2.80 per 1M output tokens (as of ).

llama-2-70b-chat API Pricing. Source: the LiteLLM price list (MIT License)
Input$0.70 / 1M tokens
Output$2.80 / 1M tokens
Cached input (read)—
Cache write—
Batch input / output—
Above 200K tokens (input / output)—
Context window4K tokens
Max output4K tokens
Supports—
Deprecation dateNone listed
API model idllama-2-70b-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.80
Summarising 100 long documents (50,000 in, 1,000 out each)$3.78
1 million classification calls (300 in, 5 out each)$224.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
codellama-70b-instructPerplexity$0.70$2.80—16K
pplx-70b-chatPerplexity$0.70$2.80—4K
llama-3.1-70b-instructPerplexity$1.00$1.00—131K
sonarPerplexity$1.00$1.00—128K
sonar-medium-chatPerplexity$0.60$1.80—16K
pplx-70b-onlinePerplexity—$2.80—4K
codellama-34b-instructPerplexity$0.35$1.40—16K
sonar-medium-onlinePerplexity—$1.80—12K