Count tokens for GPT-4o, Claude 3.5, and Gemini 1.5. Estimate LLM API input and output costs with live word and character metrics. Free AI tool.
AI Prompt Token Counter counts tokens and calculates estimated API costs for GPT-4o, GPT-4o-mini, Claude 3.5 Sonnet, Claude 3.5 Haiku, Gemini 1.5 Pro, and Gemini 1.5 Flash.
The token estimation uses Byte-Pair Encoding (BPE) heuristics tailored for modern LLM tokenizers, providing accurate estimates for English, multilingual text, and code.
Includes up-to-date pricing and tokenization for GPT-4o, GPT-4o-mini, Claude 3.5 Sonnet, Claude 3.5 Haiku, Gemini 1.5 Flash, and Gemini 1.5 Pro.
AI Prompt Token Counter counts tokens and calculates estimated API costs for GPT-4o, GPT-4o-mini, Claude 3.5 Sonnet, Claude 3.5 Haiku, Gemini 1.5 Pro, and Gemini 1.5 Flash.
Open the AI Prompt Token Counter tool, then paste your prompt, markdown document, or source code into the text area.