🎯
🤖 For AI users HOT
LLM Token Counter
Count tokens for ChatGPT, Claude, Gemini, Llama — accurate, free, runs entirely in your browser.
0
Tokens
0
Ký tự
0
Từ
$0
Chi phí input
⚡ Chạy 100% trong trình duyệt — không gửi lên server
Lưu ý về độ chính xác
- OpenAI (GPT-5, GPT-4o, mini): chính xác 100% — dùng tokenizer chính thức.
- Llama, DeepSeek: dùng tokenizer cl100k_base, chính xác ~98%.
- Claude, Gemini: ước lượng (Anthropic và Google không công bố tokenizer). Sai số ±10%, đủ tốt để estimate chi phí.
- Tiếng Việt thường tốn token gấp 1.5-2× tiếng Anh cùng nội dung.
Why count tokens?
Every LLM API charges by tokens, not words. Knowing the count before you send a large prompt lets you:
- Estimate cost before running thousands of requests
- Make sure your prompt fits the model's context window
- Compare which model is more "token-efficient" for your text
How to use
- Pick the model you plan to use
- Paste text into the input box
- Token count + cost estimate update live
- Hit "Copy share link" to send to your team
Related
Related tools
See all tools →💰
API Cost Calculator
Estimate monthly/yearly LLM API spend. Compare which model is cheapest.
✨
Prompt Builder
Compose well-structured prompts. 6 templates for common tasks.
NEW📜
Markdown Preview
Render markdown live — paste ChatGPT/Claude output. GFM, tables, code blocks.
NEW🆚
AI Model Comparison
GPT-5, Claude 4.7, Gemini 2.5, Llama 4, DeepSeek — context, pricing, modality (2026).