VibeGear
Inspectors

AI token counter

Count tokens locally for OpenAI; estimate for Claude.

Tools → Inspect → AI token counter · 7-day free trial · Premium $9.99 / yr

Try it now·runs locally · nothing uploaded
Text
Stats
Tokens
Characters
103
Words
17
Chars / token
Want this and 50 more tools at one keyboard shortcut, with collections and persistence?Install free trial →
Premium

Built for the things AI can’t fake

This tool runs free, right here. The extension adds three things a web widget can’t:

Start 7-day trial

What it does

AI models bill per token, not per character. Different model families use different tokenizers — what counts as 1 token in GPT-4o may be 2 or 3 in GPT-3.5.

The counter gives exact counts for OpenAI (cl100k_base for GPT-3.5/GPT-4, o200k_base for GPT-4o/4.1) using the real BPE vocabularies. Anthropic doesn’t publish a public Claude tokenizer, so we estimate via chars/3.6 — typically within 5–10% on English prose; we label it "approximate" so it’s clear.

Why use VibeGear's ai token counter

How to use it

  1. 1Tools → Inspect → AI token counter.
  2. 2Pick a model.
  3. 3Paste your prompt or completion.

Related tools

Premium

One install. Every tool above.

7 days free, then VibeGear Premium is $9.99 / €9.99 per year. Everything runs locally.

Install & start trial →