Token Calculator for LLMs

Calculate the number of tokens in your text for all LLMs (GPT-4o, GPT-o1, GPT-4, Claude, Gemini, etc)

Token Calculator

Tokens0
Words0
Characters (no spaces)0
Total characters0
ModelProviderContextInput/1M TokensInput(cached)/1M TokensOutput/1M TokensInput PriceInput(cached) PriceOutput Price
o1OpenAI/Azure128K$15$7.5$60$0.0000$0.0000$0.0000
o1-miniOpenAI/Azure128K$3$1.5$12$0.0000$0.0000$0.0000
gpt-4o-miniOpenAI/Azure128K$0.15$0.075$0.06$0.0000$0.0000$0.0000
gpt-4oOpenAI/Azure128K$2.5$1.25$10$0.0000$0.0000$0.0000
gpt-4oOpenAI/Azure128K$5$0$15$0.0000$0.0000$0.0000
Claude 3 HaikuAnthropic200K$0.25$0$1.25$0.0000$0.0000$0.0000
Claude 3 SonnetAnthropic200K$3$0$15$0.0000$0.0000$0.0000
Claude 3 OpusAnthropic200K$15$0$75$0.0000$0.0000$0.0000
Gemini 1.0 ProGoogle32K$0.5$0$1.5$0.0000$0.0000$0.0000
Gemini 1.5 ProGoogle1M$1.25$0$3.75$0.0000$0.0000$0.0000
Gemini 1.5 FlashGoogle1M$0.13$0$0.38$0.0000$0.0000$0.0000

FAQ

Have more questions? Contact us