AI Token Calculator
Estimate how many AI tokens are in your text and how much it may cost to process it.
Result
Estimated input tokens
—
Approximate tokens in pasted text.
Words / characters
—
—
Estimated total tokens
—
Input tokens + expected output tokens.
Estimated API cost
—
Approximate one-request cost.
Approximate estimate only. Exact token counts depend on the model tokenizer, language, punctuation, whitespace, code, emojis, and formatting.
How we calculate
- Token count is estimated from character length and text type.
- English text is roughly 1 token per 4 characters, but this varies.
- Total tokens = estimated input tokens + expected output tokens.
- Cost = input tokens × input price + output tokens × output price.