tokes compare Pricing Calculator

Calculate and compare the cost of using OpenAI, Azure OpenAI, Anthropic's Claude 3, Llama 2, Google Gemini, Mistral, and Cohere's LLM APIs for your AI project(s) with our simple and powerful free calculator. Latest numbers as of April 2024 (updated monthly)

Calculate by


Pricing Calculations

The following pricing calculations are based on the input tokens, output tokens, and API calls you have entered above.

Provider Model Context Input/1m Tokens Output/1m Tokens Per Call Total

A helpful rule of thumb is that one token generally corresponds to ~4 characters of text for common English text. This translates to roughly ¾ of a word (so 100 tokens ~= 75 words), however different models can use different tokenizers.

This tool is for developers, project managers, CIOs and CFOs to do a high-level comparison to help estimate costs. For more information check out our FAQs on the bottom of our Home page.