Token Calculator
Count tokens for OpenAI GPT models (GPT-4, GPT-3.5, etc.) and estimate API costs based on input and output token counts.
Related tools
What is this tool?
Count tokens for OpenAI GPT models (GPT-4, GPT-3.5, etc.) and estimate API costs based on input and output token counts.
How to use
Use the input area above to enter your data. Results appear instantly. All processing runs in your browser; no data is sent to any server.