OpenAI & other LLM API Pricing Calculator
Calculate the cost of using OpenAI and other Large Language Models(LLMs) APIs
Input tokens
Output tokens
Api Calls
Calculate by
Provider | Model | Context | Input/1k Tokens | Output/1k Tokens | Per Call | Total | |
---|---|---|---|---|---|---|---|
Chat/Completion | |||||||
OpenAI | GPT-3.5 Turbo | 16k | $0.0005 | $0.0015 | $ | $ | |
OpenAI | GPT-4 Turbo | 128k | $0.01 | $0.03 | $ | $ | |
DataBricks | DBRX | 32k | $0.00225 | $0.00675 | $ | $ | |
OpenAI | GPT-4o (omni) | 128k | $0.005 | $0.015 | $ | $ | |
OpenAI | GPT-4o mini | 128k | $0.00015 | $0.0006 | $ | $ | |
OpenAI | GPT-4 | 8k | $0.03 | $0.06 | $ | $ | |
OpenAI | GPT-4 | 32k | $0.06 | $0.12 | $ | $ | |
OpenAI | GPT-3.5 Turbo | 4k | $0.0015 | $0.002 | $ | $ | |
OpenAI | Ada v2 | $0.0001 | $ | $ | |||
OpenAI | Davinci | $0.012 | $0.012 | $ | $ | ||
OpenAI | Babbage | $0.0016 | $0.0016 | $ | $ | ||
Amazon | Titan Text - Lite | 4k | $0.00015 | $0.0002 | $ | $ | |
Amazon | Titan Text - Express | 8k | $0.0002 | $0.0006 | $ | $ | |
Anthropic | Claude Instant | 100k | $0.0008 | $0.0024 | $ | $ | |
Anthropic | Claude 2.1 | 200k | $0.008 | $0.024 | $ | $ | |
Anthropic | Claude 3 Haiku | 200k | $0.00025 | $0.00125 | $ | $ | |
Anthropic | Claude 3 Sonnet | 200k | $0.003 | $0.015 | $ | $ | |
Anthropic | Claude 3 Opus | 200k | $0.015 | $0.075 | $ | $ | |
Meta | Llama 2 70b | 4k | $0.001 | $0.001 | $ | $ | |
PaLM 2 | 8k | $0.002 | $0.002 | $ | $ | ||
PaLM 2 | $0.0004 | $ | $ | ||||
Gemini 1.5 Flash | 1M | $0.0007 | $0.0021 | $ | $ | ||
Gemini 1.0 Pro | 32k | $0.0005 | $0.0015 | $ | $ | ||
Gemini 1.5 Pro | 1M | $0.007 | $0.021 | $ | $ | ||
Cohere | Embed | $0.0004 | $ | $ | |||
Titan | Titan Embeddings | $0.0001 | $ | $ | |||
Mistral AI (via Anyscale) | Mixtral 8x7B | 32k | $0.0007 | $0.0007 | $ | $ | |
Mistral AI | Mistral Small | 32k | $0.002 | $0.006 | $ | $ | |
Mistral AI | Mistral Large | 32k | $0.008 | $0.024 | $ | $ | |
Mistral AI | embed | $0.0001 | $ | $ |