Today › AI API prices › Perplexity
codellama-70b-instruct API pricing (Perplexity)
Input / 1M tokens$0.7
Output / 1M tokens$2.804.0× input
Context window16Kmax output 16K
Rank within Perplexity14 / 20
Among all modelscheaper than 34%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $28.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $3.78 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $5.95 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| qwq-plus | Alibaba DashScope (Qwen) | $0.8 | $2.40 | 98K |
| cogito-671b-v2-p1 | Fireworks AI | $1.20 | $1.20 | 164K |
| dbrx-instruct | Fireworks AI | $1.20 | $1.20 | 33K |
| deepseek-coder-v2-instruct | Fireworks AI | $1.20 | $1.20 | 66K |
| deepseek-prover-v2 | Fireworks AI | $1.20 | $1.20 | 164K |
| deepseek-v2p5 | Fireworks AI | $1.20 | $1.20 | 33K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.7 | $2.80 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
codellama-70b-instruct on Perplexity costs $0.7 per million input tokens and $2.80 per million output tokens; it ranks 14 of 20 Perplexity models by price, with a 16K context window.