Count tokens exactly for GPT-4o / o-series (o200k) and GPT-4 / 3.5 (cl100k), estimate tokens for Claude, Llama and Gemini, see the cost, and view how the text is split. Runs in your browser; nothing is uploaded.
This tool needs JavaScript. Everything runs in your browser and nothing is uploaded.