Token Counter
Estimate prompt tokens, text shape, and model cost locally before sending an LLM request.
LocalPrompt text stays in the browser while the counter estimates size and cost.
EstimateCounts use a simple approximation, so provider tokenizers can differ.
Prompt input
Paste system, user, retrieval, or draft prompt text.
Estimate results
Add prompt text to calculate token and cost estimates.