Sổ Tay AI
🎯

LLM Token Counter

Count tokens for ChatGPT, Claude, Gemini, Llama — accurate, free, runs entirely in your browser.

All tools
0
Tokens
0
Characters
0
Words
$0
Input cost
⚡ Runs 100% in your browser — nothing is sent to a server
Accuracy notes
  • OpenAI (GPT-5, GPT-4o, mini): 100% accurate — uses the official tokenizer.
  • Llama, DeepSeek: uses the cl100k_base tokenizer, ~98% accurate.
  • Claude, Gemini: estimated (Anthropic and Google do not publish their tokenizers). ±10% margin, good enough for cost estimates.
  • Vietnamese typically uses 1.5-2× more tokens than English for the same content.

Why count tokens?

Every LLM API charges by tokens, not words. Knowing the count before you send a large prompt lets you:

How to use

  1. Pick the model you plan to use
  2. Paste text into the input box
  3. Token count + cost estimate update live
  4. Hit "Copy share link" to send to your team

Related

Related tools

See all tools →