LLM Token Counter & Cost Estimator
Paste a prompt to see character, word, and estimated token counts, then pick a model to estimate input and output cost. The token count and prices are approximate estimates. Everything runs in your browser: nothing is uploaded.
characters
0
words
0
tokens (est.)
0
Input cost (est.)
$0.00
Output cost (est.)
$0.005000
Total (est.)
$0.005000
Token counts use a transparent heuristic (about max(chars / 4, words × 1.3)) and will differ from a model's real tokenizer. Prices reflect approximate published list rates for GPT-4o: $2.5 per 1M input tokens, $10 per 1M output tokens. These rates can change. Treat every number as an estimate.