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
OpenAIGPT-3.5 Turbo16k$0.0005$0.0015$$
OpenAIGPT-4 Turbo128k$0.01$0.03$$
OpenAIGPT-48k$0.03$0.06$$
OpenAIGPT-432k$0.06$0.12$$
OpenAIGPT-3.5 Turbo4k$0.0015$0.002$$
OpenAIAda v2$0.0001$$
OpenAIDavinci$0.012$0.012$$
OpenAIBabbage$0.0016$0.0016$$
AmazonTitan Text - Lite4k$0.0003$0.0004$$
AmazonTitan Text - Express8k$0.0013$0.0017$$
AnthropicClaude Instant100k$0.00163$0.00551$$
AnthropicClaude 2100k$0.01102$0.03268$$
MetaLlama 2 70b4k$0.001$0.001$$
GooglePaLM 28k$0.002$0.002$$
GooglePaLM 2$0.0004$$
GoogleGemini Pro32k$0.001$0.002$$
CohereEmbed$0.0004$$
TitanTitan Embeddings$0.0001$$