Skip to main content
vibecode

Token Counter & Cost Estimator

Count LLM tokens and estimate API cost per model.

  • client-side
  • works offline
  • free
Loading tool…

LLM token counter and cost estimator

Paste any prompt or text and this token counter shows the token count instantly, alongside character and word counts. Tokens - not words - are what large language models actually bill and limit, so counting them is the only reliable way to predict cost and stay under a model's context window.

Pick from editable pricing presets (model name plus input/output price per million tokens) to estimate cost; the presets are just data you can change, and Vibecode never fetches live prices. Tokenization runs entirely in your browser via a client-side tokenizer, so nothing is uploaded. Counts are an approximation - exact tokenization varies by model and provider - but they're close enough to budget confidently and trim prompts before you send them.

built by algocrew

App stuck at 80%? AlgoCrew finishes it.

Built with Lovable, Bolt, Cursor or Claude Code and now every fix breaks something else? The studio behind Vibecode fixes, secures and launches AI-built apps, without starting over.