Paste once and compare Exact OpenAI encodings vs Approx Claude, Gemini, and host tokenizers.
Privacy first
TokenCalculator runs in your browser. Your prompt text is not uploaded to our servers for counting or cost estimates.
What you can do
- Side by side token counts with Exact vs Approx labels.
- See deltas against o200k and example cost.
- Use English, code, emoji, and CJK samples.
Related tools
Related guides
- Tokenizer comparison: GPT vs Claude vs Gemini
- Why counts differ
- o200k vs cl100k
- tiktoken and Claude
- Tokens per word