AI Tools
AI Token Counter
Word count is a poor proxy for tokens — punctuation, whitespace and non-English text all tokenize differently. This runs a real BPE tokenizer client-side.
FreeNo sign-upRuns in your browser
- Tokens
- 23
- Characters
- 124
- Words
- 18
- Chars per token (avg)
- 5.39
How it works
- 1Paste your text
- 2It's tokenized using the same byte-pair-encoding scheme modern models use
- 3See exact token, character and word counts
Who this is for
- Sizing a prompt against a model's context window
- Estimating API cost before sending a large request
- Understanding why a prompt costs more than its word count suggests
Frequently asked questions
- Does this match every model's exact tokenizer?
- It uses a widely-used BPE scheme (the o200k/cl100k family). Token counts are typically within a few percent across major model families, but not bit-for-bit identical for every provider.
More tools
More in AI Tools
Prompt Token Estimator
Estimates tokens and single-call cost for a draft prompt against a chosen model.
AI Tools
AI API Cost Calculator
Projects monthly API spend from token volume, request rate and model choice.
AI Tools
Claude API Cost Calculator
Projects API spend across the Claude model family specifically.
AI Tools
AI Model Cost & Context Comparison
Compares per-token pricing and context window across major language models.
AI Tools
AI Context Window Calculator
Shows how much of each model's context window a document would consume.
AI Tools
AI ROI Calculator
Estimates return on investment from an AI feature based on task value and adoption.
AI Tools
Ask AI about Internet Compass