all tools ruslanmv/tools · token-counter
AI / LLM

Token Counter & Cost

Drop in a prompt to estimate its token count, then price the request across the major models. The estimate uses GPT-style pre-tokenization heuristics — close enough for budgeting and context-window checks, not a substitute for an exact tokenizer.

0
est. tokens
0
words
0
characters
0
lines
Estimate range: 0–0 tokens · ~0 chars/token
ModelInput /1MOutput /1MPer callTotal

Prices are editable and reflect commonly published list rates (per 1M tokens) — click any price to adjust. Provider pricing changes frequently, so verify against the source before quoting a client: OpenAI · Anthropic · Google.