Today › AI API prices › Perplexity
codellama-34b-instruct API pricing (Perplexity)
Input / 1M tokens$0.35
Output / 1M tokens$1.404.0× input
Context window16Kmax output 16K
Rank within Perplexity9 / 20
Among all modelscheaper than 55%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $14.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $1.89 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $2.98 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| qwen-plus | Alibaba DashScope (Qwen) | $0.4 | $1.20 | 129K |
| reflection/Beam-1.0-501B-A23B | Together AI | $0.4 | $1.20 | 1M |
| llama-3.1-70b | Cerebras | $0.6 | $0.6 | 128K |
| qwen-coder | Alibaba DashScope (Qwen) | $0.3 | $1.50 | 1M |
| mistralai/Mixtral-8x7B-Instruct-v0.1 | Together AI | $0.6 | $0.6 | 33K |
| muse-glimmer-30b | Fireworks AI | $0.35 | $1.50 | 131K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.35 | $1.40 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
- sonar-small-chat
- llama-3.1-8b-instruct
- sonar-medium-online
- pplx-70b-online
- sonar-medium-chat
- llama-3.1-70b-instruct
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-34b-instruct on Perplexity costs $0.35 per million input tokens and $1.40 per million output tokens; it ranks 9 of 20 Perplexity models by price, with a 16K context window.