Token prices of 380 models
List prices in USD per 1M tokens, read every day from an open price file. Use them to price a project before it starts.
Data updated: 2026-12-06 · Source: LiteLLM model_prices_and_context_window.json
Allopenai (120)mistral (50)xai (45)gemini (34)dashscope (28)anthropic (24)perplexity (20)zai (15)moonshot (13)deepseek (10)ai21 (9)minimax (7)cohere (5)
| Model | Provider | Input | Output | Context window (tokens) |
|---|---|---|---|---|
| sonar-pro | perplexity | 3.00 | 15.00 | 200,000 |
| sonar-deep-research | perplexity | 2.00 | 8.00 | 128,000 |
| sonar-reasoning-pro | perplexity | 2.00 | 8.00 | 128,000 |
| sonar-reasoning | perplexity | 1.00 | 5.00 | 128,000 |
| codellama-70b-instruct | perplexity | 0.700 | 2.80 | 16,384 |
| llama-2-70b-chat | perplexity | 0.700 | 2.80 | 4,096 |
| pplx-70b-chat | perplexity | 0.700 | 2.80 | 4,096 |
| pplx-70b-online | perplexity | 0.000 | 2.80 | 4,096 |
| sonar-medium-chat | perplexity | 0.600 | 1.80 | 16,384 |
| sonar-medium-online | perplexity | 0.000 | 1.80 | 12,000 |
| codellama-34b-instruct | perplexity | 0.350 | 1.40 | 16,384 |
| llama-3.1-70b-instruct | perplexity | 1.00 | 1.00 | 131,072 |
| sonar | perplexity | 1.00 | 1.00 | 128,000 |
| mistral-7b-instruct | perplexity | 0.070 | 0.280 | 4,096 |
| mixtral-8x7b-instruct | perplexity | 0.070 | 0.280 | 4,096 |
| pplx-7b-chat | perplexity | 0.070 | 0.280 | 8,192 |
| pplx-7b-online | perplexity | 0.000 | 0.280 | 4,096 |
| sonar-small-chat | perplexity | 0.070 | 0.280 | 16,384 |
| sonar-small-online | perplexity | 0.000 | 0.280 | 12,000 |
| llama-3.1-8b-instruct | perplexity | 0.200 | 0.200 | 131,072 |
Get matched
Tell us the project. We name the provider that fits and stay until the budget holds.